diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-01-05 22:50:45 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-05 19:50:45 -0800 |
commit | 94fb9ab2a9ed111c72a80693d8f29ea4bc531898 (patch) | |
tree | 52132446f6fd434cf710b54da5d41a9c0130f437 /src/trainer_card.c | |
parent | 8be8af5dbe3d100a395be8e2bb441f1b983978d6 (diff) |
more labels (#165)
* more labels and match sub_810745C
* formatting
* move BattleStruct to battle.h and combine both loose structs
* oops
* more labels for rom4.c
Diffstat (limited to 'src/trainer_card.c')
-rw-r--r-- | src/trainer_card.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/trainer_card.c b/src/trainer_card.c index d2d6b922d..83551eb2b 100644 --- a/src/trainer_card.c +++ b/src/trainer_card.c @@ -283,8 +283,8 @@ void sub_8093390(struct TrainerCard *arg1) { arg1->playTimeHours = gSaveBlock2.playTimeHours; arg1->playTimeMinutes = gSaveBlock2.playTimeMinutes; - playTime = sub_8053108(GAME_STAT_FIRST_HOF_PLAY_TIME); - enteredHallOfFame = sub_8053108(GAME_STAT_ENTERED_HOF); + playTime = GetGameStat(GAME_STAT_FIRST_HOF_PLAY_TIME); + enteredHallOfFame = GetGameStat(GAME_STAT_ENTERED_HOF); if (!enteredHallOfFame) { playTime = 0; } @@ -345,7 +345,7 @@ u8 sub_80934C4(u8 id) { } static u32 sav12_xor_get_clamped_above(u8 index, u32 maxVal) { - u32 value = sub_8053108(index); + u32 value = GetGameStat(index); if (value > maxVal) { value = maxVal; |