tasmania12
Mewtwo Master
- 57
- Posts
- 17
- Years
- Pallet Town
- Seen Nov 18, 2024
:2: Is there a way to event battle a different form of a pokemon?
I did this:
pbWildBattle(PBSpecies::GIRATINA,25)
poke.form=2
I tested it and it errored:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 3, map 5 (Shadow Cave):
Exception: NameError
Message: (eval):2:in `pbExecuteScript'undefined local variable or method `poke' for #<Interpreter:0x3930d80>
***Full script:
pbWildBattle(PBSpecies::GIRATINA,25)
poke.form=2
Interpreter:243:in `pbExecuteScript'
Interpreter:1592:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1592:in `command_355'
Interpreter:493: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'
Interpreter:275:in `pbExecuteScript'
Interpreter:1592:in `command_355'
Interpreter:493: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'
It doesn't like the 'poke' part of 'poke.form=2'
I did this:
pbWildBattle(PBSpecies::GIRATINA,25)
poke.form=2
I tested it and it errored:
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 3, map 5 (Shadow Cave):
Exception: NameError
Message: (eval):2:in `pbExecuteScript'undefined local variable or method `poke' for #<Interpreter:0x3930d80>
***Full script:
pbWildBattle(PBSpecies::GIRATINA,25)
poke.form=2
Interpreter:243:in `pbExecuteScript'
Interpreter:1592:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1592:in `command_355'
Interpreter:493: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'
Interpreter:275:in `pbExecuteScript'
Interpreter:1592:in `command_355'
Interpreter:493: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'
It doesn't like the 'poke' part of 'poke.form=2'