mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-19 09:54:19 +01:00
UTurn Battle Arena no switchin try number 2
This commit is contained in:
parent
c93ab64e46
commit
e319c7da61
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user