Prev: AB4A Up: Map Next: AB73
AB5E: Action: Stop Turn Event
Clears the bit operand in Flags_TurnEvents.
When the condition succeeded, disarm the turn-based event selected by the operand.
Action_StopTurnEvent AB5E JP NZ,Handler_RunScript_10 Leave that turn-based event armed.
AB61 LD B,(IX+$01) The operand selects which event.
AB64 INC B
AB65 XOR A
AB66 SCF
StopTurnEvent_Mask AB67 RLA Build the mask for that event.
AB68 DJNZ StopTurnEvent_Mask
AB6A LD HL,$A0C8 That turn-based event is now disarmed.
AB6D CPL
AB6E AND (HL)
AB6F LD (HL),A
AB70 JP Handler_RunScript_10 Resume the script.
Prev: AB4A Up: Map Next: AB73