mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-30 14:20:42 +01:00
fix power herb actiation message
This commit is contained in:
parent
4c9660bff1
commit
5c9c425590
@ -7288,9 +7288,14 @@ static void Cmd_various(void)
|
||||
return;
|
||||
case VARIOUS_JUMP_IF_NO_HOLD_EFFECT:
|
||||
if (GetBattlerHoldEffect(gActiveBattler, TRUE) != gBattlescriptCurrInstr[3])
|
||||
{
|
||||
gBattlescriptCurrInstr = T1_READ_PTR(gBattlescriptCurrInstr + 4);
|
||||
}
|
||||
else
|
||||
{
|
||||
gLastUsedItem = gBattleMons[gActiveBattler].item; // For B_LAST_USED_ITEM
|
||||
gBattlescriptCurrInstr += 8;
|
||||
}
|
||||
return;
|
||||
case VARIOUS_JUMP_IF_NO_ALLY:
|
||||
if (!IsBattlerAlive(BATTLE_PARTNER(gActiveBattler)))
|
||||
|
Loading…
Reference in New Issue
Block a user