• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Error] Trying to choose my starter.

11
Posts
5
Years
  • Age 53
  • Seen Aug 27, 2019
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
 
Last edited:
1,680
Posts
8
Years
  • Age 24
  • Seen today
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.
 
11
Posts
5
Years
  • Age 53
  • Seen Aug 27, 2019
Hey sorry for the late response but all I needed to do was remove one L from the script so thanks. Also Cyndaquil only having one L in its name is news to me since I've played Pokemon Crystal alot. Thanks for the help :)
 
Back
Top