Review changes

This commit is contained in:
GriffinR
2020-01-24 12:39:40 -05:00
parent ce5bc554e5
commit 9ecd065b50
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -697,12 +697,12 @@ struct TrainerTower
u32 bestTime; u32 bestTime;
u8 floorsCleared; u8 floorsCleared;
u8 unk9; u8 unk9;
u8 receivedPrize:1; bool8 receivedPrize:1;
u8 checkedFinalTime:1; bool8 checkedFinalTime:1;
u8 spokeToOwner:1; bool8 spokeToOwner:1;
u8 hasLost:1; bool8 hasLost:1;
u8 unkA_4:1; bool8 unkA_4:1;
u8 validated:1; bool8 validated:1;
}; };
struct TrainerRematchState struct TrainerRematchState
+2 -2
View File
@@ -492,7 +492,7 @@ void InitTrainerTowerBattleStruct(void)
void FreeTrainerTowerBattleStruct(void) void FreeTrainerTowerBattleStruct(void)
{ {
FREE_AND_SET_NULL(sTrainerTowerOpponent) FREE_AND_SET_NULL(sTrainerTowerOpponent);
} }
void GetTrainerTowerOpponentWinText(u8 *dest, u8 opponentIdx) void GetTrainerTowerOpponentWinText(u8 *dest, u8 opponentIdx)
@@ -551,7 +551,7 @@ static void SetUpTrainerTowerDataStruct(void) // fakematching
static void FreeTrainerTowerDataStruct(void) static void FreeTrainerTowerDataStruct(void)
{ {
FREE_AND_SET_NULL(sTrainerTowerState) FREE_AND_SET_NULL(sTrainerTowerState);
} }
static void InitTrainerTowerFloor(void) static void InitTrainerTowerFloor(void)