![]() |
Routines |
| Prev: C8BE | Up: Map | Next: C8D2 |
|
Used by the routine at handle_left_right.
Facing codes, from get_sprite_dir: 0 W, 1 E, 2 N, 3 S. If already facing N the player walks; if not, turn_by_parity picks the shorter way round -- a right turn from W, a left turn from E, and from S a left turn now and another on the next frame.
|
||||
| chk_facing_N | C8CD | CALL get_sprite_dir | facing N is code 2 | |
| C8D0 | CP $02 | |||
| Prev: C8BE | Up: Map | Next: C8D2 |