![]() |
Routines |
| Prev: 43732 | Up: Map | Next: 43767 |
|
Used by the routines at HandlerFlame, HandlerHippoWarthog, HandlerWanderingNastie, HandlerWulf, HandlerFlyingSabreman, ChooseTribesmanVelocity, HandlerRhino, PlayerMovement and GamePlay_Start.
Tests whether the position an actor has been moved to is the same as the position it started from.
|
||||||||||||||
| TestPositionUnchanged | 43757 | LD A,E | Fetch the new X position of the actor. | |||||||||||
| 43758 | XOR (IX+3) | Compare the new X position with the X position of the actor. | ||||||||||||
| 43761 | RET NZ | Return if the X positions are different. | ||||||||||||
| 43762 | LD A,D | Fetch the new Y position of the actor. | ||||||||||||
| 43763 | XOR (IX+4) | Compare the new Y position with the Y position of the actor. | ||||||||||||
| 43766 | RET | Return. | ||||||||||||
| Prev: 43732 | Up: Map | Next: 43767 |