![]() |
Routines |
| Prev: 40522 | Up: Map | Next: 40539 |
|
Functionality analogous to
JP instruction.
Used by the routine at AdvanceScriptInstruction.
|
||||||||||||
| 40529 | INC HL | Advance script data pointer by two bytes. | ||||||||||
| 40530 | INC HL | |||||||||||
| 40531 | LD C,(HL) | Load HL with address at this location (i.e. update script data pointer to this address). | ||||||||||
| 40532 | INC HL | |||||||||||
| 40533 | LD B,(HL) | |||||||||||
| 40534 | PUSH BC | |||||||||||
| 40535 | POP HL | |||||||||||
| 40536 | JP ScriptInstruction | Jump to ScriptInstruction to execute script instruction. | ||||||||||
| Prev: 40522 | Up: Map | Next: 40539 |