F345: Initialize game data and make all objects visible
F345 |
LD HL,$69EA |
F348 |
LD DE,$0007 |
F34B |
LD BC,$0005 |
F34E |
LD A,$30 |
F350 |
RES 5,(HL) |
F352 |
RES 4,(HL) |
F354 |
ADD HL,DE |
F355 |
LD (HL),$00 |
F357 |
ADD HL,BC |
F358 |
DEC A |
F359 |
JR NZ,$F350 |
F35B |
LD HL,$F3A0 |
F35E |
LD (HL),$20 |
F360 |
INC HL |
F361 |
LD (HL),$30 |
F363 |
LD HL,$69EA |
F366 |
LD ($F3A2),HL |
F369 |
LD B,$08 |
F36B |
CALL $F3A4 |
F36E |
LD A,$10 |
F370 |
LD ($F3A0),A |
F373 |
LD B,$0F |
F375 |
CALL $F3A4 |
F378 |
LD HL,$F3A0 |
F37B |
LD (HL),$01 |
F37D |
INC HL |
F37E |
LD (HL),$07 |
F380 |
LD HL,$69F1 |
F383 |
LD ($F3A2),HL |
F386 |
LD B,$02 |
F388 |
CALL $F3A4 |
F38B |
LD A,$02 |
F38D |
LD ($F3A0),A |
F390 |
LD B,$08 |
F392 |
CALL $F3A4 |
F395 |
LD A,$04 |
F397 |
LD ($F3A0),A |
F39A |
LD B,$04 |
F39C |
CALL $F3A4 |
F39F |
RET |