![]() |
Routines |
| Prev: 28535 | Up: Map | Next: 28605 |
|
Used by the routine at Robbie_CarryingCan.
Moves Robbie, and the can, up two pixels unless he is at the top.
|
||||||||
| Robbie_CarryingCan_Up | 28586 | LD A,(IX+2) | A=the Y position of Robbie. | |||||
| 28589 | CP 40 | Jump to Robbie_CarryingCan_Fire if Robbie is at the top. | ||||||
| 28591 | JP C,Robbie_CarryingCan_Fire | |||||||
| 28594 | SUB 2 | Subtract 2. | ||||||
|
This entry point is used by the routine at Robbie_CarryingCan_Down.
|
||||||||
| Robbie_CarryingCan_StoreY | 28596 | LD (IX+2),A | Write the new Y position. | |||||
| 28599 | LD (IX+14),A | Write it to the new Y position of the spray can. | ||||||
| 28602 | JP Robbie_CarryingCan_Fire | Jump to Robbie_CarryingCan_Fire. | ||||||
| Prev: 28535 | Up: Map | Next: 28605 |