![]() |
Routines |
| Prev: 9E46 | Up: Map | Next: 9E86 |
|
Updates an entity of the type 06 which rises by one unit of its third coordinate on every frame until the countdown in field 23 reaches zero, when it is freed.
|
||||||||
| UpdateDomeEntity | 9E6D | CALL IncreaseEntityCounter | Call IncreaseEntityCounter. | |||||
| 9E70 | DEC (IX+$23) | Decrease field 23 of the entity by one. | ||||||
| 9E73 | JP Z,FreeEntity | Jump to FreeEntity to free the entity if it is zero. | ||||||
| 9E76 | LD H,(IX+$08) | Fetch the first byte of the third coordinate of the entity. | ||||||
| 9E79 | LD L,(IX+$09) | Fetch the second byte of the third coordinate of the entity. | ||||||
| 9E7C | INC HL | Add one. | ||||||
| 9E7D | LD (IX+$08),H | Store the first byte of the third coordinate of the entity. | ||||||
| 9E80 | LD (IX+$09),L | Store the second byte of the third coordinate of the entity. | ||||||
| 9E83 | JP UpdateEntity_Project | Jump to UpdateEntity_Project to carry on updating the entity. | ||||||
| Prev: 9E46 | Up: Map | Next: 9E86 |