Prev: D38C Up: Map Next: D3A9
D395: Look at the next arch
check_next_arch D395 LD A,(IY+$00) type 6 or more: no more arches
D398 CP $06
D39A RET NC
D39B LD A,(IY+$01) X+Y matches: this is the one
D39E ADD A,(IY+$02)
D3A1 CP C
D3A2 JR Z,adj_plyr_Z
D3A4 ADD IY,DE next arch
D3A6 DJNZ check_next_arch
D3A8 RET
Prev: D38C Up: Map Next: D3A9