Fix Heal Block Leech Seed

This commit is contained in:
DizzyEggg 2020-06-22 10:40:08 +02:00
parent f2d2c1b76f
commit 8998e54ce7

View File

@ -5441,8 +5441,9 @@ BattleScript_LeechSeedTurnDrain::
datahpupdate BS_ATTACKER
copyword gBattleMoveDamage, gHpDealt
jumpifability BS_ATTACKER, ABILITY_LIQUID_OOZE, BattleScript_LeechSeedTurnPrintLiquidOoze
manipulatedamage DMG_BIG_ROOT
setbyte cMULTISTRING_CHOOSER, 0x3
jumpifstatus3 BS_TARGET, STATUS3_HEAL_BLOCK, BattleScript_LeechSeedHealBlock
manipulatedamage DMG_BIG_ROOT
goto BattleScript_LeechSeedTurnPrintAndUpdateHp
BattleScript_LeechSeedTurnPrintLiquidOoze::
copybyte gBattlerAbility, gBattlerAttacker
@ -5457,6 +5458,9 @@ BattleScript_LeechSeedTurnPrintAndUpdateHp::
tryfaintmon BS_ATTACKER, FALSE, NULL
tryfaintmon BS_TARGET, FALSE, NULL
end2
BattleScript_LeechSeedHealBlock:
setword gBattleMoveDamage, 0
goto BattleScript_LeechSeedTurnPrintAndUpdateHp
BattleScript_BideStoringEnergy::
printstring STRINGID_PKMNSTORINGENERGY