Prev: EF12 Up: Map Next: EF32
EF28: Script: Set Entity Latch
Set bit 05 of flags byte 2 (IX+02). If bit 04 of flags byte 3 (IX+03) is clear, continue at Script_Shared_SetEventBit to set bit 00 of GameEventFlags.
Input
IX Address of complex state data for an entity
ScriptRoutine_SetLatchRaiseEvent EF28 SET 5,(IX+$02) Set bit 05 of the current entity's flags byte 2.
EF2C BIT 4,(IX+$03) Is bit 04 of flags byte 3 (IX+03) set? If not, jump to Script_Shared_SetEventBit.
EF30 JR Z,Script_Shared_SetEventBit
Prev: EF12 Up: Map Next: EF32