through sub_80E9BA8

This commit is contained in:
PikalaxALT
2017-10-26 08:45:41 -04:00
parent 2aa6dbe473
commit de5d9361f9
2 changed files with 27 additions and 54 deletions
+27
View File
@@ -893,3 +893,30 @@ void sub_80E9AD0(void)
}
}
}
void sub_80E9B70(void)
{
u16 sbr_e;
sub_80E9AD0();
IncrementGameStat(GAME_STAT_MOVED_SECRET_BASE);
sbr_e = gSaveBlock1Ptr->secretBases[0].sbr_field_e;
sub_80E8AF0(&gSaveBlock1Ptr->secretBases[0]);
gSaveBlock1Ptr->secretBases[0].sbr_field_e = sbr_e;
}
u8 sub_80E9BA8(void)
{
u8 tot;
s16 i;
tot = 0;
for (i = 1; i < 20; i ++)
{
if (sub_80E9878(i) == TRUE)
{
tot ++;
}
}
return tot;
}