Advertiser Content

Error Trying to choose my starter.

Started by FrostyFeraligatr February 13th, 2019 4:53 PM
  • 158 views
  • 2 replies
Male
Seen 2 Days Ago
Posted April 13th, 2019
9 posts
113 Days
I am just choosing my starter and having said starter transfer me to the regular lab.

Error:

---------------------------
Pokemon Aurum
---------------------------
[Pokémon Essentials version 17.2]

Exception: RuntimeError

Message: Script error within event 3 (coords 15,11), map 43 (Fire):

Exception: ArgumentError

Message: PokeBattle_Pokemon:918:in `__mf_initialize'The species number (no. 0 of 649) is invalid.

***Full script:

pbAddPokemon(:CYNDAQUILL,5)


Interpreter:243:in `pbExecuteScript'

Pokemon_Forms:43:in `initialize'

PSystem_PokemonUtilities:79:in `new'

PSystem_PokemonUtilities:79:in `pbAddPokemon'

(eval):1: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: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:163:in `update'

Scene_Map:161:in `loop'

Scene_Map:170:in `update'

Scene_Map:234:in `main'

Script (What it looks like on the even page):

Text: Do you want Cyndaquill?
Show Choices: Yes,No
When [Yes]
Script: pbAddPokemon(:CYNDAQUILL,5)
Control Switches: [003: Choosing starter] = OFF
Control Self Switch A =ON
Control Switches: [052: Fire Starter] = ON
Transfer Player:[033: Lab], (009,12), Up

When [No]

Branch End

Vendily

Female
Seen 1 Hour Ago
Posted 1 Hour Ago
868 posts
3.8 Years
Well, generally if you get "The species number (no. 0 of 649) is invalid" or any other error that says (no. 0 out of X), it either means a script has messed with the numbers passed to the initialize method, or you are missing the constant. When a constant is missing or you try to use an invalid symbol, Essentials returns 0, which as you can see, doesn't play nice when 0 isn't a valid option.

Double check the spelling. Cyndaquil is spelt with one L, a fact I was not aware of until just now.

Advertiser Content