Prev: 46807 Up: Map Next: 46933
46915: Delay And Beep
Used by the routine at EnterInitials.
Used while the player chooses their initials. Pauses for a short time and then plays a high tone.
NewHighScore_Return 46915 PUSH AF Stash the registers on the stack.
46916 PUSH BC
46917 PUSH HL
Introduce a pause by counting down from 32768.
46918 LD B,1 Set the pause multiplier in B to 1.
46920 LD HL,32768 Set the pause counter in HL to 32768.
46923 CALL Pause Pause.
46926 CALL PlayHighTone Play a high tone.
46929 POP HL Restore the registers from the stack.
46930 POP BC
46931 POP AF
46932 RET Return.
View the equivalent code in;
Prev: 46807 Up: Map Next: 46933