AD9C: Start 2UP Game
Start_2UP_Game |
AD9C |
XOR A |
|
AD9D |
LD ($B05F),A |
|
ADA0 |
LD ($AA06),A |
|
ADA3 |
LD ($AA46),A |
|
ADA6 |
LD ($AA08),A |
|
ADA9 |
LD ($AA48),A |
|
ADAC |
LD A,$02 |
|
ADAE |
LD ($AF34),A |
|
ADB1 |
CALL Intro_Music |
|
ADB4 |
CALL New_Round |
|
ADB7 |
CALL Reset_Score |
Start_2UP_Game_0 |
ADBA |
LD A,($AF34) |
|
ADBD |
CALL DrawBackground |
|
ADC0 |
CALL Game_Over_13 |
|
ADC3 |
LD B,$00 |
|
ADC5 |
CALL $AF52 |
|
ADC8 |
LD B,$00 |
|
ADCA |
CALL $AF97 |
|
ADCD |
LD HL,$B038 |
|
ADD0 |
CALL Print_HighScore |
|
ADD3 |
CALL Game_Over_13 |
|
ADD6 |
CALL Init_Time |
|
ADD9 |
XOR A |
|
ADDA |
LD ($9C2B),A |
|
ADDD |
CALL Start_2UP_Game_5 |
|
ADE0 |
AND A |
|
ADE1 |
RET M |
|
ADE2 |
CALL $AF27 |
|
ADE5 |
CALL Intro_Music |
|
ADE8 |
LD HL,$B05F |
|
ADEB |
INC (HL) |
|
ADEC |
LD A,(HL) |
|
ADED |
CP $04 |
|
ADEF |
JR Z,Start_2UP_Game_1 |
|
ADF1 |
JR Start_2UP_Game_0 |
Start_2UP_Game_1 |
ADF3 |
CALL Check_HighScore |
|
ADF6 |
LD A,($A6B6) |
|
ADF9 |
AND A |
|
ADFA |
JR Z,Start_2UP_Game_2 |
|
ADFC |
DEC A |
|
ADFD |
JR NZ,Start_2UP_Game_3 |
|
ADFF |
CALL $AE78 |
|
AE02 |
CALL $AE7A |
|
AE05 |
JR Start_2UP_Game_4 |
Start_2UP_Game_2 |
AE07 |
CALL Start_1UP_Game_5 |
|
AE0A |
JR Start_2UP_Game_4 |
Start_2UP_Game_3 |
AE0C |
CALL $AE9B |
|
AE0F |
CALL $AE9D |
Start_2UP_Game_4 |
AE12 |
XOR A |
|
AE13 |
RET |
Start_2UP_Game_5 |
AE14 |
CALL $AE26 |
|
AE17 |
AND A |
|
AE18 |
RET M |
|
AE19 |
CALL New_Round |
|
AE1C |
CALL $AF36 |
|
AE1F |
LD A,($9C2B) |
|
AE22 |
AND A |
|
AE23 |
JR Z,Start_2UP_Game_5 |
|
AE25 |
RET |