Prev: B272 Up: Map Next: B304
B29F: Hall Of Fame
Used by the routine at HandlerHallOfFame.
HallOfFame B29F CALL HallOfFame_Clear Call HallOfFame_Clear.
B2A2 LD DE,$B32E DE=HallOfFame_Attributes.
B2A5 EXX Switch to the shadow registers.
B2A6 LD HL,$B336 HL'=HallOfFame_Position.
B2A9 LD DE,$B346 DE'=HallOfFame_Text.
There are eight lines of text.
B2AC LD B,$08 B'=08.
B2AE CALL GameMenu_Loop Call GameMenu_Loop.
B2B1 LD BC,$0306 BC=0306.
B2B4 LD DE,$B304 DE=Top_HighScore_1.
B2B7 LD HL,$4868 HL=4868.
HallOfFame_0 B2BA PUSH BC
B2BB PUSH HL
B2BC CALL ScreenAddress Call ScreenAddress.
B2BF CALL PrintScore_Loop Call PrintScore_Loop.
B2C2 LD B,$03 B=03.
B2C4 INC L
B2C5 INC L
B2C6 INC L
HallOfFame_1 B2C7 LD A,(DE)
B2C8 INC DE
B2C9 CALL PrintScreen Call PrintScreen.
B2CC DJNZ HallOfFame_1
B2CE POP HL
B2CF LD A,H
B2D0 ADD A,$10
B2D2 LD H,A
B2D3 POP BC
B2D4 DEC C
B2D5 JR NZ,HallOfFame_0
B2D7 RET Return.
This entry point is used by the routines at HandlerHallOfFame and NewHighScore.
HallOfFame_Clear B2D8 LD HL,$58A4 HL=58A4.
B2DB LD BC,$1810 BC=1810.
B2DE LD DE,$0020 DE=20.
HallOfFame_2 B2E1 PUSH BC
B2E2 PUSH HL
HallOfFame_3 B2E3 LD (HL),$00
B2E5 INC L
B2E6 DJNZ HallOfFame_3
B2E8 POP HL
B2E9 ADD HL,DE
B2EA POP BC
B2EB DEC C
B2EC JR NZ,HallOfFame_2
B2EE LD HL,$40A4 HL=40A4.
B2F1 LD BC,$1880 BC=1880.
HallOfFame_4 B2F4 PUSH BC
B2F5 PUSH HL
HallOfFame_5 B2F6 LD (HL),$00
B2F8 INC L
B2F9 DJNZ HallOfFame_5
B2FB POP HL
B2FC CALL ScreenPos1PixelBelow
B2FF POP BC
B300 DEC C
B301 JR NZ,HallOfFame_4
B303 RET Return.
Prev: B272 Up: Map Next: B304