Make Charge raise sp.def

This commit is contained in:
DizzyEggg 2020-02-08 11:55:16 +01:00
parent 6d39eb8826
commit e7d5ebb3b6

View file

@ -4200,6 +4200,14 @@ BattleScript_EffectCharge::
setcharge setcharge
attackanimation attackanimation
waitanimation waitanimation
setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_EffectChargeString
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 0x2, BattleScript_EffectChargeString
setgraphicalstatchangevalues
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
printfromtable gStatUpStringIds
waitmessage 0x40
BattleScript_EffectChargeString:
printstring STRINGID_PKMNCHARGINGPOWER printstring STRINGID_PKMNCHARGINGPOWER
waitmessage 0x40 waitmessage 0x40
goto BattleScript_MoveEnd goto BattleScript_MoveEnd