Completed Take Heart's effect

It was missing its "heals any status condition" effect because I'm dumb and I forgot to actually go and do it.
This commit is contained in:
LOuroboros 2023-03-29 00:21:09 -03:00
parent ed9e860400
commit 5bde98741a

View File

@ -479,10 +479,22 @@ BattleScript_AxeKickHitFromAtkString:
end
BattleScript_EffectTakeHeart::
printstring STRINGID_EMPTYSTRING3
attackcanceler
accuracycheck BattleScript_AxeKickMissedDoDamage, ACC_CURR_MOVE
attackstring
ppreduce
attackanimation
waitanimation
jumpifstatus BS_ATTACKER, STATUS1_ANY, BattleScript_TakeHeart_HealStatusConditions
goto BattleScript_TakeHeart_TryToRaiseSpecialStats
BattleScript_TakeHeart_HealStatusConditions:
curestatus BS_ATTACKER
updatestatusicon BS_ATTACKER
printstring STRINGID_PKMNSTATUSNORMAL
waitmessage B_WAIT_TIME_LONG
BattleScript_TakeHeart_TryToRaiseSpecialStats:
modifybattlerstatstage BS_ATTACKER, STAT_SPATK, INCREASE, 1, BattleScript_TakeHeartTrySpDef, ANIM_ON
BattleScript_TakeHeartTrySpDef:
printstring STRINGID_EMPTYSTRING3
modifybattlerstatstage BS_ATTACKER, STAT_SPDEF, INCREASE, 1, BattleScript_TakeHeart_MoveEnd, ANIM_ON
BattleScript_TakeHeart_MoveEnd:
goto BattleScript_MoveEnd