Mercurial > vba-clojure
diff clojure/com/aurellem/gb/items.clj @ 161:cd7979aa544e
emabled setting pokemon moves and PP
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Tue, 20 Mar 2012 17:13:12 -0500 |
parents | 412ca096a9ba |
children | 8665160f0f3d |
line wrap: on
line diff
1.1 --- a/clojure/com/aurellem/gb/items.clj Tue Mar 20 05:18:31 2012 -0500 1.2 +++ b/clojure/com/aurellem/gb/items.clj Tue Mar 20 17:13:12 2012 -0500 1.3 @@ -212,12 +212,12 @@ 1.4 (defn set-inventory [^SaveState state new-inventory] 1.5 (set-inv-mem state (inventory-codes new-inventory))) 1.6 1.7 -(defn give 1.8 +(defn give-items 1.9 ([^SaveState state items] 1.10 (set-inventory state 1.11 (concat items (inventory state)))) 1.12 ([items] 1.13 - (give @current-state items))) 1.14 + (give-items @current-state items))) 1.15 1.16 (defn clear-inventory 1.17 ([^SaveState state]