Prev: EDD8 Up: Map Next: EDFF
EDE0: Prepare for a new game
Used by the routine at 6900. Clears the screen and asks whether the characters' names should be changed; returns to the caller if the answer is no, or proceeds into the routine at EEE0 if the answer is yes.
EDE0 LD A,$06 BORDER 6
EDE2 OUT ($FE),A
EDE4 LD HL,$4000 Blank the entire display
EDE7 LD (HL),$00
EDE9 INC HL
EDEA LD A,H
EDEB CP $58
EDED JR NZ,$EDE7
EDEF LD (HL),$30 PAPER 6: INK 0
EDF1 INC HL
EDF2 LD A,H
EDF3 CP $5B
EDF5 JR NZ,$EDEF
EDF7 CALL $FA49 Ask whether the characters' names should be changed, and return here only if the answer is yes
EDFA LD B,$20 Prepare B for drawing the catwalk
EDFC JP $EEE0
Prev: EDD8 Up: Map Next: EDFF