• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Pokemon Contests Script 1.5

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:


And The Contest Crash
Spoiler:

You don't have the items in your PBS files
You copied the event but did not get one of the optional scripts (FL's display thing) and it's called in that event. Copy the script or remove those calls
 
I've noticed that the winner is only actually determined in my game by the Pokemon's stats and scarf. The winner is the one who has the base highest before adding in the contest battle section. I changed my variables, and all of them have been changed in the contest script. Is there something else I need to change?
 
Last edited:
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.)
[PokeCommunity.com] Pokemon Contests Script 1.5

Regardless, thank you so much.
 
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

Yes for gen 7 moves since there missing the adding of the contest section in the summary screen will mess up gen 7 moves.
 
Hello,

i did the improved Summary Script for v16.2
https://pastebin.com/1zegkdmF

Every line with #summaryz got changed code.
On big parts i was writing #summaryz #Anfang des changes "Beginning from the change"
And #summaryz #Ende des changes "Change ending"

Known issues:
- You cant move the move from the "contest move" screen (Too much move, ayy)

Greets~~
 
i have to questions :
1. is this script can be used for v16.2?

2.There's an error in my pokemon essentials :
Compiler:704:in `pbGetConst'
Compiler:770:in `parseTrainer'
Compiler:2188:in `pbCompileTrainers'
Compiler:2186:in `loop'
Compiler:2322:in `pbCompileTrainers'
Compiler:4111:in `pbCompileAllData'
Compiler:4219
Exception: Hangup
Message: The script is taking too long. The game will restart.
Compiler:2161:in `pbCompileTrainers'
Compiler:4111:in `pbCompileAllData'
Compiler:4219
Exception: Hangup
Message: The script is taking too long. The game will restart.
Intl_Messages:368:in `stringToKey'
Intl_Messages:567:in `getFromHash'
Intl_Messages:688:in `getFromHash'
Intl_Messages:718:in `_INTL'
Compiler:122:in `linereport'
Compiler:749:in `parseSpecies'
Compiler:2055:in `pbCompileMachines'
Compiler:2052:in `each'
Compiler:2052:in `pbCompileMachines'
Compiler:2037:in `each_line'
Exception: Hangup
Message: The script is taking too long. The game will restart.
Intl_Messages:372:in `stringToKey'
Intl_Messages:567:in `getFromHash'
Intl_Messages:688:in `getFromHash'
Intl_Messages:718:in `_INTL'
Compiler:117:in `linereport'
Compiler:544:in `pbGetCsvRecord'
Compiler:490:in `each'
Compiler:490:in `pbGetCsvRecord'
Compiler:2439:in `pbCompileBTTrainers'
Compiler:2435:in `each'
Exception: RuntimeError
Message: Field Repels is not a positive integer
File PBS/items.txt, line 1
1,350,"An item that prevents weak wild Pokémon from appearing for 100 steps after its use.",2,0,0,


Compiler:222:in `csvPosInt!'
Compiler:479:in `pbGetCsvRecord'
Compiler:475:in `each'
Compiler:475:in `pbGetCsvRecord'
Compiler:820:in `pbCompileItems'
Compiler:819:in `pbCompilerEachCommentedLine'
Compiler:618:in `each_line'
Compiler:618:in `pbCompilerEachCommentedLine'
Compiler:615:in `open'
Compiler:615:in `pbCompilerEachCommentedLine'

what's this means?
(sorry for my bad english)
btw, this is my first time replying on pokecommunity, tell me if i put this reply in wrong place
 
hello, I'm trying to download this since I want to have contests in my game but I cant see to download it since it doesn't tell me where to put it at or how to open it since nothing I use can open the file once its downloaded, only options get are like media player, paint, internet explorer or other apps on computer that my computer won't install. how can I get this to work? and I did extract it but that didn't do anything either. so would need help, thank you
 
If you're having trouble opening the downloaded archive or having issues with the file extraction it is because the format of the file is a .rar type file. Last time I checked, winzip could not extract files from this type of file or it could not properly extract them. You need a program that handles rar type files like winrar (which is what I use).

If you're having trouble with the files within the archive, they are files for RPG maker to work with pokemon essentials. Most of the files within only work with RPG maker XP (not sure if they work with other RPG maker editions but I don't believe they do).

If you've done all of the above and have all of the appropriate programs, it's possible your download was interrupted or corrupt and you wound up with only a partial file. You could retry downloading to fix this issue. I've recently downloaded and opened all of the files so last time I checked it was a properly working download.

I hope all of this helps you with any issues you are having.
 
Hi hopefully people are still replying to these. I have a problem when I try and implement this in Essentials V17.2
I have done everything apart from the option scripts (copied all RAW) and the v16.2 pokemon summary, which i found further in the thread (as it gives an error).
I went to test the contest and got through all of it up at the very end when a winner is chosen I got this errror (Below) how can I fix this?
"
[Pok?mon Essentials version 17.2]
Exception: NameError
Message: uninitialized constant PokemonParty_Scene::PokemonSummary_Scene
PScreen_Party:624:in `pbSummary'
PScreen_Party:1192:in `pbPokemonScreen'
PScreen_Party:1089:in `loop'
PScreen_Party:1289:in `pbPokemonScreen'
PScreen_PauseMenu:176:in `pbStartPokemonMenu'
PScreen_PauseMenu:173:in `pbFadeOutIn'
PScreen_PauseMenu:173:in `pbStartPokemonMenu'
PScreen_PauseMenu:142:in `loop'
PScreen_PauseMenu:271:in `pbStartPokemonMenu'
Scene_Map:127:in `call_menu'
[Pok?mon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `update' for nil:NilClass
Scene_Map:46:in `updateSpritesets'
Scene_Map:156:in `miniupdate'
Messages:145:in `pbUpdateSceneMap'
Messages:1553:in `pbMessageDisplay'
Messages:1034:in `pbMessage'
Messages:663:in `command_101'
Interpreter:304:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
"
(Also below that is the error i get when i try and update the summary screen script )
"
[Pok?mon Essentials version 17.2]
Exception: NameError
Message: uninitialized constant PokemonParty_Scene::PokemonSummary_Scene
PScreen_Party:624:in `pbSummary'
PScreen_Party:1192:in `pbPokemonScreen'
PScreen_Party:1089:in `loop'
PScreen_Party:1289:in `pbPokemonScreen'
PScreen_PauseMenu:176:in `pbStartPokemonMenu'
PScreen_PauseMenu:173:in `pbFadeOutIn'
PScreen_PauseMenu:173:in `pbStartPokemonMenu'
PScreen_PauseMenu:142:in `loop'
PScreen_PauseMenu:271:in `pbStartPokemonMenu'
Scene_Map:127:in `call_menu'
"
I Also got an error when I tried doing a berry mixer
"
[Pok?mon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 3 (coords 18,32), map 295 (test):
Exception: ArgumentError
Message: PItem_Bag:96:in `pbQuantity'Item number 0 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:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
"
 
Last edited:
Hi hopefully people are still replying to these. I have a problem when I try and implement this in Essentials V17.2

This script has been written for v14 and was not working perfectly in v15. It hasn't been updated since, so I believe you probably should try to fix the issues by yourself, maybe using clues that you can find in this thread (or wait for a potential update).
 
I can not do this, can anyone send a link from a turtorial video or a game download with the script and and the event to copy?
 
Works perfect for V16.2 but can't get it working on the latest v17.2(right now issues with the summary screen) Haven't gotten around to the events yet.
 
Back
Top