Routines |
Prev: AADD | Up: Map | Next: AB26 |
Used by the routine at A92C.
|
||||
AB09 | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB0C | CP $78 | If it less than 78 move left, otherwise move right. | ||
AB0E | JR NC,$AB16 | |||
AB10 | LD (IY+$3C),$01 | |||
AB14 | JR $AB1A | |||
AB16 | LD (IY+$3C),$FF | |||
AB1A | CALL $B288 | Move the character. | ||
AB1D | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB20 | CP $78 | Is it now 78? | ||
AB22 | JP Z,$AE5D | If so, move to the next room. | ||
AB25 | RET | Otherwise return. |
Prev: AADD | Up: Map | Next: AB26 |