I can't untangle the code from the screenshot.
I can tell you that all your match statements should only be below the on_command block (and not within an if statement).
You don't need the Boolean variable for checking if the key is present, you can use is_present "brass_key".
Also try reading about the && operator in the manual. Your if statement depth is too complex. && Will simplify things.
I'm assuming your issue is with the code constantly hitting redescribe.
If you don't meet the jam deadline, I can add you as a late entratt, don't worry.