mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-09 04:13:03 -05: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…
Reference in New Issue
Block a user