![]() |
Routines |
| Prev: BEE7 | Up: Map | Next: BF7F |
|
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 | BF66 | CALL FindHorizontalMove | Call FindHorizontalMove. | |||||
| BF69 | LD (IX+$01),H | Write the map column. | ||||||
| BF6C | LD (IX+$02),L | Write the horizontal position. | ||||||
| BF6F | LD (IX+$03),E | Write E to offset 03 of IX. | ||||||
| BF72 | CALL FindVerticalMove | Call FindVerticalMove. | ||||||
| BF75 | LD (IX+$04),H | Write the map zone. | ||||||
| BF78 | LD (IX+$05),L | Write the vertical position. | ||||||
| BF7B | LD (IX+$06),E | Write E to offset 06 of IX. | ||||||
| BF7E | RET | Return. | ||||||
| Prev: BEE7 | Up: Map | Next: BF7F |