junglejourney

changeset 49:249c89334020

Added another workaround for a negative number check.
author David Boddie <david@boddie.org.uk>
date Mon Aug 22 01:33:52 2011 +0200
parents e51603c2d361
children 0d48c3a9f27f
files mapcode.oph
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/mapcode.oph	Mon Aug 22 01:17:34 2011 +0200
     1.2 +++ b/mapcode.oph	Mon Aug 22 01:33:52 2011 +0200
     1.3 @@ -2348,7 +2348,7 @@
     1.4  
     1.5      ldy #3
     1.6      lda ($74),y         ; dy
     1.7 -    cmp #1
     1.8 +    cmp $3303           ; player y
     1.9      beq move_enemy_horizontally
    1.10      bpl move_enemy_upwards
    1.11  
    1.12 @@ -2862,6 +2862,8 @@
    1.13          lda ($74),y         ; dy                    ; 6 + y - py >= 2
    1.14          sec                                         ; y - py >= -4
    1.15          sbc $3309           ; dy - projectile dy
    1.16 +        bpl projectile_collide_next
    1.17 +
    1.18          cmp #252
    1.19          bmi projectile_check_collide_x
    1.20