Routines |
Prev: 30333 | Up: Map | Next: 30656 |
Used by the routine at PlayerLostRound.
|
||||||||||||||||
LifeLost | 30623 | DI | Disable interrupts. | |||||||||||||
30624 | XOR A | I=0. | ||||||||||||||
30625 | LD I,A | |||||||||||||||
30627 | LD C,3 | Set a counter in C for the total number of loops: 3. | ||||||||||||||
BorderFlash | 30629 | LD B,0 | Set the inner counter in B to 0 (which is 256 as it's decreased by one on the first loop). | |||||||||||||
BorderFlash_Loop | 30631 | XOR A | Initialise the border to 0 using A. | |||||||||||||
BorderFlashInner_Loop | 30632 | OUT (254),A | Set the border to the colour in A. | |||||||||||||
30634 | DEC A | Decrease A by one and jump back to BorderFlashInner_Loop until A is zero. | ||||||||||||||
30635 | JR NZ,BorderFlashInner_Loop | |||||||||||||||
30637 | DJNZ BorderFlash_Loop | Decrease counter by one and loop back to BorderFlash_Loop until counter is zero. | ||||||||||||||
30639 | DEC C | Decrease the loops counter by one and jump back to BorderFlash until the counter is zero. | ||||||||||||||
30640 | JR NZ,BorderFlash | |||||||||||||||
30642 | LD HL,(23720) | Jump to 30656 if *MEMBOT (mem-4+2) is not zero. | ||||||||||||||
30645 | LD A,H | |||||||||||||||
30646 | OR L | |||||||||||||||
30647 | JR NZ,30656 | |||||||||||||||
Messaging options:
|
||||||||||||||||
30649 | LD A,8 | Call Messaging_Girl using message block 8. | ||||||||||||||
30651 | CALL Messaging_Girl | |||||||||||||||
30654 | EI | Enable interrupts. | ||||||||||||||
30655 | RET | Return. |
Prev: 30333 | Up: Map | Next: 30656 |