Merge pull request #1541 from rh-hideout/DizzyEggg-patch-2

Fix Imposter looplock
This commit is contained in:
ghoulslash 2021-06-10 11:59:29 -06:00 committed by GitHub
commit 70fd98a009
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++;