![]() |
Routines |
| Prev: BEAF | Up: Map | Next: BEE0 |
|
Used by the routines at HandleRemoteControlRobot, HandleValve, HandleFatBottomBlock and HandleExtraLife.
Tests whether the object is moving.
|
||||||||||||
|
Combine the three speeds.
|
||||||||||||
| TestObjectMoving | BED6 | LD A,(IX+$09) | Fetch the speed along the x axis. | |||||||||
| BED9 | OR (IX+$0A) | Combine it with the speed along the y axis. | ||||||||||
| BEDC | OR (IX+$0B) | Combine it with the speed along the z axis. | ||||||||||
| BEDF | RET | Return. | ||||||||||
|
View the equivalent code in;
|
||||||||||||
| Prev: BEAF | Up: Map | Next: BEE0 |