![]() |
Routines |
| Prev: CF35 | Up: Map | Next: CF50 |
|
Used by the routine at TestMoveDown.
Checks whether an object that is moving in the direction of heading two touches a wall in the cell containing a point. If it does, the depth is made positive and the object is pushed back by CheckWallVertical_PushBack.
|
||||||||||||||||
|
Check the walls, then push the object back if it is touching one.
|
||||||||||||||||
| CheckWallVerticalReverse | CF48 | CALL CheckWallsHorizontalFirst | Call CheckWallsHorizontalFirst. | |||||||||||||
| CF4B | RET NC | Return if the object is not touching a wall. | ||||||||||||||
| CF4C | NEG | Make the depth positive, and jump to CheckWallVertical_PushBack. | ||||||||||||||
| CF4E | JR CheckWallVertical_PushBack | |||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||
| Prev: CF35 | Up: Map | Next: CF50 |