mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 11:43:37 +01:00
Merge pull request #1541 from rh-hideout/DizzyEggg-patch-2
Fix Imposter looplock
This commit is contained in:
commit
70fd98a009
@ -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…
x
Reference in New Issue
Block a user