UTurn Battle Arena no switchin try number 2

This commit is contained in:
DizzyEggg 2020-07-08 17:50:12 +02:00
parent c93ab64e46
commit e319c7da61

View File

@ -1073,6 +1073,9 @@ void AnimTask_IsDoubleBattle(u8 taskId)
void AnimTask_CanBattlerSwitch(u8 taskId)
{
gBattleAnimArgs[ARG_RET_ID] = CanBattlerSwitch(GetAnimBattlerId(gBattleAnimArgs[0]));
if (gBattleTypeFlags & BATTLE_TYPE_ARENA)
gBattleAnimArgs[ARG_RET_ID] = TRUE;
else
gBattleAnimArgs[ARG_RET_ID] = CanBattlerSwitch(GetAnimBattlerId(gBattleAnimArgs[0]));
DestroyAnimVisualTask(taskId);
}