![]() |
Routines |
| Prev: CD95 | Up: Map | Next: CDD2 |
|
Used by the routine at CD8B.
|
||||
| CDB8 | LD HL,($A1B2) | Set HL the address into tile type buffer in front-up of Rex | ||
| CDBB | LD DE,$0023 | |||
| CDBE | ADD HL,DE | |||
| CDBF | CALL $CDF5 | Return if tile is wall | ||
| CDC2 | JP Z,$CDEC | |||
| CDC5 | LD DE,$0020 | Set HL the address into tile type buffer in front-bottom of Rex | ||
| CDC8 | ADD HL,DE | |||
| CDC9 | CALL $CDF5 | Jump to check tile of death if tile is wall | ||
| CDCC | JP Z,$CDEC | |||
| CDCF | JP $CD95 | Move Rex to the right | ||
| Prev: CD95 | Up: Map | Next: CDD2 |