mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-09 04:13:03 -05:00
Fixes inaccurate save / restore in Fling script (#7811)
This commit is contained in:
parent
a4ecd7338b
commit
e9911d4d19
|
|
@ -792,13 +792,13 @@ BattleScript_FlingLightBall:
|
|||
goto BattleScript_FlingEnd
|
||||
BattleScript_FlingMentalHerb:
|
||||
curecertainstatuses
|
||||
savetarget
|
||||
saveattacker
|
||||
copybyte gBattlerAttacker, gBattlerTarget
|
||||
playanimation BS_ATTACKER, B_ANIM_HELD_ITEM_EFFECT, NULL
|
||||
printfromtable gMentalHerbCureStringIds
|
||||
waitmessage B_WAIT_TIME_LONG
|
||||
updatestatusicon BS_ATTACKER
|
||||
restoretarget
|
||||
restoreattacker
|
||||
goto BattleScript_FlingEnd
|
||||
BattleScript_FlingPoisonBarb:
|
||||
seteffectsecondary BS_ATTACKER, BS_TARGET, MOVE_EFFECT_POISON
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user