mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
fix BattleScript_TargetAbilityStatRaiseRet overwriting gBattlerAttacker
This commit is contained in:
parent
8983739267
commit
c5c0e91215
@ -10200,6 +10200,7 @@ BattleScript_SymbiosisActivates::
|
|||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_TargetAbilityStatRaiseRet::
|
BattleScript_TargetAbilityStatRaiseRet::
|
||||||
|
copybyte sSAVED_BATTLER, gBattlerAttacker
|
||||||
copybyte gBattlerAbility, gEffectBattler
|
copybyte gBattlerAbility, gEffectBattler
|
||||||
copybyte gBattlerAttacker, gBattlerTarget
|
copybyte gBattlerAttacker, gBattlerTarget
|
||||||
call BattleScript_AbilityPopUp
|
call BattleScript_AbilityPopUp
|
||||||
@ -10207,6 +10208,7 @@ BattleScript_TargetAbilityStatRaiseRet::
|
|||||||
setgraphicalstatchangevalues
|
setgraphicalstatchangevalues
|
||||||
call BattleScript_StatUp
|
call BattleScript_StatUp
|
||||||
BattleScript_TargetAbilityStatRaiseRet_End:
|
BattleScript_TargetAbilityStatRaiseRet_End:
|
||||||
|
copybyte gBattlerAttacker, sSAVED_BATTLER
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_PokemonCantUseTheMove::
|
BattleScript_PokemonCantUseTheMove::
|
||||||
|
Loading…
Reference in New Issue
Block a user