Routines |
Prev: 45552 | Up: Map | Next: 45601 |
|
||||||||||
45584 | LD A,(24841) | Load Magic Knight's current y-coordinate into A | ||||||||
45587 | CALL 40658 | Divide A by eight, rounding down to nearest integer | ||||||||
45590 | ADD A,3 | Add 3 (as Magic Knight is four characters tall) | ||||||||
45592 | LD D,A | And load result into D | ||||||||
45593 | LD A,(24840) | Load Magic Knight's current x-coordinate into A | ||||||||
45596 | CALL 40658 | Divide A by eight, rounding down to nearest integer | ||||||||
45599 | LD E,A | Load result into E | ||||||||
45600 | RET | Return |
Prev: 45552 | Up: Map | Next: 45601 |