Prev: 46937 Up: Map Next: 46956
46944: Update Idle Timer
Used by the routine at GameMenu.
Counts down the idle timer. If it reaches zero then the hall of fame is shown, until a key is pressed. The timer is reset if the zero flag is not set when this routine is called.
Input
F The zero flag is reset to reset the timer
UpdateIdleTimer 46944 JR NZ,ResetIdleTimer Jump to reset the timer if the zero flag is not set.
46946 LD HL,(38448) Fetch the timer...
46949 DEC HL ...take one off...
46950 LD (38448),HL ...and store it.
46953 LD A,H Return if the timer has not reached zero.
46954 OR L
46955 RET NZ
Continue on to HandlerHallOfFame.
View the equivalent code in;
Prev: 46937 Up: Map Next: 46956