junglejourney

changeset 89:b35f8f1fdd1b

Increased the areas available to emerging enemies.
author David Boddie <david@boddie.org.uk>
date Wed Aug 31 02:34:09 2011 +0200
parents 24652251c79e
children 755ccdf0b1a7
files build.py mapcode.oph
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line diff
     1.1 --- a/build.py	Wed Aug 31 01:52:31 2011 +0200
     1.2 +++ b/build.py	Wed Aug 31 02:34:09 2011 +0200
     1.3 @@ -118,13 +118,14 @@
     1.4      #        1 * 0x60 (tree))
     1.5      # 5780 space
     1.6      # 579C room data (generated)
     1.7 -    #   ; 0 blank
     1.8 -    #   ; 1 flowers/decoration
     1.9 -    #   ; 2 tree/wall
    1.10 -    #   ; 3 tree/wall
    1.11 -    #   ; 4 exit
    1.12 -    #   ; 5 final exit (left)
    1.13 -    #   ; 6 final exit (right)
    1.14 +    #   0 blank
    1.15 +    #   1 flowers/decoration
    1.16 +    #   2 tree/wall
    1.17 +    #   3 tree/wall
    1.18 +    #   4 exit
    1.19 +    #   5 open exit
    1.20 +    #   6 final exit (left)
    1.21 +    #   7 final exit (right)
    1.22      #
    1.23      # 5800 screen memory
    1.24      
     2.1 --- a/mapcode.oph	Wed Aug 31 01:52:31 2011 +0200
     2.2 +++ b/mapcode.oph	Wed Aug 31 02:34:09 2011 +0200
     2.3 @@ -2111,8 +2111,8 @@
     2.4      bpl emerge_position_common_not_first_area
     2.5  
     2.6      lda $7d
     2.7 -    and #3
     2.8 -    adc #5
     2.9 +    and #7
    2.10 +    adc #2
    2.11      rts
    2.12  
    2.13      emerge_position_common_not_first_area:
    2.14 @@ -2131,7 +2131,7 @@
    2.15      clc
    2.16  
    2.17      lda $7d
    2.18 -    and #1
    2.19 +    and #3
    2.20      adc #6
    2.21      rts
    2.22  
    2.23 @@ -2139,8 +2139,7 @@
    2.24      clc
    2.25  
    2.26      lda $7d
    2.27 -    and #3
    2.28 -    adc #1
    2.29 +    and #7
    2.30      rts
    2.31  
    2.32  emerge_character:           ; $74,$75=character address