Prev: AB04 Up: Map Next: AB22
AB0E: Action: Set Event Flag
Sets the bit operand in Flags_EventStates.
When the condition succeeded, set the operand bit in Flags_EventStates so the matching event follows the player.
Action_SetEventFlag AB0E JP NZ,Handler_RunScript_10 That event does not start following the player.
AB11 LD B,(IX+$01) The operand selects which event.
AB14 INC B
AB15 XOR A
AB16 SCF
BuildEventMask AB17 RLA Build the mask for that event.
AB18 DJNZ BuildEventMask
AB1A LD HL,$A0D1 That event now follows the player.
AB1D OR (HL)
AB1E LD (HL),A
AB1F JP Handler_RunScript_10 Resume the script.
Prev: AB04 Up: Map Next: AB22