mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 20:47:40 +01:00
Merge pull request #110 from thechurchofcage/epsilon
Minor Doubles ability fixes
This commit is contained in:
commit
e92a0816fd
@ -7873,6 +7873,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr
|
|||||||
{
|
{
|
||||||
BattleScriptPush(BS_ptr);
|
BattleScriptPush(BS_ptr);
|
||||||
gBattleScripting.battler = gActiveBattler;
|
gBattleScripting.battler = gActiveBattler;
|
||||||
|
gBattlerAbility = gActiveBattler;
|
||||||
gBattlescriptCurrInstr = BattleScript_AbilityNoStatLoss;
|
gBattlescriptCurrInstr = BattleScript_AbilityNoStatLoss;
|
||||||
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
||||||
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
||||||
@ -7888,6 +7889,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr
|
|||||||
{
|
{
|
||||||
BattleScriptPush(BS_ptr);
|
BattleScriptPush(BS_ptr);
|
||||||
gBattleScripting.battler = gActiveBattler;
|
gBattleScripting.battler = gActiveBattler;
|
||||||
|
gBattlerAbility = gActiveBattler;
|
||||||
gBattlescriptCurrInstr = BattleScript_AbilityNoSpecificStatLoss;
|
gBattlescriptCurrInstr = BattleScript_AbilityNoSpecificStatLoss;
|
||||||
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
||||||
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
||||||
@ -7901,6 +7903,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr
|
|||||||
{
|
{
|
||||||
BattleScriptPush(BS_ptr);
|
BattleScriptPush(BS_ptr);
|
||||||
gBattleScripting.battler = gActiveBattler;
|
gBattleScripting.battler = gActiveBattler;
|
||||||
|
gBattlerAbility = gActiveBattler;
|
||||||
gBattlescriptCurrInstr = BattleScript_AbilityNoSpecificStatLoss;
|
gBattlescriptCurrInstr = BattleScript_AbilityNoSpecificStatLoss;
|
||||||
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
gLastUsedAbility = gBattleMons[gActiveBattler].ability;
|
||||||
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
RecordAbilityBattle(gActiveBattler, gLastUsedAbility);
|
||||||
|
Loading…
Reference in New Issue
Block a user