Prev: 48274 Up: Map Next: 48295
48285: Script routine: (01) Load HL (script data pointer) with new address
Functionality analogous to JP instruction.
Used by the routine at 48096.
Input
HL Current address in script data
Output
HL New address in script data
48285 INC HL Advance script data pointer by two bytes
48286 INC HL
This entry point is used by the routine at 48274.
48287 LD C,(HL) Load HL with address at this location (i.e. update script data pointer to this address) and execute script instruction at this location
48288 INC HL
48289 LD B,(HL)
48290 PUSH BC
48291 POP HL
48292 JP 48098
Prev: 48274 Up: Map Next: 48295