junglejourney
changeset 127:7b4e7334da87
Fixed completion screen decoding.
Ensured that the completion screen is blanked before being shown.
Cleared the high score entry text area.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Sat Sep 10 13:18:03 2011 +0200 |
| parents | 7eb067edce84 |
| children | d27c644bec24 |
| files | mapcode.oph |
| diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/mapcode.oph Sat Sep 10 01:48:35 2011 +0200 1.2 +++ b/mapcode.oph Sat Sep 10 13:18:03 2011 +0200 1.3 @@ -4175,12 +4175,16 @@ 1.4 1.5 ldy #1 1.6 lda ($70),y 1.7 + and #$0f 1.8 asl 1.9 asl 1.10 asl 1.11 asl 1.12 + sta $80 1.13 dey 1.14 - ora ($70),y 1.15 + lda ($70),y 1.16 + and #$0f 1.17 + ora $80 1.18 sta ($72),y 1.19 1.20 lda #0 1.21 @@ -4730,6 +4734,8 @@ 1.22 1.23 show_complete_game: 1.24 1.25 + jsr blank_screen 1.26 + 1.27 ldx #0 1.28 show_complete_game_vdu_loop: 1.29 1.30 @@ -4960,7 +4966,7 @@ 1.31 lda high_score_vdu_bytes,x 1.32 jsr $ffee 1.33 inx 1.34 - cpx #33 1.35 + cpx #39 1.36 bne high_score_vdu_loop 1.37 1.38 high_score_entry_loop: 1.39 @@ -5096,7 +5102,7 @@ 1.40 1.41 rts 1.42 1.43 -high_score_vdu_bytes: .byte 17,1, 31,2,3, "Enter your name!", 17,3, 31,5,30, ">", 31,15,30, "<", 17,1 1.44 +high_score_vdu_bytes: .byte 17,1, 31,2,3, "Enter your name!", 17,3, 31,5,30, "> <", 17,1 1.45 1.46 cls: 1.47 lda #12
