junglejourney

changeset 40:3946b61beb36

Don't allow the enemies to move horizontally if they can't move vertically when asked. This prevents them from moving quickly along the horizontal axis.
author David Boddie <david@boddie.org.uk>
date Sun Aug 21 15:56:33 2011 +0200
parents 84da455d1eb9
children 513dc8ee2a82
files mapcode.oph
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/mapcode.oph	Sun Aug 21 15:46:59 2011 +0200
     1.2 +++ b/mapcode.oph	Sun Aug 21 15:56:33 2011 +0200
     1.3 @@ -2301,7 +2301,7 @@
     1.4      ldy #3
     1.5      lda ($74),y         ; dy
     1.6      cmp #1
     1.7 -    beq move_enemy_horizontally
     1.8 +    beq move_enemy_toggle
     1.9      bpl move_enemy_upwards
    1.10  
    1.11      move_enemy_downwards: