![]() |
Routines |
| Prev: C5EB | Up: Map | Next: C622 |
|
Used by the routine at C58B.
|
|||||||||||||||
| Print_BonusScore | C5F6 | LD A,(IX+$02) | Take the time left for the dueller to shoot (00 to 20). | ||||||||||||
| C5F9 | SRL A | Halve the value to give a score (divided by 100). | |||||||||||||
| C5FB | CP $09 | Set the carry flag if it's over 9. | |||||||||||||
| C5FD | LD E,(IX+$04) | Get the location to print the score. | |||||||||||||
| C600 | LD D,(IX+$05) | ||||||||||||||
| C603 | JR NC,Duel_Points | If the score is higher than 9, display "EXTRA" instead. | |||||||||||||
| C605 | OR $01 | Set bit 1 to denote a bonus. | |||||||||||||
|
Displays The Bonus Score Text
|
|||||||||||||||
| Print_BonusScore_0 | C607 | LD (IX+$07),A | Stores the ASCII representation of the number at Duel_Bonus_Text (it adds ASCII "0") so for example 1 ends up being 1 + 30 = 31 (e.g. "1" in ASCII). | ||||||||||||
| C60A | LD HL,$C41D | ||||||||||||||
| C60D | ADD A,$30 | ||||||||||||||
| C60F | LD (HL),A | ||||||||||||||
| C610 | LD BC,$2928 | Print using Print_TwoToneText_Alias.
|
|||||||||||||
| C613 | CALL Print_TwoToneText_Alias | ||||||||||||||
| C616 | CALL Scoring_Prep_Alias | ||||||||||||||
| C619 | CALL Draw_Score_Alias | ||||||||||||||
| C61C | INC (IX+$09) | Move onto the next state. | |||||||||||||
| C61F | JP $C583 | Jump to C583. | |||||||||||||
| Prev: C5EB | Up: Map | Next: C622 |