• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Random Pokémon selector

Resource Random Pokémon selector 1.0.1

i find the problem friend, on your banned list dont have Zarude :v LOL, is it ?
Untitled.png
It's there. It shouldn't be possible for this script to spit out Zarude for this reason (and why I asked for a screenshot of your event).
 
View attachment 9161
It's there. It shouldn't be possible for this script to spit out Zarude for this reason (and why I asked for a screenshot of your event).
i searched in the my script version, and dont has Zarude. :( i think is not your fault, i can resolved it fast, but wif u need my print, wait a second >>
YEP, i excluded "melta,melmetal and zurude" when i put news pokemons, i looked the dowloaded script on dowloads, sorry for the troubles XD

1646169617895.png
 
I can receive Pokemon, but the option doesn't work (whiteList, blackList, base only, all don't work though I change many times)
This is my script command:
pkmn = pbChooseRandomPokemon(
whiteList=[:MOMO,:YUKIONNA,:INUGAMI],
blackList=nil,
addList=nil,
base_only=true,
use_gen=nil)
pkmn = pbChooseRandomPokemon
pbAddPokemon(pkmn, 5)
 
Oh that's my fault. I forgot this resource only returns the symbolic name of the Pokémon.
Try this:
Ruby:
Expand Collapse Copy
pkmn = Pokemon.new(pbChooseRandomPokemon, 5)
pkmn.iv[:HP] = 31
pbAddPokemon(pkmn)
I just solved it! It's finally working! Thank you very much!
 
Hello, I get this error'
Code:
Expand Collapse Copy
[2022-10-17 14:51:41 +0700]
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.5]

Script error in event 13 (coords 7,5), map 15 (Home)
Exception: NoMethodError
Message: undefined method `pbChooseRandomPokemon' for #<Interpreter @event_id: 13>

***Full script:
pkmn = pbChooseRandomPokemon(
whiteList=nil,
blackList="suggested",
addlist=nil,
base_only=true,
use_gen=nil)
pbAddPokemon(pkmn, 5)

Backtrace:
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'
Interpreter:90:in `loop'
Interpreter:90:in `update'
[Following Pokemon EX] Refresh.rb:255:in `update'
Scene_Map:160:in `block in update'
 
Hello, I get this error'
Code:
Expand Collapse Copy
[2022-10-17 14:51:41 +0700]
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.5]

Script error in event 13 (coords 7,5), map 15 (Home)
Exception: NoMethodError
Message: undefined method `pbChooseRandomPokemon' for #<Interpreter @event_id: 13>

***Full script:
pkmn = pbChooseRandomPokemon(
whiteList=nil,
blackList="suggested",
addlist=nil,
base_only=true,
use_gen=nil)
pbAddPokemon(pkmn, 5)

Backtrace:
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'
Interpreter:90:in `loop'
Interpreter:90:in `update'
[Following Pokemon EX] Refresh.rb:255:in `update'
Scene_Map:160:in `block in update'
I think that error would only show if you haven't installed the plugin correctly/compiled your plugins.
 
Back
Top