Fix Imposter looplock

This commit is contained in:
DizzyEggg 2021-06-10 13:45:24 +02:00 committed by GitHub
parent c6f3b7f571
commit 179ac9c1e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3923,6 +3923,7 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
&& !(gBattleStruct->illusion[BATTLE_OPPOSITE(battler)].on)
&& !(gStatuses3[BATTLE_OPPOSITE(battler)] & STATUS3_SEMI_INVULNERABLE))
{
gBattlerAttacker = battler;
gBattlerTarget = BATTLE_OPPOSITE(battler);
BattleScriptPushCursorAndCallback(BattleScript_ImposterActivates);
effect++;