junglejourney

changeset 132:a25ead484b18

Fixed the space insertion bug in the high score name entry routine.
author David Boddie <david@boddie.org.uk>
date Sat Sep 10 15:27:58 2011 +0200
parents 3e3d7f4df570
children a2720f7301c0
files TODO.txt mapcode.oph
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/TODO.txt	Sat Sep 10 15:16:29 2011 +0200
     1.2 +++ b/TODO.txt	Sat Sep 10 15:27:58 2011 +0200
     1.3 @@ -1,6 +1,5 @@
     1.4  To Do
     1.5  
     1.6 -Fix space insertion in the high score entry screen caused by faulty y checks.
     1.7  Improve the fire, explosion and player sprites.
     1.8  Add sounds.
     1.9  Nice to have: analogue joystick support.
     2.1 --- a/mapcode.oph	Sat Sep 10 15:16:29 2011 +0200
     2.2 +++ b/mapcode.oph	Sat Sep 10 15:27:58 2011 +0200
     2.3 @@ -5048,6 +5048,11 @@
     2.4          bmi high_score_entry_aligned
     2.5          cmp #5
     2.6          bne high_score_entry_not_aligned
     2.7 +
     2.8 +        lda $5282       ; y again (don't apply the touching rule to the bottom
     2.9 +        cmp #7          ;          row of characters)
    2.10 +        beq high_score_entry_not_aligned
    2.11 +
    2.12          iny             ; we are really touching the character below
    2.13  
    2.14          high_score_entry_aligned: