junglejourney
changeset 118:c6571847fe50
Made some minor adjustments to the high score entry presentation.
| author | David Boddie <david@boddie.org.uk> |
|---|---|
| date | Thu Sep 08 00:27:36 2011 +0200 |
| parents | 86033c6faa01 |
| children | 57fea6bcc814 |
| files | build.py loader.oph mapcode.oph |
| diffstat | 3 files changed, 14 insertions(+), 11 deletions(-) [+] |
line diff
1.1 --- a/build.py Wed Sep 07 00:09:07 2011 +0200 1.2 +++ b/build.py Thu Sep 08 00:27:36 2011 +0200 1.3 @@ -117,7 +117,8 @@ 1.4 # 1.5 # 5200 and every 12 bytes is unplot entries 1.6 # 5206 and every 12 bytes is plot entries 1.7 - # 1.8 + # 1.9 + # 52C0 space (assuming 8 unplot and 8 plot operations) 1.10 # 5300 SPRITES (map) 1.11 # 3 * (1 * 0x60 (flowers) 1.12 # 1 * 0x60 (tree)
2.1 --- a/loader.oph Wed Sep 07 00:09:07 2011 +0200 2.2 +++ b/loader.oph Thu Sep 08 00:27:36 2011 +0200 2.3 @@ -94,8 +94,8 @@ 2.4 code_block: .byte <code_file_name, >code_file_name 2.5 .byte $00, $1f, 0, 0 2.6 .byte $00, $1f, 0, 0 2.7 - .byte $69, $1e, 0, 0 2.8 - .byte $69, $3d, 0, 0 2.9 + .byte $8a, $1e, 0, 0 2.10 + .byte $8a, $3d, 0, 0 2.11 2.12 init_load_window_vdu_bytes: .byte 28,0,29,19,24 2.13
3.1 --- a/mapcode.oph Wed Sep 07 00:09:07 2011 +0200 3.2 +++ b/mapcode.oph Thu Sep 08 00:27:36 2011 +0200 3.3 @@ -4264,7 +4264,7 @@ 3.4 3.5 rts 3.6 3.7 -high_score_default_name: .byte "- David -" 3.8 +high_score_default_name: .byte "RETRO " 3.9 3.10 title_vdu_bytes: .byte 17,2, 31,4,27, "Press SPACE", 31,7,28, "to play" 3.11 title_vdu_bytes1: .byte 17,3, 31,1,30, "Copyright (c) 2011" 3.12 @@ -4432,7 +4432,7 @@ 3.13 lda #19 3.14 jmp $fff4 ; optimise away the rts 3.15 3.16 -game_over_vdu_bytes: .byte 31,4,15, 17,2, "The journey", 31,9,17, "is over" 3.17 +game_over_vdu_bytes: .byte 28,4,17,15,15, 12, 26, 31,4,15, 17,2, "The journey", 31,9,17, "is over" 3.18 3.19 show_game_over: 3.20 3.21 @@ -4441,7 +4441,7 @@ 3.22 lda game_over_vdu_bytes,x 3.23 jsr $ffee 3.24 inx 3.25 - cpx #26 3.26 + cpx #33 3.27 bmi write_game_over_text_loop 3.28 3.29 lda #192 3.30 @@ -4933,7 +4933,7 @@ 3.31 lda high_score_vdu_bytes,x 3.32 jsr $ffee 3.33 inx 3.34 - cpx #12 3.35 + cpx #33 3.36 bne high_score_vdu_loop 3.37 3.38 high_score_entry_loop: 3.39 @@ -4962,10 +4962,10 @@ 3.40 3.41 lda $5184 ; x 3.42 tax 3.43 + cmp #9 3.44 + beq high_score_entry_not_aligned 3.45 and #1 3.46 beq high_score_entry_not_aligned 3.47 - cmp #9 3.48 - beq high_score_entry_not_aligned 3.49 3.50 lda $5183 ; dy 3.51 cmp #2 3.52 @@ -5069,7 +5069,7 @@ 3.53 3.54 rts 3.55 3.56 -high_score_vdu_bytes: .byte 17,2, 31,5,27, ">", 31,15,27, "<", 17,1 3.57 +high_score_vdu_bytes: .byte 17,1, 31,2,3, "Enter your name!", 17,3, 31,5,30, ">", 31,15,30, "<", 17,1 3.58 3.59 cls: 3.60 lda #12 3.61 @@ -5090,7 +5090,7 @@ 3.62 lda $8f 3.63 adc #3 3.64 sta $70 ; store the x position of the character 3.65 - lda #27 3.66 + lda #30 3.67 sta $71 3.68 ; Run on into the next routine. 3.69 3.70 @@ -5131,6 +5131,8 @@ 3.71 jsr blank_screen 3.72 3.73 ; Set the player's strength. 3.74 + lda #0 3.75 + sta $3df4 3.76 lda #64 3.77 sta $70 3.78 jsr add_strength
