Routines |
Prev: 34350 | Up: Map | Next: 34402 |
|
||||||||||
34385 | LD A,(25388) | Load Magic Knight's current y-coordinate into A | ||||||||
34388 | CALL 30123 | Divide by eight, rounding down to nearest integer | ||||||||
34391 | ADD A,3 | Add 3 (as Magic Knight is four characters tall) | ||||||||
34393 | LD D,A | And load result into D | ||||||||
34394 | LD A,(25387) | Load Magic Knight's current x-coordinate into A | ||||||||
34397 | CALL 30123 | Divide by eight, rounding down to nearest integer | ||||||||
34400 | LD E,A | Load result into E | ||||||||
34401 | RET | Return |
Prev: 34350 | Up: Map | Next: 34402 |