mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 03:33:36 +01:00
Update src/battle_script_commands.c
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
This commit is contained in:
parent
a4204e5491
commit
b68c596ce5
@ -12347,7 +12347,7 @@ static void Cmd_trywish(void)
|
||||
break;
|
||||
case 1: // heal effect
|
||||
PREPARE_MON_NICK_WITH_PREFIX_BUFFER(gBattleTextBuff1, gBattlerTarget, gWishFutureKnock.wishMonId[gBattlerTarget])
|
||||
#if B_WISH >= GEN_5
|
||||
#if B_WISH_HP_SOURCE >= GEN_5
|
||||
gBattleMoveDamage = max(1, gBattleMons[gWishFutureKnock.wishMonId[gBattlerTarget]].maxHP / 2);
|
||||
#else
|
||||
gBattleMoveDamage = max(1, gBattleMons[gBattlerTarget].maxHP / 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user