Routines |
Prev: 35397 | Up: Map | Next: 35497 |
Used by the routine at 35296.
|
||||
35459 | LD A,(23479) | Load menu hand cursor's current y-coordinate into A | ||
35462 | LD HL,23475 | If height available to menu hand cursor to move down is the same as the cursor's current y-coordinate... | ||
35465 | CP (HL) | ...i.e. the cursor cannot move any further down... | ||
35466 | JP Z,35365 | ...then jump to 35365 (return to menu input handling routine) | ||
35469 | LD (23478),A | Store y-coordinate (pixels) at 23478 | ||
35472 | PUSH AF | Store AF (A = menu hand cursor's y-coordinate, in pixels) | ||
35473 | ADD A,5 | Add five (as the "finger" of the cursor naturally points five pixels below the cursor's actual position) | ||
35475 | RRCA | Divide this new y-coordinate by eight to get y-coordinate in characters... | ||
35476 | RRCA | ... | ||
35477 | RRCA | ... | ||
35478 | AND 31 | ... | ||
35480 | LD C,A | Load this y-coordinate into C | ||
35481 | POP AF | Restore AF (A = menu hand cursor's y-coordinate, in pixels) | ||
35482 | INC A | Increase y-coordinate (pixels) by two... | ||
35483 | INC A | ... | ||
35484 | LD (23479),A | Store new y-coordinate (in pixels) | ||
35487 | PUSH BC | Store BC (C = y-coordinate, in characters and before move, of menu hand cursor's finger) | ||
35488 | CALL 55436 | Scroll a region of the display file down two pixel rows without wrapping... | ||
35491 | CALL 55436 | ... | ||
35494 | JP 35429 | Jump to 35429 (update menu highlighting as appropriate then jump to menu input handling routine) |
Prev: 35397 | Up: Map | Next: 35497 |