Prev: 84BD Up: Map Next: 84DE
84C9: Does the action need an instrument?
Returns with Z reset if the action needs an instrument (bit 2 of $B60D) that has not yet been given. If bit 1 of $B60D is set, the instrument may be left out, and the routine returns with Z set.
84C9 LD A,($B60D) A = the action's main flags
84CC BIT 2,A Does it need an instrument at all?
84CE RET Z No: nothing more to check
84CF LD HL,$832F Yes - has a genuine instrument noun actually been named?
84D2 BIT 0,(HL)
84D4 RET NZ It has: an instrument is definitely needed
84D5 BIT 1,A No instrument was named - but may this action be used without one?
84D7 JR NZ,$84DC
84D9 OR $01 No, it may not: an instrument really is required
84DB RET
84DC XOR A Yes, it may: no instrument is required after all
84DD RET
Prev: 84BD Up: Map Next: 84DE