![]() |
Routines |
| Prev: 6F77 | Up: Map | Next: 6FBD |
|
Used by the routine at Robbie_CarryingCan.
Moves Robbie, and the can, up two pixels unless he is at the top.
|
||||||||
| Robbie_CarryingCan_Up | 6FAA | LD A,(IX+$02) | A=the Y position of Robbie. | |||||
| 6FAD | CP $28 | Jump to Robbie_CarryingCan_Fire if Robbie is at the top. | ||||||
| 6FAF | JP C,Robbie_CarryingCan_Fire | |||||||
| 6FB2 | SUB $02 | Subtract 02. | ||||||
|
This entry point is used by the routine at Robbie_CarryingCan_Down.
|
||||||||
| Robbie_CarryingCan_StoreY | 6FB4 | LD (IX+$02),A | Write the new Y position. | |||||
| 6FB7 | LD (IX+$0E),A | Write it to the new Y position of the spray can. | ||||||
| 6FBA | JP Robbie_CarryingCan_Fire | Jump to Robbie_CarryingCan_Fire. | ||||||
| Prev: 6F77 | Up: Map | Next: 6FBD |