Prev: 55814 Up: Map Next: 55836
55819: Cheat / debug routine: Decrease Magic Knight's current room index, wrapping around to 24 if below zero
Used by the routine at 55768.
55819 LD A,(23701) Decrease index of Magic Knight's current room...
55822 DEC A ...
55823 LD (23701),A ...
55826 JP P,55814 If new room index is not less than zero then draw Magic Knight's current room then jump back into cheat routine main loop
55829 LD A,24 Set new room index to 24...
55831 LD (23701),A ...
55834 JR 55814 Draw Magic Knight's current room then jump back into cheat routine main loop
Prev: 55814 Up: Map Next: 55836