Thread: [Question] Battle different form
View Single Post
  #1    
Old February 22nd, 2012, 10:47 PM
tasmania12's Avatar
tasmania12
Dovahkiin, Dragonborn
 
Join Date: Mar 2008
Location: Pallet Town
Age: 19
Gender: Male
Nature: Naughty
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:



Spoiler:

---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 3, map 5 (Shadow Cave):

Exception: NameError

Message: (eval)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'
__________________

-Groudon-Rayquaza-
Reuniclus-Ho-oh-

-TRIFORCE-

please help me with my problems:
POKEMON ESSENTIALS

help with Missingno ideas:
http://www.pokecommunity.com/showthread.php?p=7068357
Battle Different Form:
http://www.pokecommunity.com/showthread.php?t=274447
exception to max level for certain species:
http://www.pokecommunity.com/showthread.php?t=274902
Reply With Quote