diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-08-18 17:36:59 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-08-18 17:36:59 -0400 |
commit | c9c42fb3319151221f317b3cbc255f6d117af5b9 (patch) | |
tree | 74b754f9343c0f9fb6154ea200408afc088a626d /gba/source/gamedata.h | |
parent | 8ad189bc5a88f43e688fc980db30169f0adac0fb (diff) | |
download | gen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.tar.gz gen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.tar.bz2 gen3uploader-c9c42fb3319151221f317b3cbc255f6d117af5b9.zip |
Removed dependency on ROM-internal arrays
I looked at the base stats array and determined that, especially if I limited it to just the data I needed, that it wouldn't be too bad a thing to just include it and the other two arrays I need in my multiboot image rather than reference the ones already located in the game ROM. This way, we get back compatibility with all previously-compatible ROMs, and not just ones that I have dumped. New issue: Deoxys's base stats are actually different per-game, though, so a special case will have to be written for that.
Diffstat (limited to 'gba/source/gamedata.h')
-rw-r--r-- | gba/source/gamedata.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gba/source/gamedata.h b/gba/source/gamedata.h index 247626a..979ef03 100644 --- a/gba/source/gamedata.h +++ b/gba/source/gamedata.h | |||
@@ -27,9 +27,6 @@ struct GameData { | |||
27 | pSaveBlock1 SaveBlock1; | 27 | pSaveBlock1 SaveBlock1; |
28 | pSaveBlock2 SaveBlock2; | 28 | pSaveBlock2 SaveBlock2; |
29 | pSaveBlock3 SaveBlock3; | 29 | pSaveBlock3 SaveBlock3; |
30 | struct BaseStats* baseStats; | ||
31 | ExperienceTables expTables; | ||
32 | const u16* natOrder; | ||
33 | }; | 30 | }; |
34 | 31 | ||
35 | bool initSaveData(struct GameData* gameData); | 32 | bool initSaveData(struct GameData* gameData); |