Routines |
Prev: 48336 | Up: Map | Next: 48365 |
Start a loop in script data. The first of the following two bytes is the repeat count and the second is disregarded. The current value of the repeat counter is stored at 34291 and the address of the next instruction (i.e. the first instruction that is processed in each loop) is stored at 34292.
Used by the routine at 48096.
|
||||||||
48353 | CALL 48382 | Load A with script instruction parameter, and advance HL to next instruction | ||||||
48356 | LD (34291),A | Store repeat count at 34291 | ||||||
48359 | LD (34292),HL | Store address to return to (i.e. first instruction in loop) at 34292 and execute script instruction at this location | ||||||
48362 | JP 48098 |
Prev: 48336 | Up: Map | Next: 48365 |