Multi battle support for var arguments
This commit is contained in:
parent
a42bd3f37d
commit
9a7963e4ce
1 changed files with 3 additions and 3 deletions
|
@ -2155,9 +2155,9 @@ void DoSpecialTrainerBattle(void)
|
|||
gBattleTypeFlags = BATTLE_TYPE_TRAINER | BATTLE_TYPE_DOUBLE | BATTLE_TYPE_TWO_OPPONENTS | BATTLE_TYPE_MULTI | BATTLE_TYPE_INGAME_PARTNER;
|
||||
}
|
||||
|
||||
gPartnerSpriteId = gSpecialVar_0x8007;
|
||||
FillPartnerParty(gSpecialVar_0x8006 + TRAINER_CUSTOM_PARTNER);
|
||||
gPartnerTrainerId = gSpecialVar_0x8006 + TRAINER_CUSTOM_PARTNER;
|
||||
gPartnerSpriteId = VarGet(gSpecialVar_0x8007);
|
||||
gPartnerTrainerId = VarGet(gSpecialVar_0x8006) + TRAINER_CUSTOM_PARTNER;
|
||||
FillPartnerParty(gPartnerTrainerId);
|
||||
CreateTask(Task_StartBattleAfterTransition, 1);
|
||||
PlayMapChosenOrBattleBGM(0);
|
||||
if (gSpecialVar_0x8005 & MULTI_BATTLE_2_VS_WILD)
|
||||
|
|
Loading…
Reference in a new issue