junglejourney

changeset 178:893f1688200b

Enabled new movement for certain types of enemy.
author David Boddie <david@boddie.org.uk>
date Sat Sep 24 20:54:54 2011 +0200
parents 7e9e62f1d98c
children 6e9a9d9afc04
files mapcode.oph
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/mapcode.oph	Sat Sep 24 00:59:08 2011 +0200
     1.2 +++ b/mapcode.oph	Sat Sep 24 20:54:54 2011 +0200
     1.3 @@ -2369,7 +2369,8 @@
     1.4      ldy #0
     1.5      sta ($74),y     ; update the type (>= 8)
     1.6      iny
     1.7 -    lda #0          ; prepare the direction and animation offset
     1.8 +    lda $7d         ; prepare the direction and animation offset
     1.9 +    and #$0c
    1.10      sta ($74),y
    1.11  
    1.12      jsr plot_character
    1.13 @@ -2759,7 +2760,7 @@
    1.14      sta $8e             ; horizontal motion value (0=no motion; 1=left; 2=right)
    1.15  
    1.16      lda ($74),y         ; read the enemy number (Y should be zero)
    1.17 -    and #$50
    1.18 +    and #$10
    1.19      beq move_enemy_homing
    1.20      clc
    1.21