8215: Initalise the game for re-entrance from the menu.
Game_Init |
8215 |
LD A,$FF |
|
8217 |
LD ($BD2C),A |
|
821A |
LD A,(Area_Type) |
|
821D |
CALL Area_CopyCurrent |
|
8220 |
LD HL,Str_Empty |
|
8223 |
CALL Message_ClearIfNoPlans |
|
8226 |
CALL Pockets_UpdateInv |
|
8229 |
LD HL,Stat_ResetGame |
|
822C |
LD A,(HL) |
|
822D |
AND A |
|
822E |
JP Z,_873a |
|
8231 |
LD (HL),$00 |
|
8233 |
LD HL,$0000 |
|
8236 |
LD (Plans_CountDownTime),HL |
|
8239 |
LD HL,(Handle_Lockers) |
|
823C |
LD DE,$00BC |
|
823F |
ADD HL,DE |
|
8240 |
LD (HL),$3C |
|
8242 |
LD A,(_bd75) |
|
8245 |
LD (Area_Colour),A |
|
8248 |
LD HL,(Position_EW) |
|
824B |
LD (_bd7e),HL |
|
824E |
LD A,$92 |
|
8250 |
LD (_bd80),A |
|
8253 |
XOR A |
|
8254 |
LD (_bd55),A |
|
8257 |
LD HL,Hero_ThroughDoor |
|
825A |
LD (HL),$71 |
|
825C |
INC HL |
|
825D |
LD (HL),$08 |
|
825F |
CALL _873a |
|
8262 |
CALL _8f6e |
|
8265 |
XOR A |
|
8266 |
JP $AFFD |