view 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
line wrap: on
line source
1 (ns com.aurellem.gb.constants)
3 (def pokemon-record-width 44)
5 (def end-of-name-marker 0x50)
6 (def max-name-length 10)
7 (def name-width 11)
9 (def pokemon-record-begin 0xD162)
10 (def pokemon-record-end 0xD2F5)
12 (def D-memory-end 0xD41B)