72F6: Handler for Bomb 1.
Bomb1_Handler |
72F6 |
LD HL,(Bomb1_Offset) |
|
72F9 |
LD DE,(Rocket1_Offset) |
|
72FD |
XOR A |
|
72FE |
SBC HL,DE |
|
7300 |
JR NZ,Bomb1_Handler_0 |
|
7302 |
LD (Rocket1_Offset),HL |
|
7305 |
JR Bomb1_Handler_1 |
Bomb1_Handler_0 |
7307 |
LD HL,(Bomb1_Offset) |
|
730A |
LD DE,(Rocket2_Offset) |
|
730E |
XOR A |
|
730F |
SBC HL,DE |
|
7311 |
JR NZ,Bomb1_Handler_1 |
|
7313 |
LD (Rocket2_Offset),HL |
Bomb1_Handler_1 |
7316 |
LD HL,(Bomb1_Offset) |
|
7319 |
LD DE,BgMap_Start0 |
|
731C |
ADD HL,DE |
|
731D |
LD A,(HL) |
|
731E |
CP $20 |
|
7320 |
JR Z,Bomb1_Handler_5 |
|
7322 |
CP $98 |
|
7324 |
JR NZ,Bomb1_Handler_2 |
|
7326 |
CALL Score_AddTen |
|
7329 |
JR Bomb1_Handler_4 |
Bomb1_Handler_2 |
732B |
CP $96 |
|
732D |
JR NZ,Bomb1_Handler_3 |
|
732F |
CALL Score_Add20 |
|
7332 |
JR Bomb1_Handler_4 |
Bomb1_Handler_3 |
7334 |
CP $97 |
|
7336 |
JR NZ,Bomb1_Handler_6 |
|
7338 |
CALL Score_Add100 |
Bomb1_Handler_4 |
733B |
LD A,$9A |
|
733D |
LD (Bomb1_Tile),A |
|
7340 |
LD A,$47 |
|
7342 |
LD (Bomb1_Colour),A |
Bomb1_Handler_5 |
7345 |
LD DE,(Bomb1_Offset) |
|
7349 |
LD HL,BgMap_Start0 |
|
734C |
ADD HL,DE |
|
734D |
LD A,(Bomb1_Tile) |
|
7350 |
LD (HL),A |
|
7351 |
LD HL,Bg_Attr_From |
|
7354 |
ADD HL,DE |
|
7355 |
LD A,(Bomb1_Colour) |
|
7358 |
LD (HL),A |
|
7359 |
JR Bomb1_Handler_7 |
Bomb1_Handler_6 |
735B |
LD HL,$0000 |
|
735E |
LD (Bomb1_Offset),HL |
Bomb1_Handler_7 |
7361 |
RET |
|
7362 |
NOP |
|
7363 |
NOP |
|
7364 |
NOP |
|
7365 |
NOP |
|
7366 |
LD (Bomb1_Offset),HL |
|
7369 |
RET |
|
736A |
NOP |
|
736B |
NOP |
|
736C |
NOP |
|
736D |
NOP |