Begin documenting Battle Pike and Frontier Util

This commit is contained in:
GriffinR authored and huderlem committed 2019-11-25 18:37:48 -06:00
1 parent cfdde42b00
commit 4dfa959fa2
73 files changed
+2111 -2245

No files matched your search

+2 -2
View File
@@ -187,7 +187,7 @@ static void InitFactoryChallenge(void)
u32 lvlMode = gSaveBlock2Ptr->frontier.lvlMode;
u32 battleMode = VarGet(VAR_FRONTIER_BATTLE_MODE);
gSaveBlock2Ptr->frontier.field_CA8 = 0;
gSaveBlock2Ptr->frontier.challengeOutcome = 0;
gSaveBlock2Ptr->frontier.curChallengeBattleNum = 0;
gSaveBlock2Ptr->frontier.field_CA9_a = 0;
gSaveBlock2Ptr->frontier.field_CA9_b = 0;
@@ -254,7 +254,7 @@ static void SetBattleFactoryData(void)
static void sub_81A613C(void)
{
gSaveBlock2Ptr->frontier.field_CA8 = gSpecialVar_0x8005;
gSaveBlock2Ptr->frontier.challengeOutcome = gSpecialVar_0x8005;
VarSet(VAR_TEMP_0, 0);
gSaveBlock2Ptr->frontier.field_CA9_a = 1;
sub_81A4C30();