Mercurial > vba-clojure
annotate clojure/com/aurellem/gb/constants.clj @ 249:99227bec1123
Reworked the hxc definitions; they are now fns that optionally take a single rom arg and dynamically grab the data. Their commonalities are also consolidated into a single template function, hxc-thunk. Minor fixes include stripping pokenames of their padding and splitting the huge hxc-dialog string into a list.
author | Dylan Holmes <ocsenave@gmail.com> |
---|---|
date | Mon, 26 Mar 2012 03:45:24 -0500 |
parents | c9a855de1d07 |
children | 1f14c1b8af7e |
rev | line source |
---|---|
rlm@162 | 1 (ns com.aurellem.gb.constants) |
rlm@162 | 2 |
rlm@176 | 3 (def pokemon-record-width 44) |
rlm@176 | 4 |
rlm@176 | 5 (def end-of-name-marker 0x50) |
rlm@176 | 6 (def max-name-length 10) |
rlm@176 | 7 (def name-width 11) |
rlm@214 | 8 |
rlm@214 | 9 (def pokemon-record-begin 0xD162) |
rlm@222 | 10 (def pokemon-record-end 0xD2F5) |
rlm@222 | 11 |
rlm@222 | 12 (def D-memory-end 0xD41B) |