Olra-Wolfry
Is actually a computer monkey.
- 27
- Posts
- 11
- Years
- Seen Jun 25, 2016
Error when adding a starter Pokémon
Rather than spamming the board with "HOW DO I DO THIS" or "WHAT DO I DO", I decided to make an entire thread to problems, and here's my first one;
No matter what I do, there's a problem with the Starter Pokemon being obtained via list. Everything else works fine, but not until the point where the trainer gets their own starter;
The code would be, at that point.
Of course, this also happens with the other two starters, and after the branches end it goes to the "Alright, then i'm choosing Huskute!" line the other says. And other than the "dream looking like a flashback", awkward event spacing and the player being able to surf right in the beginning of the game, which can be fixed it doesn't turn out right. It even happens when I have icons and sprites of the Pokemon. What did I do wrong there?
Rather than spamming the board with "HOW DO I DO THIS" or "WHAT DO I DO", I decided to make an entire thread to problems, and here's my first one;
No matter what I do, there's a problem with the Starter Pokemon being obtained via list. Everything else works fine, but not until the point where the trainer gets their own starter;
***Full script:
pbAddPokemon(:NEWTREE,5)
Interpreter:243:in `pbExecuteScript'
Pokemon_Sprites:117:in `new'
Pokemon_Sprites:117:in `pokemon='
Pokemon_Sprites:102:in `initialize'
TextEntry:1251:in `new'
TextEntry:1251:in `pbStartScene'
TextEntry:1590:in `pbStartScreen'
TextEntry:1611:in `pbEnterText'
TextEntry:1608:in `pbFadeOutIn'
TextEntry:1608:in `pbEnterText'
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 `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
The code would be, at that point.
Control Switches: [0003: Choosing starter] = ON
Label: choosePokemon
Test: \rWhich type do you prefer out of these three?
Show Choices: Grass, Fire, Water
When [Grass]
Text: \rSo you're choosing Newtree, the Bean Lizard Pokemon
Show Choices: Yes, No
When [Yes]
Text: \rGreat Choice! I'm sure it will make the best beginning Pokemon for your journey!
Script: pbAddPokemon(:Newtree,5)
Control Switches: [003: Choosing starter] = OFF
Control Switches: [0066: Chose Newtree] = ON
Control Variables: [0007: Starter choice] = 1
Control Self Switch: A =on
>
When [No]
Text: \rAlright...
Jump to Label: choosePokemon
>
Branch End
Of course, this also happens with the other two starters, and after the branches end it goes to the "Alright, then i'm choosing Huskute!" line the other says. And other than the "dream looking like a flashback", awkward event spacing and the player being able to surf right in the beginning of the game, which can be fixed it doesn't turn out right. It even happens when I have icons and sprites of the Pokemon. What did I do wrong there?