Document unk_8159F40 (pokedude battle party info)

This commit is contained in:
PikalaxALT
2019-10-22 11:24:09 -04:00
parent aabb95139d
commit 949a4c3b5d
8 changed files with 126 additions and 22 deletions
+1 -1
View File
@@ -1192,7 +1192,7 @@ static void TeachyTvPrepBattle(u8 taskId)
gSpecialVar_0x8004 = sStaticResources.whichScript;
gMain.savedCallback = TeachyTvRestorePlayerPartyCallback;
SavePlayerParty();
sub_8159F40();
InitPokedudePartyAndOpponent();
PlayMapChosenOrBattleBGM(MUS_DUMMY);
if (sStaticResources.whichScript == TTVSCR_BATTLE)
data[6] = 9;