Seems I have found a solution to using multiple stat items at once. Find def pbBagUseItem, put these codes between the line of ret = false and screen.pbRefresh.
Ruby:
max_at_once = ItemHandlers.triggerUseOnPokemonMaximum(item, pkmn)
max_at_once = [max_at_once, $bag.quantity(item)].min
if max_at_once > 1
qty = pbChooseNumber(
_INTL("How many {1} do you want to use?", GameData::Item.get(item).portion_name_plural), max_at_once
)
end
And add && qty > 0 after if pbCheckUseOnPokemon(item, pkmn, screen)
This section is for the discussion of the tutorials and resources on Eevee Expo. To find tutorials and resources, check out the Tutorial and Resource Manager for optimal navigation.