bool AttemptToUseHealingItem(ItemType type, int power) { if(itemsOwned[type] > 0 && PlayerIsInjured()) { HealPlayerByPercent(power); --itemsOwned[type]; ShowAllItemCounts(); return true; } return false; }
void ItemBattleMenuAppear(Window *window) { MenuAppear(window); ShowAllItemCounts(); }
void ItemMainMenuAppear(Window *window) { MenuAppear(window); ShowAllItemCounts(); }
void DrawMainItemShopWindow(void) { ShowAllItemCounts(); ShowMainWindowRow(0, "Gold", UpdateGoldText()); }