Document Hall of Fame scripts
This commit is contained in:
@@ -4033,7 +4033,7 @@ void sub_813BA30(void)
|
||||
}
|
||||
}
|
||||
|
||||
void sub_813BA60(void)
|
||||
void UpdateTrainerFanClubGameClear(void)
|
||||
{
|
||||
if (!((gSaveBlock1Ptr->vars[VAR_FANCLUB_UNKNOWN_1 - VARS_START] >> 7) & 1))
|
||||
{
|
||||
|
||||
@@ -129,7 +129,7 @@ void sub_81AFDA0(void)
|
||||
gSaveBlock2Ptr->field_A8 |= 0x8;
|
||||
}
|
||||
|
||||
void sub_81AFDD0(void)
|
||||
void SetChampionSaveWarp(void)
|
||||
{
|
||||
gSaveBlock2Ptr->specialSaveWarpFlags |= 0x80;
|
||||
gSaveBlock2Ptr->specialSaveWarpFlags |= CHAMPION_SAVEWARP;
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "party_menu.h"
|
||||
#include "pokemon_jump.h"
|
||||
#include "random.h"
|
||||
#include "save_location.h"
|
||||
#include "script.h"
|
||||
#include "script_pokemon_util_80F87D8.h"
|
||||
#include "sound.h"
|
||||
@@ -1078,7 +1079,7 @@ u32 sub_8013B8C(struct UnkStruct_Group *arg0, s32 id)
|
||||
|
||||
if (gUnknown_02022C2C == 4 && structPtr->unk.field_0.unk_00.unk_01_2 != 3)
|
||||
{
|
||||
if (!(gSaveBlock2Ptr->specialSaveWarpFlags & 0x80))
|
||||
if (!(gSaveBlock2Ptr->specialSaveWarpFlags & CHAMPION_SAVEWARP))
|
||||
return 1;
|
||||
else if (structPtr->unk.field_0.unk_00.isChampion)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user