Prev: 47104 Up: Map Next: 47231
47208: Change a character's name (1)
Used by the routine at 61408 after 'c' was pressed to change a character's name.
Input
HL Address of the character's name message
47208 PUSH HL Save the message address
47209 LD (HL),32 Set the character's name to ' ' (single space)
47211 LD B,13
47213 INC L
47214 LD (HL),0
47216 DJNZ 47213
47218 LD HL,44904 44904: 'ENTER NEW NAME'
47221 CALL 46073 Print this message
47224 LD HL,23611 Point HL at the FLAGS system variable
47227 POP DE Restore the message address for the character's name to DE
47228 JP 47336
Prev: 47104 Up: Map Next: 47231