Prev: 6856 Up: Map Next: 68A1
6890: Difficulty Delay?
Used by the routines at TitleScreen and StartGame.
Level 05 is the mothership level so run at full speed.
DifficultyDelay 6890 LD A,($6527) Return if *Messaging_Header_LevelNumber is equal to 35 (ASCII "5").
6893 CP $35
6895 RET Z
6896 PUSH BC Stash BC on the stack.
Loop 08*0100 times.
6897 LD BC,$0008 BC=0008.
DifficultyDelay_Loop 689A DJNZ DifficultyDelay_Loop Decrease the inner loop counter by one and loop back to DifficultyDelay_Loop until this counter is zero.
689C DEC C Decrease the outer loop counter by one.
689D JR NZ,DifficultyDelay_Loop Jump to DifficultyDelay_Loop until the outer loop counter is zero.
689F POP BC Restore BC from the stack.
68A0 RET Return.
Prev: 6856 Up: Map Next: 68A1