hazard_handler_a8cd |
A8CD |
LD A,($A230) |
|
A8D0 |
AND A |
|
A8D1 |
JR NZ,hazard_handler_a8cd_0 |
|
A8D3 |
LD A,($A225) |
|
A8D6 |
AND A |
|
A8D7 |
JR Z,hazard_handler_a8cd_1 |
hazard_handler_a8cd_0 |
A8D9 |
LD (IX+$0E),$01 |
|
A8DD |
LD (IX+$0D),$FF |
hazard_handler_a8cd_1 |
A8E1 |
LD C,(IX+$01) |
|
A8E4 |
CALL get_spawn_lanes |
|
A8E7 |
LD A,(IX+$11) |
|
A8EA |
CP B |
|
A8EB |
JR NC,hazard_handler_a8cd_2 |
|
A8ED |
LD (IX+$12),B |
hazard_handler_a8cd_2 |
A8F0 |
CP C |
|
A8F1 |
JR Z,hazard_handler_a8cd_3 |
|
A8F3 |
JR C,hazard_handler_a8cd_3 |
|
A8F5 |
LD (IX+$12),C |
hazard_handler_a8cd_3 |
A8F8 |
LD A,(IX+$12) |
|
A8FB |
CP (IX+$11) |
|
A8FE |
JR Z,hazard_handler_a8cd_6 |
|
A900 |
RL B |
|
A902 |
LD HL,$A7E6 |
|
A905 |
LD C,A |
|
A906 |
ADD A,L |
|
A907 |
LD L,A |
|
A908 |
LD A,(IX+$05) |
|
A90B |
RR B |
|
A90D |
JR NC,hazard_handler_a8cd_4 |
|
A90F |
SUB $05 |
|
A911 |
CP (HL) |
|
A912 |
JR NC,hazard_handler_a8cd_5 |
|
A914 |
LD A,(HL) |
|
A915 |
LD (IX+$11),C |
|
A918 |
JR hazard_handler_a8cd_5 |
hazard_handler_a8cd_4 |
A91A |
ADD A,$05 |
|
A91C |
CP (HL) |
|
A91D |
JR C,hazard_handler_a8cd_5 |
|
A91F |
LD A,(HL) |
|
A920 |
LD (IX+$11),C |
hazard_handler_a8cd_5 |
A923 |
LD (IX+$05),A |
hazard_handler_a8cd_6 |
A926 |
LD A,(IX+$07) |
|
A929 |
AND A |
|
A92A |
RET Z |
|
A92B |
EX AF,AF' |
|
A92C |
LD (IX+$07),$00 |
|
A930 |
LD A,($B326) |
|
A933 |
AND A |
|
A934 |
RET NZ |
|
A935 |
LD (IX+$00),A |
|
A938 |
LD ($A13C),A |
|
A93B |
LD A,$96 |
|
A93D |
EX AF,AF' |
|
A93E |
CP $03 |
|
A940 |
JR C,hazard_handler_a8cd_7 |
|
A942 |
SUB $03 |
hazard_handler_a8cd_7 |
A944 |
CALL check_collisions_8 |
|
A947 |
LD HL,$9904 |
|
A94A |
LD A,$03 |
|
A94C |
CALL chatter |
|
A94F |
LD BC,$0302 |
|
A952 |
JP start_sfx |