![]() |
Routines |
| Prev: CD07 | Up: Map | Next: CD17 |
|
Used by the routine at dX_done.
adj_dX_for_out_of_bounds for Y: the north and south walls from $5BAC, the half-depth at +$05, and bit 1 of +$0C.
|
||||||||||||
| adj_dY_for_out_of_bounds | CD08 | LD A,(IX+$0C) | not during the room-entry walk | |||||||||
| CD0B | AND $F0 | |||||||||||
| CD0D | RET NZ | |||||||||||
| CD0E | BIT 0,(IX+$07) | not near an archway | ||||||||||
| CD12 | RET NZ | |||||||||||
| CD13 | LD A,($5BAC) | B = the Y half-size | ||||||||||
| CD16 | LD B,A | |||||||||||
| Prev: CD07 | Up: Map | Next: CD17 |