• 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!
Resource icon

Resource Advanced Flexible Starter Selection 1.0

Limnodromus

Rookie
Member
Joined
Dec 4, 2020
Posts
2
Limnodromus submitted a new resource:

Advanced Flexible Starter Selection - A Pokemon selection screen that is easily customizable and works with any amount of Pokemon

#==========================================================================
# Flexible Advanced Starter Selection Script for Pokémon Essentials by Limnodromus
# Original version by shiney570.
#==========================================================================
# Included BG Art by Princess-Pheonix
#==========================================================================
#
#==========================================================================
# Installation...

Read more about this resource...
 
I would like to note that the select.png graphic is not showing up at all.
 
It would be nice if you'd add some example pictures of how this could look like
 
This is really cool!

Some screencaps for people that were wondering-
1620023424506.png
1620023410640.png

Darryl pointed out that the Selection sprite isn't appearing- that's because there's a typo in the code, in the line
Ruby:
Expand Collapse Copy
  @sprites["select"].setBitmap("Graphics/Pictures/SSelection Screen/select")
"SSelection" should be "Selection"

I also got an error for any Pokemon with form names in a Vanilla copy of 18.1, because .fname isn't a defined command for a Pokemon. (I think you might have been using some scripting utilities that might have let you used it? Not sure, though) But that can be fixed easily, I just changed
Ruby:
Expand Collapse Copy
    name = @pokemon.fName + " " + @pokemon.name

Ruby:
Expand Collapse Copy
    fSpecies = pbGetFSpeciesFromForm(@pokemon.fSpecies)
    formname = pbGetMessage(MessageTypes::FormNames,fSpecies)
    name = formname + " " + @pokemon.name
 
Is there anyway to get this to work with 19.1?

[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.0]
[v19.1 Hotfixes 1.0.2]
[EBDX v1.1.6]

Exception: RuntimeError
Message: Script error in event 4 (coords 20,18), map 33 (Route XXX):
Exception: NoMethodError
Message: undefined method `form=' for nil:NilClass

***Full script:
pbSetStarters


Backtrace:
373::112:in `pbSetStarters'
(eval):1:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'


Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
 
This is really cool!

Some screencaps for people that were wondering-

Darryl pointed out that the Selection sprite isn't appearing- that's because there's a typo in the code, in the line
Ruby:
Expand Collapse Copy
  @sprites["select"].setBitmap("Graphics/Pictures/SSelection Screen/select")
"SSelection" should be "Selection"

I also got an error for any Pokemon with form names in a Vanilla copy of 18.1, because .fname isn't a defined command for a Pokemon. (I think you might have been using some scripting utilities that might have let you used it? Not sure, though) But that can be fixed easily, I just changed
Ruby:
Expand Collapse Copy
    name = @pokemon.fName + " " + @pokemon.name

Ruby:
Expand Collapse Copy
    fSpecies = pbGetFSpeciesFromForm(@pokemon.fSpecies)
    formname = pbGetMessage(MessageTypes::FormNames,fSpecies)
    name = formname + " " + @pokemon.name
I did it the way you said but its still not working, it gives me a error message that form = is a undefinded method for nil:nilclass
I needed this Script because I wanted to give the player one of 3 starter pokemon, but this script just works with 4 Pokémon?
 
I did it the way you said but its still not working, it gives me a error message that form = is a undefinded method for nil:nilclass
I needed this Script because I wanted to give the player one of 3 starter pokemon, but this script just works with 4 Pokémon?
If you're only putting in three Pokemon, that might be what's giving you this error, try putting in four and see if that fixes it.
 
Back
Top