![]() |
Routines |
| Prev: C83E | Up: Map | Next: C86A |
|
Used by the routine at plyr_OOB.
Moves the player through move_player. For the length of the move the top half's "ignore me" bit is set, so the collision scan does not find the player's own head in the way of its legs.
The top nibble of +$0C is a count set to 3 by exit_screen when the player walks into a new room; while it runs the controls are ignored and the player walks straight on. It drops by one here each frame.
|
||||
| player_move_and_draw | C855 | SET 1,(IX+$27) | top half out of the collision scan... | |
| C859 | CALL move_player | move | ||
| C85C | RES 1,(IX+$27) | ...and back in | ||
| C860 | LD A,(IX+$0C) | count the room-entry walk down, unless it is already zero | ||
| C863 | SUB $10 | |||
| C865 | JR C,player_redraw | |||
| C867 | LD (IX+$0C),A | |||
| Prev: C83E | Up: Map | Next: C86A |