![]() |
Routines |
| Prev: 55715 | Up: Map | Next: 55808 |
|
The routine for objects of type 22 and 30, which is the body of the player when the legs have bumped into something. The body stays in this pose while the legs are flagged as having bumped into something, and goes back to normal otherwise.
|
||||
| UpdateBumpingBody | 55787 | LD A,(IX-9) | Update the body as normal (see UpdatePlayerBody) if the legs have not bumped into something. | |
| 55790 | BIT 0,A | |||
| 55792 | JR Z,UpdatePlayerBody | |||
| 55794 | LD (IX+7),A | Copy the flags of the legs. | ||
| 55797 | LD A,(IX-16) | Set the type to the bumping pose (sprite 6) for the kind of legs. | ||
| 55800 | AND 248 | |||
| 55802 | OR 6 | |||
| 55804 | LD (IX+0),A | |||
| 55807 | RET | Return. | ||
| Prev: 55715 | Up: Map | Next: 55808 |