comparison clojure/com/aurellem/items.clj @ 100:2090bcb78f44

created functions to get and set register values
author Robert McIntyre <rlm@mit.edu>
date Mon, 12 Mar 2012 12:37:04 -0500
parents 9fad96094950
children 4d9ce3188655
comparison
equal deleted inserted replaced
99:9fad96094950 100:2090bcb78f44
10 10
11 (defn item-list [^SaveState state] 11 (defn item-list [^SaveState state]
12 (subvec 12 (subvec
13 (vec (memory state)) 13 (vec (memory state))
14 item-list-start 14 item-list-start
15 (+ item-list-start 60))) 15 (+ item-list-start 150)))
16 16
17 (def item-hack-3 (read-state 77557)) 17 (def item-hack-3 (read-state 77557))
18 18
19 (def item-code->item-name 19 (def item-code->item-name
20 (hash-map 20 (hash-map