Prev: AB0E Up: Map Next: AB37
AB22: Action: Clear Event Flag
Clears the bit operand in Flags_EventStates.
When the condition succeeded, clear the operand bit in Flags_EventStates.
Action_ClearEventFlag AB22 JP NZ,Handler_RunScript_10 That event keeps following the player.
AB25 LD B,(IX+$01) The operand selects which event.
AB28 INC B
AB29 XOR A
AB2A SCF
ClearEventMask AB2B RLA Build the mask for that event.
AB2C DJNZ ClearEventMask
AB2E LD HL,$A0D1 That event no longer follows the player.
AB31 CPL
AB32 AND (HL)
AB33 LD (HL),A
AB34 JP Handler_RunScript_10 Resume the script.
Prev: AB0E Up: Map Next: AB37