Prev: C7E5 Up: Map Next: C959
C941: Make the game run faster
Used by the routine at Init_Title_Screen.
This routine is called at the start of each phase, and makes it faster than than the previous by decreasing the wait time. This starts at 0500 (slowest) and is decreased by 40 for each call, so things generally open faster.
C941 PUSH AF
C942 PUSH HL
C943 LD HL,($CE1C)
C946 LD BC,$0040
C949 AND A
C94A SBC HL,BC
C94C LD A,H
C94D OR L
C94E JR NZ,$C953
C950 LD HL,$0040
C953 LD ($CE1C),HL
C956 POP HL
C957 POP AF
C958 RET
Prev: C7E5 Up: Map Next: C959