diff clojure/com/aurellem/gb/transit.clj @ 230:fe26776e1a58

working on map memory, modified view-memory to output hex and decimal as well as binary
author Robert McIntyre <rlm@mit.edu>
date Sat, 24 Mar 2012 14:42:34 -0500
parents 30f4fc9b1747
children ecdbfa1fc51f
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb/transit.clj	Sat Mar 24 13:22:52 2012 -0500
     1.2 +++ b/clojure/com/aurellem/gb/transit.clj	Sat Mar 24 14:42:34 2012 -0500
     1.3 @@ -8,7 +8,7 @@
     1.4  
     1.5  0xD367 = 00000110 ;; inside-building
     1.6  
     1.7 -0xD367 = 00001001 ;; wilderness
     1.8 +0xD367 = 00001001 ;; wilderness outside Celadon
     1.9  
    1.10  0xD367 = 00010010 ;; inside cave
    1.11  
    1.12 @@ -18,3 +18,35 @@
    1.13  
    1.14  0xD367 = 00110110 ;; fishing peer waters edge
    1.15  
    1.16 +0xD367 = 00110110 ;; in battle at fishing peer
    1.17 +
    1.18 +0xD367 = 00010010 ;; at Cerulean
    1.19 +
    1.20 +;; setting it to zero does not affect teleport
    1.21 +;; setting it to 0xFF does not affect teleport
    1.22 +;; conclusion -- 0xD367 is position related but does not control
    1.23 +;; transit moves/items
    1.24 +
    1.25 +
    1.26 +;; try the same with 0xD366
    1.27 +
    1.28 +0xD366 = 00000000 ;; at Cerulean
    1.29 +0xD366 = 00010001 ;; in Rock Tunnel
    1.30 +0xD366 = 00001111 ;; in poke tower floor 1
    1.31 +0xD366 = 00000110 ;; in poke center
    1.32 +
    1.33 +;; 0xFF disables fly, dig, teleport, rope
    1.34 +;; 0x00 enables fly, teleport, disables dig, rope
    1.35 +
    1.36 +;; in cereluan
    1.37 +;; set to 00000100 disables doors, ledges, fly, teleport
    1.38 +;; set to 00000010 disables doors, ledges, fly, teleport
    1.39 +
    1.40 +;; in poke-center
    1.41 +;; set to 00000010 disables fly, teleport, dig, rope
    1.42 +;; set to 00000100 disables fly, teleport, dig, rope
    1.43 +;; set to 00000000 enables fly, teleport
    1.44 +;; set to 00010001 changes colormap to brown,
    1.45 +;;                 enables rope, dig
    1.46 +;;                 disables fly, teleport 
    1.47 +