The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.


Reply
 
Thread Tools
  #1    
Old September 23rd, 2012, 01:44 PM
LenSho's Avatar
LenSho
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Hello. I've been trying to use the $Trainer.shadowcaught[species] array but I just can't figure out how.

I want to make a Conditional branch where you fight a Trainer with a Shadow Pokémon and if you already caught the pokemon, be able to fight again against this trainer but without the Shadow Pokémon. Or even make a "Miror B" trainer like the Wiki page suggests but I don't know how to do this event either.

I tried it like this:

Conditional Branch > Script: $Trainer.shadowcaught[GEODUDE]
-Fight Trainer without Shadow Geodude
Else
-Fight Trainer with Shadow Geodude
End

Or even like this:

Script: $Trainer.shadowcaught[GEODUDE]=true
Script: $Trainer.shadowcaught[074]
Script: $Trainer.shadowcaught[species]=GEODUDE

This should give you an idea of how lost I am.
Reply With Quote
  #2    
Old September 23rd, 2012, 02:22 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Firstly, $Trainer.shadowcaught[PBSpecies::GEODUDE]. Secondly, it is set to true automatically when capturing a Shadow Pokémon of that species. Thirdly, you're correct the first time with the Conditional Branch business.
__________________
Reply With Quote
  #3    
Old September 23rd, 2012, 05:29 PM
LenSho's Avatar
LenSho
 
Join Date: Sep 2012
Gender: Male
Nature: Modest
Oh, I would have never guessed I had to use "PBSpecies::" too. It works now. Thank you.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 07:48 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.