![]() |
Routines |
| Prev: 9B63 | Up: Map | Next: 9B79 |
|
Resets bit 7 of the heading of an entity. If field 1F of the entity is not zero then this routine does not return to its caller, but jumps to UpdateEntity_Move to carry on updating the entity. Otherwise bit 7 of field 23 is reset too.
|
||||||||
| ResetEntityMovement | 9B66 | RES 7,(IX+$11) | Reset bit 7 of the heading. | |||||
| 9B6A | LD A,(IX+$1F) | Read field 1F of the entity. | ||||||
| 9B6D | INC A | Add one. | ||||||
| 9B6E | CP $02 | Compare it with 02. | ||||||
| 9B70 | POP HL | Drop the return address into HL. | ||||||
| 9B71 | JP NC,UpdateEntity_Move | Jump to UpdateEntity_Move to carry on updating the entity if the value was 02 or more. | ||||||
| 9B74 | RES 7,(IX+$23) | Reset bit 7 of field 23 of the entity. | ||||||
| 9B78 | JP (HL) | Return to the caller. | ||||||
| Prev: 9B63 | Up: Map | Next: 9B79 |