![]() |
Routines |
| Prev: D37A | Up: Map | Next: D38C |
|
Used by the routine at adjust_plyr_xyz_for_room_size.
The player left the last room westwards (X was 0) and arrives at the high-X side of this one.
|
||||
| enter_arch_e | D37F | LD C,$37 | Z from the arch whose X+Y is $37 | |
| D381 | CALL adjust_plyr_Z_for_arch | |||
| D384 | LD A,L | X = $80 + (half-size - 2) + his X half-size | ||
| D385 | ADD A,$80 | |||
| D387 | ADD A,(IX+$04) | |||
| D38A | JR adjust_plyr_x | |||
| Prev: D37A | Up: Map | Next: D38C |