Prev: A80C Up: Map Next: A859
A83A: Routine at A83A
Used by the routines at Controller_NameSelect and Handler_NameSelect_Up.
Who is in play, is it 1UP or 2UP?
A83A BIT 4,(HL) Test bit 4 of *HL.
Default to using the 1UP name.
A83C LD HL,$ACA6 HL=Name_1UP.
A83F JR Z,$A844 Jump to A844 if this is player one.
Else, use the name for 2UP.
A841 LD HL,$ACC7 HL=Name_2UP.
A844 LD DE,$48D7 DE=48D7 (screen buffer location).
A847 CALL PrintString Call PrintString.
A84A LD A,($AB8A) A=*Game_Flags.
A84D AND %00001111 Keep only bits 0-3.
A84F LD HL,$4FDF HL=4FDF (screen buffer location).
A852 SUB L A-=L.
A853 NEG NEG.
A855 LD L,A L=A.
A856 LD (HL),$FF Write FF to *HL.
A858 RET Return.
Prev: A80C Up: Map Next: A859