![]() |
Routines |
| Prev: 46463 | Up: Map | Next: 46590 |
| 46568 | LD B,38 | The character will take 38 steps along the catwalk | ||
| 46570 | PUSH BC | |||
| 46571 | LD H,152 | This instruction is set by the routine at 45429 to either 'LD H,152' (boy) or 'LD H,164' (teacher) as appropriate | ||
| 46573 | CALL 46312 | Move the character one step along the catwalk | ||
| 46576 | CALL 65088 | Make a walking sound effect | ||
| 46579 | LD C,100 | Pause briefly between steps | ||
| 46581 | DJNZ 46581 | |||
| 46583 | DEC C | |||
| 46584 | JR NZ,46581 | |||
| 46586 | POP BC | |||
| 46587 | DJNZ 46570 | Jump back until 38 steps have been taken | ||
| 46589 | RET | |||
| Prev: 46463 | Up: Map | Next: 46590 |