about summary refs log tree commit diff stats
path: root/gba/source/gamedata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gba/source/gamedata.c')
-rw-r--r--gba/source/gamedata.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gba/source/gamedata.c b/gba/source/gamedata.c index ae593b1..271eaf9 100644 --- a/gba/source/gamedata.c +++ b/gba/source/gamedata.c
@@ -140,9 +140,6 @@ bool initSaveData(struct GameData* gameData)
140 pSaveBlock1 gSaveBlock1; 140 pSaveBlock1 gSaveBlock1;
141 pSaveBlock2 gSaveBlock2; 141 pSaveBlock2 gSaveBlock2;
142 pSaveBlock3 gSaveBlock3; 142 pSaveBlock3 gSaveBlock3;
143 struct BaseStats* gBaseStats;
144 const u32 (*gExpTables)[101];
145 const u16* gNatOrder;
146 //u32 titlemid = 0; 143 //u32 titlemid = 0;
147 144
148 // get the address of the save loading function. 145 // get the address of the save loading function.
@@ -345,9 +342,6 @@ bool initSaveData(struct GameData* gameData)
345 //mainloop = (void(*)()) 0x8000429; 342 //mainloop = (void(*)()) 0x8000429;
346 //titlemid = 0x807928f; 343 //titlemid = 0x807928f;
347 //load_pokemon = (void(*)()) 0x804c245; 344 //load_pokemon = (void(*)()) 0x804c245;
348 gBaseStats = (struct BaseStats*) ( GAME_FR ? 0 : 0x82547d0 );
349 gExpTables = (ExperienceTables) ( GAME_FR ? 0 : 0x8253b30 );
350 gNatOrder = (const u16*) ( GAME_FR ? 0 : 0x825203a );
351 345
352 break; 346 break;
353 } 347 }
@@ -518,9 +512,6 @@ bool initSaveData(struct GameData* gameData)
518 gameData->SaveBlock1 = gSaveBlock1; 512 gameData->SaveBlock1 = gSaveBlock1;
519 gameData->SaveBlock2 = gSaveBlock2; 513 gameData->SaveBlock2 = gSaveBlock2;
520 gameData->SaveBlock3 = gSaveBlock3; 514 gameData->SaveBlock3 = gSaveBlock3;
521 gameData->baseStats = gBaseStats;
522 gameData->expTables = gExpTables;
523 gameData->natOrder = gNatOrder;
524 515
525 return true; 516 return true;
526} 517}