Routines |
Prev: 33725 | Up: Map | Next: 33774 |
|
||||||||||
33757 | LD A,(25157) | Load Magic Knight's current y-coordinate into A | ||||||||
33760 | CALL 28625 | Divide A by eight, rounding down to nearest integer | ||||||||
33763 | ADD A,3 | Add 3 (as Magic Knight is four characters tall) | ||||||||
33765 | LD D,A | And load result into D | ||||||||
33766 | LD A,(25156) | Load Magic Knight's current x-coordinate into A | ||||||||
33769 | CALL 28625 | Divide A by eight, rounding down to nearest integer | ||||||||
33772 | LD E,A | Load result into E | ||||||||
33773 | RET | Return |
Prev: 33725 | Up: Map | Next: 33774 |