Routines |
Prev: AD82 | Up: Map | Next: AE17 |
Used by the routines at 9D42, Messaging_YouWin, StartMenu, A9E5, AA0A, Handler_Match, Handler_SemiFinal, Print_CurrentPlayerID, Animation_OpponentThrowing, Messaging_Bust and Handler_OpponentWins.
|
||||
LongPause | AE04 | LD B,$03 | Set a repeat counter in B for 03 loops. | |
LongPause_RepeatLoop | AE06 | LD HL,$FFFF | Set a delay counter in HL to FFFF. We count down from this value to zero three times. | |
LongPause_DelayLoop | AE09 | DEC HL | Decrease the delay counter by one. | |
AE0A | LD A,H | Jump back to LongPause_DelayLoop until the delay counter is zero. | ||
AE0B | OR L | |||
AE0C | JR NZ,LongPause_DelayLoop | |||
AE0E | LD A,($F821) | Return if bit 4 of *ControlByte is set. | ||
AE11 | BIT 4,A | |||
AE13 | RET NZ | |||
AE14 | DJNZ LongPause_RepeatLoop | Decrease the repeat counter by one and loop back to LongPause_RepeatLoop until the repeat counter is zero. | ||
AE16 | RET | Return. |
Prev: AD82 | Up: Map | Next: AE17 |