Prev: CC53 Up: Map Next: CC8B
CC78: Script Routine: (4A) Task-four entity action
Lower the task-four creature one character.
Input
IX Address of complex state data for an entity
ScriptRoutine_TaskFourLowerY CC78 LD A,(IX+$05) Load A with the current entity's y-coordinate.
CC7B ADD A,$04 Add 04 to A (step a coordinate/index).
CC7D LD (IX+$05),A Set the current entity's y-coordinate.
CC80 LD A,(IX+$06) Load A with the current entity's y-extent.
CC83 ADD A,$04 Add 04 to A (step a coordinate/index).
CC85 LD (IX+$06),A Set the current entity's y-extent.
CC88 JP AdvanceScriptInstruction Jump to AdvanceScriptInstruction to run the next script instruction.
Prev: CC53 Up: Map Next: CC8B