![]() |
Routines |
| Prev: D9A3 | Up: Map | Next: DA00 |
|
The routine for objects of type 16 and 1E, 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 | D9EB | LD A,(IX-$09) | Update the body as normal (see UpdatePlayerBody) if the legs have not bumped into something. | |
| D9EE | BIT 0,A | |||
| D9F0 | JR Z,UpdatePlayerBody | |||
| D9F2 | LD (IX+$07),A | Copy the flags of the legs. | ||
| D9F5 | LD A,(IX-$10) | Set the type to the bumping pose (sprite 06) for the kind of legs. | ||
| D9F8 | AND $F8 | |||
| D9FA | OR $06 | |||
| D9FC | LD (IX+$00),A | |||
| D9FF | RET | Return. | ||
| Prev: D9A3 | Up: Map | Next: DA00 |