diff clojure/com/aurellem/items.clj @ 107:ad96e9464d6a

working on the start of the bootstrap program; expanded register array to 29 elements
author Robert McIntyre <rlm@mit.edu>
date Thu, 15 Mar 2012 03:24:05 -0500
parents 3a60bb14a64a
children
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/items.clj	Wed Mar 14 21:37:37 2012 -0500
     1.2 +++ b/clojure/com/aurellem/items.clj	Thu Mar 15 03:24:05 2012 -0500
     1.3 @@ -14,8 +14,6 @@
     1.4     item-list-start
     1.5     (+ item-list-start 150)))
     1.6  
     1.7 -(def item-hack-3 (read-state 77557))
     1.8 -
     1.9  (def item-code->item-name
    1.10    (hash-map
    1.11     0x01 :master-ball       
    1.12 @@ -158,8 +156,7 @@
    1.13     0xFC :TM52     ;; "fly"	   
    1.14     0xFD :TM53     ;; "surf"	   
    1.15     0xFE :TM54     ;; "strength"      
    1.16 -   0xFF :end-of-list-sentinel
    1.17 -   ))
    1.18 +   0xFF :end-of-list-sentinel))
    1.19  
    1.20  (def item-name->item-code
    1.21    (zipmap (vals item-code->item-name)