Generate the Stadium 2 checksum data with pfero's tool instead of raw INCBINs

This commit is contained in:
Rangi
2020-07-23 22:00:59 -04:00
parent dd369f3199
commit 2c5055f610
10 changed files with 173 additions and 18 deletions

View File

@@ -116,9 +116,16 @@ pokecrystal_au_opt = -Cjv -t PM_CRYSTAL -i BYTU -n 0 -k 01 -l 0x33 -m 0x10
pokecrystal_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 0 -k 01 -l 0x33 -m 0x10 -r 3 -p 0
pokecrystal11_debug_opt = -Cjv -t PM_CRYSTAL -i BYTE -n 1 -k 01 -l 0x33 -m 0x10 -r 3 -p 0
pokecrystal_base = us
pokecrystal11_base = us
pokecrystal_au_base = us
pokecrystal_debug_base = dbg
pokecrystal11_debug_base = dbg
%.gbc: $$(%_obj) layout.link
$(RGBLINK) -n $*.sym -m $*.map -l layout.link -o $@ $(filter %.o,$^)
$(RGBFIX) $($*_opt) $@
tools/stadium --base $($*_base) $@
### LZ compression rules