Prev: 28264 Up: Map Next: 28291
28277: Check whether Magic Knight is moving into a new room and react if so
Used by the routine at 28457.
28277 LD A,(25156) Load A with Magic Knight's current x-coordinate (pixels)
28280 CP 3 If less than 3...
28282 JP C,28323 ...then skip to 28323 (move Magic Knight one room to the left if possible then return)
28285 CP 230 If 230 or more...
28287 JP NC,28346 ...then skip to 28346 (move Magic Knight one room to the right if possible then return)
28290 RET Return
Prev: 28264 Up: Map Next: 28291