B_LAST_USED_BALL and .importance (#5834)
This commit is contained in:
parent
b22a867e11
commit
a797e901b2
@ -569,7 +569,8 @@ void HandleAction_ThrowBall(void)
|
||||
gBattle_BG0_X = 0;
|
||||
gBattle_BG0_Y = 0;
|
||||
gLastUsedItem = gBallToDisplay;
|
||||
RemoveBagItem(gLastUsedItem, 1);
|
||||
if (!ItemId_GetImportance(gLastUsedItem))
|
||||
RemoveBagItem(gLastUsedItem, 1);
|
||||
gBattlescriptCurrInstr = BattleScript_BallThrow;
|
||||
gCurrentActionFuncId = B_ACTION_EXEC_SCRIPT;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user