view clojure/com/aurellem/gb/saves.clj @ 180:4f5ea93cbaca

determined location of pokemon types; added functions for reading/setting them.
author Robert McIntyre <rlm@mit.edu>
date Thu, 22 Mar 2012 01:25:39 -0500
parents d63886d63b2f
children 5becef6312b9
line wrap: on
line source
1 (ns com.aurellem.gb.saves
2 (:use (com.aurellem.gb gb-driver))
3 (:import [com.aurellem.gb.gb_driver SaveState]))
5 (defn pre-wild-battle [] (read-state "prepare-for-battle"))
7 (defn pre-trainer-battle []
8 (read-state "pre-trainer-battle"))