diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-10-27 00:04:18 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-10-27 00:04:18 +0200 |
commit | 0e6fbbfe091a260f627427ce4f204c192c9dbcc3 (patch) | |
tree | 30bf17f48b00223cb42b720061285052cb770976 /src | |
parent | 52be8eeaf15da7b281d48c51b1f4d06740a86c76 (diff) |
Make battle tower compile
Diffstat (limited to 'src')
-rw-r--r-- | src/battle_dome.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/battle_dome.c b/src/battle_dome.c index 8c2fa12fd..00bf9646b 100644 --- a/src/battle_dome.c +++ b/src/battle_dome.c @@ -57,18 +57,12 @@ struct UnkStruct_860DD10 extern void sub_81B8558(void); extern u32 sub_81A39C4(void); -extern u16 sub_8162548(u8, u8); -extern u16 RandomizeFacilityTrainerMonId(u16); -extern u8 SetFacilityPtrsGetLevel(void); extern u16 sub_81A5060(u8 monId, u8 moveSlotId); extern u8 sub_81A50F0(u8, u8); extern u8 sub_81A50B0(u8); -extern void SetBattleFacilityTrainerGfxId(u16, u8); extern void sub_81A4C30(void); extern bool8 sub_81A3610(void); extern u16 sub_81A4FF0(u8); -extern u8 GetFrontierTrainerFrontSpriteId(u16); -extern u8 GetFrontierOpponentClass(u16); extern void ReducePlayerPartyToThree(void); extern u8 gUnknown_0203CEF8[]; @@ -5561,7 +5555,7 @@ static u16 GetWinningMove(s32 winnerTournamentId, s32 loserTournamentId, u8 roun u16 bestScore = 0; u16 bestId = 0; s32 movePower = 0; - SetFacilityPtrsGetLevel(); // Unused return variable. + SetFacilityPtrsGetLevel(); // Calc move points of all 4 moves for all 3 pokemon hitting all 3 target mons. for (i = 0; i < 3; i++) @@ -6425,7 +6419,7 @@ static void DecideRoundWinners(u8 roundId) static void CopyDomeTrainerName(u8 *dst, u16 trainerId) { s32 i = 0; - SetFacilityPtrsGetLevel(); // Unused return value. + SetFacilityPtrsGetLevel(); if (trainerId == TRAINER_FRONTIER_BRAIN) { |