Dynamite Dan | Routines |
Prev: D567 | Up: Map | Next: D61E |
D607 | EXX | Swap main registers. | ||
D608 | LD A,($C872) | Get Dan's Y co-ordinate. | ||
D60B | CP $84 | Is it the maximum? (84) | ||
D60D | JR NZ,$D61E | Jump forward if not. | ||
Dan has fallen into another room.
|
||||
D60F | LD A,$02 | Set the Y co-ordinate to the top. (02) | ||
D611 | LD ($C872),A | |||
D614 | LD A,($CFCA) | Get the current room. (CFCA) | ||
D617 | SUB $08 | Subtract 8 to get the room below. | ||
D619 | CALL $CBBD | Switch to this room. | ||
D61C | EXX | Swap main registers and return. | ||
D61D | RET |
Prev: D567 | Up: Map | Next: D61E |