annotate 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 |
rev |
line source |
rlm@179
|
1 (ns com.aurellem.gb.saves
|
rlm@179
|
2 (:use (com.aurellem.gb gb-driver))
|
rlm@179
|
3 (:import [com.aurellem.gb.gb_driver SaveState]))
|
rlm@179
|
4
|
rlm@179
|
5 (defn pre-wild-battle [] (read-state "prepare-for-battle"))
|
rlm@179
|
6
|
rlm@179
|
7 (defn pre-trainer-battle []
|
rlm@179
|
8 (read-state "pre-trainer-battle")) |