![]() |
Routines |
| Prev: E013 | Up: Map | Next: E028 |
|
Used by the routine at TestMoveLeft.
Tests an object that is moving to the left (along the negative X axis) against the walls in one cell, in the same way as TestCellMovingRight.
|
||||||||||||||||
| TestCellMovingLeft | E020 | CALL CheckWallsVerticalFirst | Check whether the object hits a wall in the cell. | |||||||||||||
| E023 | RET NC | Return if it did not. | ||||||||||||||
| E024 | NEG | Make the depth positive, and jump to ReduceVelocityX to reduce the velocity. | ||||||||||||||
| E026 | JR ReduceVelocityX | |||||||||||||||
| Prev: E013 | Up: Map | Next: E028 |