38828: Start Game
StartGame |
38828 |
LD HL,16384 |
|
38831 |
LD DE,16385 |
|
38834 |
LD BC,6143 |
|
38837 |
LD (HL),0 |
|
38839 |
LDIR |
|
38841 |
LD HL,22528 |
|
38844 |
LD DE,22529 |
|
38847 |
LD BC,767 |
|
38850 |
LD (HL),7 |
|
38852 |
LDIR |
|
38854 |
LD HL,(47227) |
|
38857 |
LD (23460),HL |
|
38860 |
XOR A |
|
38861 |
LD (23456),A |
|
38864 |
CALL 48200 |
|
38867 |
LD A,1 |
|
38869 |
LD (23659),A |
|
38872 |
LD A,(23465) |
|
38875 |
AND A |
|
38876 |
JP NZ,GameEntry_0 |
|
38879 |
LD A,(23456) |
|
38882 |
AND A |
|
38883 |
CALL Z,GameOverPrint |
|
38886 |
LD A,(23456) |
|
38889 |
AND A |
|
38890 |
CALL NZ,Congrats_Print |
|
38893 |
LD HL,47215 |
|
38896 |
LD DE,37215 |
|
38899 |
LD BC,85 |
|
38902 |
LDIR |
|
38904 |
LD A,1 |
|
38906 |
LD (23659),A |
|
38909 |
LD HL,(23438) |
|
38912 |
LD A,(47228) |
|
38915 |
CP H |
|
38916 |
JP C,StartGame_4 |
|
38919 |
JP NZ,StartGame_0 |
|
38922 |
LD A,(47227) |
|
38925 |
CP L |
|
38926 |
JP C,StartGame_4 |
StartGame_0 |
38929 |
LD A,(47242) |
|
38932 |
CP H |
|
38933 |
JP C,StartGame_5 |
|
38936 |
JP NZ,StartGame_1 |
|
38939 |
LD A,(47241) |
|
38942 |
CP L |
|
38943 |
JP C,StartGame_5 |
StartGame_1 |
38946 |
LD A,(47256) |
|
38949 |
CP H |
|
38950 |
JP C,StartGame_6 |
|
38953 |
JP NZ,StartGame_2 |
|
38956 |
LD A,(47255) |
|
38959 |
CP L |
|
38960 |
JP C,StartGame_6 |
StartGame_2 |
38963 |
LD A,(47270) |
|
38966 |
CP H |
|
38967 |
JP C,StartGame_7 |
|
38970 |
JP NZ,StartGame_3 |
|
38973 |
LD A,(47269) |
|
38976 |
CP L |
|
38977 |
JP C,StartGame_7 |
StartGame_3 |
38980 |
LD A,(47284) |
|
38983 |
CP H |
|
38984 |
JP C,StartGame_8 |
|
38987 |
JP NZ,BestScoresPrint |
|
38990 |
LD A,(47283) |
|
38993 |
CP L |
|
38994 |
JP C,StartGame_8 |
|
38997 |
JP BestScoresPrint |
StartGame_4 |
39000 |
CALL 46800 |
|
39003 |
LD HL,47200 |
|
39006 |
LD DE,47215 |
|
39009 |
LD BC,12 |
|
39012 |
LDIR |
|
39014 |
LD HL,(23438) |
|
39017 |
LD A,L |
|
39018 |
LD (47227),A |
|
39021 |
LD A,H |
|
39022 |
LD (47228),A |
|
39025 |
LD HL,37215 |
|
39028 |
LD DE,47229 |
|
39031 |
LD BC,60 |
|
39034 |
LDIR |
|
39036 |
JP BestScoresPrint |
StartGame_5 |
39039 |
CALL 46800 |
|
39042 |
LD HL,47200 |
|
39045 |
LD DE,47229 |
|
39048 |
LD BC,12 |
|
39051 |
LDIR |
|
39053 |
LD HL,(23438) |
|
39056 |
LD A,L |
|
39057 |
LD (47241),A |
|
39060 |
LD A,H |
|
39061 |
LD (47242),A |
|
39064 |
LD HL,37229 |
|
39067 |
LD DE,47243 |
|
39070 |
LD BC,45 |
|
39073 |
LDIR |
|
39075 |
JP BestScoresPrint |
StartGame_6 |
39078 |
CALL 46800 |
|
39081 |
LD HL,47200 |
|
39084 |
LD DE,47243 |
|
39087 |
LD BC,12 |
|
39090 |
LDIR |
|
39092 |
LD HL,(23438) |
|
39095 |
LD A,L |
|
39096 |
LD (47255),A |
|
39099 |
LD A,H |
|
39100 |
LD (47256),A |
|
39103 |
LD HL,37243 |
|
39106 |
LD DE,47257 |
|
39109 |
LD BC,30 |
|
39112 |
LDIR |
|
39114 |
JP BestScoresPrint |
StartGame_7 |
39117 |
CALL 46800 |
|
39120 |
LD HL,47200 |
|
39123 |
LD DE,47257 |
|
39126 |
LD BC,12 |
|
39129 |
LDIR |
|
39131 |
LD HL,(23438) |
|
39134 |
LD A,L |
|
39135 |
LD (47269),A |
|
39138 |
LD A,H |
|
39139 |
LD (47270),A |
|
39142 |
LD HL,37257 |
|
39145 |
LD DE,47271 |
|
39148 |
LD BC,15 |
|
39151 |
LDIR |
|
39153 |
JP BestScoresPrint |
StartGame_8 |
39156 |
CALL 46800 |
|
39159 |
LD HL,47200 |
|
39162 |
LD DE,47271 |
|
39165 |
LD BC,12 |
|
39168 |
LDIR |
|
39170 |
LD HL,(23438) |
|
39173 |
LD A,L |
|
39174 |
LD (47283),A |
|
39177 |
LD A,H |
|
39178 |
LD (47284),A |
|
39181 |
JP BestScoresPrint |