![]() |
Routines |
| Prev: 48871 | Up: Map | Next: 49023 |
|
Used by the routines at FireShot, SpawnEnemy, StartDebrisPiece, NudgeObject, MoveObjectBackAndForth, MoveObjectAndStop, UpdateType1E, UpdateCrystalStack, AttachItemToShip, UpdateShot, DrawShot, LaunchShot, RunFrame and FinishScrollIn.
Moves an object by its speeds: the horizontal position with FindHorizontalMove and the vertical position with FindVerticalMove.
|
||||||||
| MoveObject | 48998 | CALL FindHorizontalMove | Call FindHorizontalMove. | |||||
| 49001 | LD (IX+1),H | Write the map column. | ||||||
| 49004 | LD (IX+2),L | Write the horizontal position. | ||||||
| 49007 | LD (IX+3),E | Write E to offset 3 of IX. | ||||||
| 49010 | CALL FindVerticalMove | Call FindVerticalMove. | ||||||
| 49013 | LD (IX+4),H | Write the map zone. | ||||||
| 49016 | LD (IX+5),L | Write the vertical position. | ||||||
| 49019 | LD (IX+6),E | Write E to offset 6 of IX. | ||||||
| 49022 | RET | Return. | ||||||
| Prev: 48871 | Up: Map | Next: 49023 |