Prev: 54765 Up: Map Next: 54785
54772: Script Routine: (60) Collectible action
Advance the collectible's room index twice to force a room change.
Input
IX Address of complex state data for an entity
ScriptRoutine_CollectibleIncRoomTwice 54772 SET 2,(IX+9) Set bit 2 of the current entity's direction / state.
54776 INC (IX+4) Advance this entity two rooms ahead.
54779 INC (IX+4)
54782 JP AdvanceScriptInstruction Jump to AdvanceScriptInstruction to run the next script instruction.
Prev: 54765 Up: Map Next: 54785