Routines |
Prev: AB09 | Up: Map | Next: AB43 |
Used by the routine at A92C.
|
||||
AB26 | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB29 | CP $30 | If it less than 30 move left, otherwise move right. | ||
AB2B | JR NC,$AB33 | |||
AB2D | LD (IY+$3C),$01 | |||
AB31 | JR $AB37 | |||
AB33 | LD (IY+$3C),$FF | |||
AB37 | CALL $B288 | Move the character. | ||
AB3A | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB3D | CP $30 | Is it now 30? | ||
AB3F | JP Z,$AE5D | If so, move to the next room. | ||
AB42 | RET | Otherwise return. |
Prev: AB09 | Up: Map | Next: AB43 |