• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] How I set it up when reaching the item limit. Do new items received be taken to the Item Deposit? My game has a medical item limiting system. When rec

In the file PItem_Bag, in the class:
Code:
class PokemonBag
You'll have to rework the function:
Code:
  def pbStoreItem(item,qty=1)
Check if the item is in the pocket of medicines, then check the quantity of items with the function pbQuantity(item) and use your limit.
 
I wanted to know how to write scripts like you, but it's not the case kkk

I don't understand. What did you want? What is not the case? What does "kkk" mean?
 
Back
Top