Routines |
Prev: B0E6 | Up: Map | Next: B1A6 |
B197 | LD A,(IY+$0A) | Get the Y co-ordinate. | ||
B19A | ADD A,$04 | Add 4 to it to drop down one level. | ||
B19C | CP $98 | Set the maximum Y co-ordinate to 98 so they can't drop below floor level. | ||
B19E | JR C,$B1A2 | |||
B1A0 | LD A,$98 | |||
B1A2 | LD (IY+$0A),A | Store the new Y co-ordinate and return. | ||
B1A5 | RET |
Prev: B0E6 | Up: Map | Next: B1A6 |