Routines |
Prev: F7D5 | Up: Map | Next: F817 |
F7D6 | XOR A | Set A to 0 to clear some flags. | ||
F7D7 | DI | Disable interrupts. | ||
F7D8 | LD ($848F),A | Set position on ground (848F) to 0. | ||
F7DB | LD ($8498),A | Set time jumping (8498) to 0. | ||
F7DE | LD ($8D58),A | Set distance fallen (8D58) to 0. | ||
F7E1 | LD ($8D52),A | Set room flags (8D52) to 0. | ||
F7E4 | LD ($8D53),A | Set game flags (8D53) to 0. | ||
F7E7 | LD ($F7D1),A | Set wall flags (F7D1) to 0. | ||
F7EA | LD A,$03 | Set 3 lives (964A). | ||
F7EC | LD ($964A),A | |||
F7EF | XOR A | Set score (9217) to 0. | ||
F7F0 | LD B,$05 | |||
F7F2 | LD HL,$9217 | |||
F7F5 | LD (HL),A | |||
F7F6 | INC HL | |||
F7F7 | DJNZ $F7F5 | |||
F7F9 | LD A,$2C | Set current room to 2C (outside). | ||
F7FB | LD ($9649),A | |||
F7FE | LD HL,$869C | Set the pointer to the movement table to 869C. | ||
F801 | LD ($8492),HL | |||
F804 | LD HL,$4000 | Clear the screen. | ||
F807 | LD DE,$4001 | |||
F80A | LD (HL),$00 | |||
F80C | LD BC,$1AFF | |||
F80F | LDIR | |||
F811 | CALL $8000 | Display the control options. | ||
F814 | JP $940C | Enter the first room. |
Prev: F7D5 | Up: Map | Next: F817 |