• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Random Pokémon selector

Resource Random Pokémon selector 1.0.1

ThatWelshOne_

Champion
Member
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).
 

tyssonpark

Novice
Member
Joined
Nov 13, 2021
Posts
23
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
 

Eften

Novice
Member
Joined
Mar 25, 2022
Posts
22
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)
 

wdmzggk

Novice
Member
Joined
Jun 11, 2022
Posts
16
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!
 

ardicoozer

Cooltrainer
Member
Joined
Sep 29, 2020
Posts
171
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'
 

ThatWelshOne_

Champion
Member
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