Routines |
Prev: AB26 | Up: Map | Next: AB60 |
Used by the routine at A92C.
|
||||
AB43 | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB46 | CP $C0 | If it less than C0 move left, otherwise move right. | ||
AB48 | JR NC,$AB50 | |||
AB4A | LD (IY+$3C),$01 | |||
AB4E | JR $AB54 | |||
AB50 | LD (IY+$3C),$FF | |||
AB54 | CALL $B288 | Move the character. | ||
AB57 | LD A,(IY+$05) | Get the X co-ordinate. | ||
AB5A | CP $C0 | Is it now C0? | ||
AB5C | JP Z,$AE5D | If so, move to the next room. | ||
AB5F | RET | Otherwise return. |
Prev: AB26 | Up: Map | Next: AB60 |