Draining abilities have the pop-up appear now

This commit is contained in:
DizzyEggg 2020-02-22 19:25:35 +01:00
parent b1b1bf7f12
commit da965700ff

View file

@ -2109,6 +2109,8 @@ BattleScript_EffectAbsorb::
setbyte cMULTISTRING_CHOOSER, 0x0 setbyte cMULTISTRING_CHOOSER, 0x0
goto BattleScript_AbsorbUpdateHp goto BattleScript_AbsorbUpdateHp
BattleScript_AbsorbLiquidOoze:: BattleScript_AbsorbLiquidOoze::
copybyte gBattlerAbility, gBattlerTarget
call BattleScript_AbilityPopUp
manipulatedamage DMG_CHANGE_SIGN manipulatedamage DMG_CHANGE_SIGN
setbyte cMULTISTRING_CHOOSER, 0x1 setbyte cMULTISTRING_CHOOSER, 0x1
BattleScript_AbsorbUpdateHp:: BattleScript_AbsorbUpdateHp::
@ -5251,6 +5253,8 @@ BattleScript_LeechSeedTurnDrain::
setbyte cMULTISTRING_CHOOSER, 0x3 setbyte cMULTISTRING_CHOOSER, 0x3
goto BattleScript_LeechSeedTurnPrintAndUpdateHp goto BattleScript_LeechSeedTurnPrintAndUpdateHp
BattleScript_LeechSeedTurnPrintLiquidOoze:: BattleScript_LeechSeedTurnPrintLiquidOoze::
copybyte gBattlerAbility, gBattlerAttacker
call BattleScript_AbilityPopUp
setbyte cMULTISTRING_CHOOSER, 0x4 setbyte cMULTISTRING_CHOOSER, 0x4
BattleScript_LeechSeedTurnPrintAndUpdateHp:: BattleScript_LeechSeedTurnPrintAndUpdateHp::
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_x100000 orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_x100000
@ -6513,6 +6517,7 @@ BattleScript_MoveHPDrain_PPLoss::
BattleScript_MoveHPDrain:: BattleScript_MoveHPDrain::
attackstring attackstring
pause 0x20 pause 0x20
call BattleScript_AbilityPopUp
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE
healthbarupdate BS_TARGET healthbarupdate BS_TARGET
datahpupdate BS_TARGET datahpupdate BS_TARGET
@ -6526,6 +6531,7 @@ BattleScript_MoveStatDrain_PPLoss::
BattleScript_MoveStatDrain:: BattleScript_MoveStatDrain::
attackstring attackstring
pause 0x20 pause 0x20
call BattleScript_AbilityPopUp
setgraphicalstatchangevalues setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1 playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
waitanimation waitanimation