Prev: 45682 Up: Map Next: 45828
45727: Hall Of Fame
Used by the routine at HandlerHallOfFame.
HallOfFame 45727 CALL HallOfFame_Clear Call HallOfFame_Clear.
45730 LD DE,45870 DE=HallOfFame_Attributes.
45733 EXX Switch to the shadow registers.
45734 LD HL,45878 HL'=HallOfFame_Position.
45737 LD DE,45894 DE'=HallOfFame_Text.
There are eight lines of text.
45740 LD B,8 B'=8.
45742 CALL GameMenu_Loop Call GameMenu_Loop.
45745 LD BC,774 BC=774.
45748 LD DE,45828 DE=Top_HighScore_1.
45751 LD HL,18536 HL=18536.
HallOfFame_0 45754 PUSH BC
45755 PUSH HL
45756 CALL ScreenAddress Call ScreenAddress.
45759 CALL PrintScore_Loop Call PrintScore_Loop.
45762 LD B,3 B=3.
45764 INC L
45765 INC L
45766 INC L
HallOfFame_1 45767 LD A,(DE)
45768 INC DE
45769 CALL PrintScreen Call PrintScreen.
45772 DJNZ HallOfFame_1
45774 POP HL
45775 LD A,H
45776 ADD A,16
45778 LD H,A
45779 POP BC
45780 DEC C
45781 JR NZ,HallOfFame_0
45783 RET Return.
This entry point is used by the routines at HandlerHallOfFame and NewHighScore.
HallOfFame_Clear 45784 LD HL,22692 HL=22692.
45787 LD BC,6160 BC=6160.
45790 LD DE,32 DE=32.
HallOfFame_2 45793 PUSH BC
45794 PUSH HL
HallOfFame_3 45795 LD (HL),0
45797 INC L
45798 DJNZ HallOfFame_3
45800 POP HL
45801 ADD HL,DE
45802 POP BC
45803 DEC C
45804 JR NZ,HallOfFame_2
45806 LD HL,16548 HL=16548.
45809 LD BC,6272 BC=6272.
HallOfFame_4 45812 PUSH BC
45813 PUSH HL
HallOfFame_5 45814 LD (HL),0
45816 INC L
45817 DJNZ HallOfFame_5
45819 POP HL
45820 CALL ScreenPos1PixelBelow
45823 POP BC
45824 DEC C
45825 JR NZ,HallOfFame_4
45827 RET Return.
Prev: 45682 Up: Map Next: 45828