![]() |
Routines |
| Prev: 39779 | Up: Map | Next: 39801 |
|
Resets bit 7 of the heading of an entity. If field 31 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 35 is reset too.
|
||||||||
| ResetEntityMovement | 39782 | RES 7,(IX+17) | Reset bit 7 of the heading. | |||||
| 39786 | LD A,(IX+31) | Read field 31 of the entity. | ||||||
| 39789 | INC A | Add one. | ||||||
| 39790 | CP 2 | Compare it with 2. | ||||||
| 39792 | POP HL | Drop the return address into HL. | ||||||
| 39793 | JP NC,UpdateEntity_Move | Jump to UpdateEntity_Move to carry on updating the entity if the value was 2 or more. | ||||||
| 39796 | RES 7,(IX+35) | Reset bit 7 of field 35 of the entity. | ||||||
| 39800 | JP (HL) | Return to the caller. | ||||||
| Prev: 39779 | Up: Map | Next: 39801 |