![]() |
Routines |
| Prev: 50667 | Up: Map | Next: 50722 |
|
Used by the routine at 50571.
|
|||||||||||||||
| Print_BonusScore | 50678 | LD A,(IX+2) | Take the time left for the dueller to shoot (0 to 32). | ||||||||||||
| 50681 | SRL A | Halve the value to give a score (divided by 100). | |||||||||||||
| 50683 | CP 9 | Set the carry flag if it's over 9. | |||||||||||||
| 50685 | LD E,(IX+4) | Get the location to print the score. | |||||||||||||
| 50688 | LD D,(IX+5) | ||||||||||||||
| 50691 | JR NC,Duel_Points | If the score is higher than 9, display "EXTRA" instead. | |||||||||||||
| 50693 | OR 1 | Set bit 1 to denote a bonus. | |||||||||||||
|
Displays The Bonus Score Text
|
|||||||||||||||
| Print_BonusScore_0 | 50695 | LD (IX+7),A | Stores the ASCII representation of the number at Duel_Bonus_Text (it adds ASCII "0") so for example 1 ends up being 1 + 48 = 49 (e.g. "1" in ASCII). | ||||||||||||
| 50698 | LD HL,50205 | ||||||||||||||
| 50701 | ADD A,48 | ||||||||||||||
| 50703 | LD (HL),A | ||||||||||||||
| 50704 | LD BC,10536 | Print using Print_TwoToneText_Alias.
|
|||||||||||||
| 50707 | CALL Print_TwoToneText_Alias | ||||||||||||||
| 50710 | CALL Scoring_Prep_Alias | ||||||||||||||
| 50713 | CALL Draw_Score_Alias | ||||||||||||||
| 50716 | INC (IX+9) | Move onto the next state. | |||||||||||||
| 50719 | JP 50563 | Jump to 50563. | |||||||||||||
| Prev: 50667 | Up: Map | Next: 50722 |