summaryrefslogtreecommitdiff
path: root/src/save.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-01-05 22:50:45 -0500
committerYamaArashi <YamaArashi@users.noreply.github.com>2017-01-05 19:50:45 -0800
commit94fb9ab2a9ed111c72a80693d8f29ea4bc531898 (patch)
tree52132446f6fd434cf710b54da5d41a9c0130f437 /src/save.c
parent8be8af5dbe3d100a395be8e2bb441f1b983978d6 (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/save.c')
-rw-r--r--src/save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/save.c b/src/save.c
index 2771b4ea5..49db679f8 100644
--- a/src/save.c
+++ b/src/save.c
@@ -548,8 +548,8 @@ u8 sub_8125C3C(u8 a1)
for (i = 28; i < 32; i++)
EraseFlashSector(i);
case 3:
- if (sub_8053108(10) < 999)
- sav12_xor_increment(10);
+ if (GetGameStat(10) < 999)
+ IncrementGameStat(10);
for (i = 0; i < 2; i++)
sub_81253C8(28 + i, gHallOfFameSaveSectionLocations[i].data, gHallOfFameSaveSectionLocations[i].size);
SaveSerializedGame();