Prev: 28586 Up: Map Next: 28617
28605: Move Robbie Down
Used by the routine at Robbie_CarryingCan.
Moves Robbie, and the can, down two pixels unless he is at the bottom.
Input
IX Robbie object
Robbie_CarryingCan_Down 28605 LD A,(IX+2) A=the Y position of Robbie.
28608 ADD A,2 Add 2.
28610 CP 184 Jump to Robbie_CarryingCan_Fire if Robbie is at the bottom.
28612 JP NC,Robbie_CarryingCan_Fire
28615 JR Robbie_CarryingCan_StoreY Jump to Robbie_CarryingCan_StoreY.
Prev: 28586 Up: Map Next: 28617