Hi, I would appreciate any help from anyone who see's this...
I am using essentials version 19.1, I have used a ton of Plugins before and made many changes to scripts,
had issues in the past but I have ABSOLUTELY NO CLUE what is going on with yours...
All I did was follow the instructions, I copied your code into the the script editor above the "main",
I tried downloading and putting your script into the plugins folder... I have no idea how to make this script work,
most scripts you just put a folder into plugins, copy some scripts into the editor and maybe add pictures and it works perfectly.
I have been trying for well over 13 hours the last 3 days trying to get this to work and I am dumbfounded and lost.
This is the exact copy of my error text and the ONLY thing I did was add this script in above the "main" section like I normally would and like the directions specified...
=================
[2024-06-19 23:35:16 -0700]
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.0]
[v19.1 Hotfixes 1.0.3]
Exception: RuntimeError
Message: Script error in event 3 (coords 6,5), map 10 (Inchoate City Gym):
Exception: NoMethodError
Message: undefined method `register' for #<BattleChallenge>
***Full script:
PokemonSelection.choose(3,3)
Backtrace:
373::257:in `setSimple'
373::165:in `hasValidTeam?'
373::176:in `choose'
(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'
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'