Prev: 43790 Up: Map Next: 43831
43810: Action: Clear Event Flag
Clears the bit operand in Flags_EventStates.
When the condition succeeded, clear the operand bit in Flags_EventStates.
Action_ClearEventFlag 43810 JP NZ,Handler_RunScript_10 That event keeps following the player.
43813 LD B,(IX+1) The operand selects which event.
43816 INC B
43817 XOR A
43818 SCF
ClearEventMask 43819 RLA Build the mask for that event.
43820 DJNZ ClearEventMask
43822 LD HL,41169 That event no longer follows the player.
43825 CPL
43826 AND (HL)
43827 LD (HL),A
43828 JP Handler_RunScript_10 Resume the script.
Prev: 43790 Up: Map Next: 43831