Prev: 8429 Up: Map Next: 846B
8450: Display hits
Used by the routine at display_bonus.
display_hits 8450 ADD A,$3A Add ASCII for zero + 10
8452 LD DE,$19D0 Ones in number of ships
8455 RST $10 Write VDP byte
8456 LD DE,$19D4 Hundreds in bonus
8459 RST $10 Write VDP byte
845A LD A,B Tens
845B LD DE,$19CF Tens in number of ships
845E RST $10 Write VDP byte
845F LD DE,$19D3 Thousands in bonus
8462 RST $10 Write VDP byte
8463 POP BC Restore ships destroyed
8464 LD A,B If it zero?
8465 OR A ...
8466 JP Z,stage_completed_0 Then jump back to complete stage
8469 JR perfect_bonus_0 Else add B x 100 bonus points
Prev: 8429 Up: Map Next: 846B