• 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!
  • 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 do I prevent pokeballs from being sold at Mart?

Just do not add PokeBalls to the PokeMart array.

Code:
pbPokemonMart([
[S]:POKEBALL,:GREATBALL,
:ULTRABALL,[/S]:POTION,
:SUPERPOTION,:HYPERPOTION,
:MAXPOTION,:FULLRESTORE,
:REVIVE,:ANTIDOTE,
:PARALYZEHEAL,:AWAKENING,
:BURNHEAL,:ICEHEAL,
:FULLHEAL,:ESCAPEROPE,
:REPEL,:SUPERREPEL,:MAXREPEL
])
 
Just do not add PokeBalls to the PokeMart array.

Code:
pbPokemonMart([
[S]:POKEBALL,:GREATBALL,
:ULTRABALL,[/S]:POTION,
:SUPERPOTION,:HYPERPOTION,
:MAXPOTION,:FULLRESTORE,
:REVIVE,:ANTIDOTE,
:PARALYZEHEAL,:AWAKENING,
:BURNHEAL,:ICEHEAL,
:FULLHEAL,:ESCAPEROPE,
:REPEL,:SUPERREPEL,:MAXREPEL
])

but I want them to be bought, but not that they can be sold in the mart ... given my game's farm system, that would unbalance him
 
Back
Top