mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-19 12:08:34 +01:00
record abilities from wandering spirit
This commit is contained in:
parent
25a4da71fe
commit
c0f3b7c3b4
@ -4826,10 +4826,10 @@ u8 AbilityBattleEffects(u8 caseID, u8 battler, u16 ability, u8 special, u16 move
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
gLastUsedAbility = gBattleMons[gBattlerAttacker].ability;
|
gLastUsedAbility = gBattleMons[gBattlerAttacker].ability;
|
||||||
|
|
||||||
gBattleMons[gBattlerAttacker].ability = gBattleMons[gBattlerTarget].ability;
|
gBattleMons[gBattlerAttacker].ability = gBattleMons[gBattlerTarget].ability;
|
||||||
gBattleMons[gBattlerTarget].ability = gLastUsedAbility;
|
gBattleMons[gBattlerTarget].ability = gLastUsedAbility;
|
||||||
|
RecordAbilityBattle(gBattlerAttacker, gBattleMons[gBattlerAttacker].ability);
|
||||||
|
RecordAbilityBattle(gBattlerTarget, gBattleMons[gBattlerTarget].ability);
|
||||||
BattleScriptPushCursor();
|
BattleScriptPushCursor();
|
||||||
gBattlescriptCurrInstr = BattleScript_WanderingSpiritActivates;
|
gBattlescriptCurrInstr = BattleScript_WanderingSpiritActivates;
|
||||||
effect++;
|
effect++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user