Merge pull request #1541 from rh-hideout/DizzyEggg-patch-2
Fix Imposter looplock
This commit is contained in:
commit
70fd98a009
1 changed files with 1 additions and 0 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue