![]() |
Routines |
| Prev: 44521 | Up: Map | Next: 44557 |
|
Projects the player entity with ProjectEntity, then works out how far the entity has moved on the screen since the last frame. The previous value is kept in PlayerScreenPosition and the change in 23789.
|
||||||||
| ProjectPlayerEntity | 44537 | CALL ProjectEntity | Call ProjectEntity. | |||||
| 44540 | LD A,(23788) | Read the byte at PlayerScreenPosition. | ||||||
| 44543 | LD B,A | A moves into B. | ||||||
| 44544 | LD A,(IX+15) | Fetch the row. | ||||||
| 44547 | LD C,A | A moves into C. | ||||||
| 44548 | SUB B | Subtract B. | ||||||
| 44549 | LD (23789),A | Write A at 23789. | ||||||
| 44552 | LD A,C | C moves into A. | ||||||
| 44553 | LD (23788),A | Write A at PlayerScreenPosition. | ||||||
| 44556 | RET | Return. | ||||||
| Prev: 44521 | Up: Map | Next: 44557 |