commit
2813b4f9bf
2 changed files with 12 additions and 11 deletions
|
@ -888,10 +888,11 @@ BattleScript_EffectFlameBurst:
|
|||
|
||||
BattleScript_MoveEffectFlameBurst::
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
copybyte sBATTLER, sSAVED_BATTLER
|
||||
printstring STRINGID_BURSTINGFLAMESHIT
|
||||
waitmessage B_WAIT_TIME_LONG
|
||||
savetarget
|
||||
copybyte gBattlerTarget, sBATTLER
|
||||
copybyte gBattlerTarget, sSAVED_BATTLER
|
||||
healthbarupdate BS_TARGET
|
||||
datahpupdate BS_TARGET
|
||||
tryfaintmon BS_TARGET, FALSE, NULL
|
||||
|
|
|
@ -3189,7 +3189,7 @@ void SetMoveEffect(bool32 primary, u32 certain)
|
|||
case MOVE_EFFECT_FLAME_BURST:
|
||||
if (IsBattlerAlive(BATTLE_PARTNER(gBattlerTarget)) && GetBattlerAbility(BATTLE_PARTNER(gBattlerTarget)) != ABILITY_MAGIC_GUARD)
|
||||
{
|
||||
gBattleScripting.battler = BATTLE_PARTNER(gBattlerTarget);
|
||||
gBattleScripting.savedBattler = BATTLE_PARTNER(gBattlerTarget);
|
||||
gBattleMoveDamage = gBattleMons[BATTLE_PARTNER(gBattlerTarget)].hp / 16;
|
||||
if (gBattleMoveDamage == 0)
|
||||
gBattleMoveDamage = 1;
|
||||
|
|
Loading…
Reference in a new issue