- 825
- Posts
- 9
- Years
- The Dissa Region
- Seen Oct 7, 2024
Because Zeak didn't say so, that line of code is actually in an event, not in the scripts. Specifically, the desk lady's event.
Because Zeak didn't say so, that line of code is actually in an event, not in the scripts. Specifically, the desk lady's event.
Alright, I love Pokemon contests and I managed to get Essentials to run on the newest version with your scripts and the Gen 6 Project, but neither the Berry Mixer script nor the Pokemon Contests work without crashing the game. The Contests crash right after introducing the first Pokemon, and the Berry Mixer will not run.
Here's the Berry Mixer Crash
Spoiler:
---------------------------
Pokemon Solstice
---------------------------
Exception: RuntimeError
Message: Script error within event 2, map 91 (Contest Hall):
Exception: ArgumentError
Message: Section136:721:in `pbQuantity'The item number is invalid.
***Full script:
hasBerries==true
Interpreter:243:in `pbExecuteScript'
BerryMixer:338:in `hasBerries'
BerryMixer:337:in `each'
BerryMixer:337:in `hasBerries'
(eval):1:in `pbExecuteScript'
Interpreter:794:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:276:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Scene_Map:114:in `follow_update'
FollowPokemon:1551:in `update'
And The Contest Crash
Spoiler:
---------------------------
Pokemon Solstice
---------------------------
Exception: RuntimeError
Message: Script error within event 21, map 91 (Contest Hall):
Exception: NoMethodError
Message: (eval):2:in `pbExecuteScript'undefined method `showSpeciesIntro' for #<Interpreter:0xbd90888>
***Full script:
Kernel.pbMessage(_INTL("First up is Gary's Butterscortch!"))
showSpeciesIntro(PBSpecies::CHARIZARD,"","Butterscortch")
pbAddContestMove(2,1,2,3,7)
pbChangeContestName(2,"Butterscortch")
pbContest(50,PBSpecies::CHARIZARD,20,PBSpecies::SQUIRTLE,20,PBSpecies::HITMONTOP,20,1)
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Scene_Map:114:in `follow_update'
FollowPokemon:1551:in `update'
I just want to thank you mej71 for this script. Though it's not 100% related, it gave me an excuse to edit my summary screens (Yay, experimenting.)
![]()
Regardless, thank you so much.
Have you set up the contest types for moves after withdraw basically any moves from gen 5 to 7 that don't have them by deafult?
Are you asking how I treated not having the contest move defined? I just made it have no contest type and default info. (I haven't touched the contest scripts like this though)
https://imgur.com/a/hWoxW
Hi hopefully people are still replying to these. I have a problem when I try and implement this in Essentials V17.2