Routines |
Prev: 7336 | Up: Map | Next: 7368 |
Used by the routine at CollectName.
|
||||
ShiftHighScores | 7337 | POP HL | Restore HL, BC, HL and BC from the stack. | |
7338 | POP BC | |||
7339 | POP HL | |||
733A | POP BC | |||
733B | LD E,B | E=B. | ||
ShiftHighScores_0 | 733C | LD A,(HL) | A=*HL. | |
733D | LD (HL),D | Write D to *HL. | ||
733E | INC HL | Increment HL by three. | ||
733F | INC HL | |||
7340 | INC HL | |||
7341 | LD D,A | D=A. | ||
7342 | DJNZ ShiftHighScores_0 | Decrease counter by one and loop back to ShiftHighScores_0 until counter is zero. | ||
7344 | LD A,E | A=E. | ||
7345 | LD IX,$7382 | IX=7382. | ||
ShiftHighScores_Loop | 7349 | LD H,(IX+$00) | H=*IX+00. | |
734C | LD L,(IX-$01) | L=*IX-01. | ||
734F | LD D,(IX-$03) | D=*IX-03. | ||
7352 | LD E,(IX-$04) | E=*IX-04. | ||
7355 | LD B,$16 | B=16. | ||
7357 | PUSH AF | Stash AF on the stack. | ||
7358 | CALL $343E | Call SWAP_BYTE. | ||
735B | DEC IX | Decrease IX by three. | ||
735D | DEC IX | |||
735F | DEC IX | |||
7361 | POP AF | Restore AF from the stack. | ||
7362 | DEC A | Decrease A by one. | ||
7363 | JR NZ,ShiftHighScores_Loop | Jump to ShiftHighScores_Loop until A is zero. | ||
7365 | JP DisplayWinnersListPage | Jump to DisplayWinnersListPage. |
Prev: 7336 | Up: Map | Next: 7368 |