![]() |
Routines |
| Prev: EE30 | Up: Map | Next: EF28 |
|
Via Pointer_CurrentEntity: decrease the held entity's y and y-extent by 02, then increment its room index, and continue at AdvanceScriptInstruction.
|
||||
| ScriptRoutine_MoveHeldUpOneRoom | EF12 | LD IY,($72AC) | Load IY with the current-entity pointer (Pointer_CurrentEntity). | |
| EF16 | DEC (IY+$05) | Move the referenced entity two characters up. | ||
| EF19 | DEC (IY+$06) | |||
| EF1C | DEC (IY+$05) | |||
| EF1F | DEC (IY+$06) | |||
| EF22 | INC (IY+$04) | Increment the referenced entity's room index. | ||
| EF25 | JP AdvanceScriptInstruction | Jump to AdvanceScriptInstruction to run the next script instruction. | ||
| Prev: EE30 | Up: Map | Next: EF28 |