Commit fb5bd26d authored by Ricardo Quesada's avatar Ricardo Quesada

convert scores to WORD

parent 7a672425
# Decompiled Commando for the Commodore 64
# Commando for the Commodore 64 - decompiled
![commando64](https://lh3.googleusercontent.com/d8wonEvj2mcU2kp2gstEmZNFVUgZ8mGVxNiBTiHPXLiEC2tcs-aavTmsyoUnwm8oFBaqr7gQrHSuhvFl21gXBMDV7MUQmV7Fh7lefMMZVdd1FsDqGL5WxZ4pGp3PvKMk-ptyT123Glo=-no)
......@@ -30,8 +30,8 @@ $ make
### Code
The code is using labels for everything. All the harcoded addresses were
converted to lables (think of tables with hundreds of addresses).
The game runs pefectly Ok, even you if add a `nop` in
converted to labels (think of tables with hundreds of addresses).
The game runs perfectly Ok, even you if add a `nop` in
the middle of the code.
### Data
......
......@@ -1183,13 +1183,13 @@ HISCORE_NAME01
.BYTE $20,$20,$20,$20,$20,$20,$20,$20
; High Scores
HISCORE_LSB00 .BYTE $00 ;9000
HISCORE_MSB00 .BYTE $90
HISCORE_LSB01 .BYTE $00 ;8000
HISCORE_MSB01 .BYTE $80
.BYTE $00,$70,$00,$60,$00,$50,$00,$40 ;7000...4000
.BYTE $00,$30,$00,$20 ;3000,2000
.BYTE $00,$00 ;0?
HISCORE_MSB00 =*+1
HISCORE_LSB00
.WORD $9000
HISCORE_MSB01 =*+1
HISCORE_LSB01
.WORD $8000,$7000,$6000,$5000
.WORD $4000,$3000,$2000,$0000
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
SCREEN_MAIN_TITLE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment