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 June 13th, 2012, 04:59 PM
BrakeNeck's Avatar
BrakeNeck
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 23
Gender: Male
Nature: Jolly
Alright, so I am once again attempting something I am failing at.
I have tried this numerous ways, and I just cannot seem to get anything defined besides the Pokemon Species and Level. Now here is the exact event which I have been attempting to use, and the part which is failing.

Script:pbAddPokemonSilent(
: BSpecies::EEVEE,5) This Works
Script:poke.setGender(2) Trying to make it a female.
Script:poke.makenotshiny Trying to make sure it cannot be shiny
Script:poke.name="Insert name" Trying to name her.
Script:poke.setNature(PBNatures::QUIRKY) Trying to assign a quickry nature.

I am not sure what I am doing wrong. I have tried running these as one simultaneous event also, and it does not seem to function. I have also tried running the functions under these lines.

Script:pbAddPOkemonSilent(
BSpecies:EEVEE,5,
PBGender:Male,
PBName:"Fakemon",
PBNatures:Derp,
poke.MakeNotShiny)

I searched on Poke Essentials, and I searched these forums for this solution, If it is posted I obviously did not define my issue correctly. Either way, if someone could just let me know if this is a simple error, or something complex..And possibly help me fix this, that would be amazing. get back to me at your soonest convenience.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
Reply With Quote
  #2    
Old June 13th, 2012, 05:32 PM
desbrina's Avatar
desbrina
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Age: 25
Gender: Female
Nature: Quiet
in a script you'd do
poke=PokeBattle_Pokemon.new(PBSpecies::MAGIKARP,10,$Trainer)
poke.setGender(2)
pbAddPokemon(poke)

Its explained on this page
http://pokemonessentials.wikia.com/w...g_Pok%C3%A9mon
__________________
Creator of

Don't know what happened to the last thread, new one coming soon

A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

Reply With Quote
  #3    
Old June 13th, 2012, 05:52 PM
BrakeNeck's Avatar
BrakeNeck
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 23
Gender: Male
Nature: Jolly
Quote:
Originally Posted by desbrina View Post
in a script you'd do
poke=PokeBattle_Pokemon.new(PBSpecies::MAGIKARP,10,$Trainer)
poke.setGender(2)
pbAddPokemon(poke)

Its explained on this page
http://pokemonessentials.wikia.com/w...g_Pok%C3%A9mon
I had actually seen the post, I just did not quite understand how to introduce that script. Thank you very much.

However, it still does not allow me to set a Nature, is this something that is not easily define? Or is it i now done using Numerals instead of the actual name? Just did a quick search and it bore no results. If you do not know off the top of your head I'll do a comprehensive search.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
Reply With Quote
  #4    
Old June 14th, 2012, 03:26 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Code:
poke=PokeBattle_Pokemon.new(PBSpecies::EEVEE,5,$Trainer)
poke.setGender(1)
poke.makeNotShiny
poke.name="Leeloo"
poke.setNature(PBNatures::QUIRKY)
pbAddPokemonSilent(poke)
That's exactly what you would need. Note that "makeNotShiny" is in camelCase, and the female gender is the number 1 (0 is male). You can still use the nature's name as shown.

Now, all of this must be in the same single "Script" event command for it to work. That's because the variable "poke" will be erased at the end of each "Script" event command, even if there's another immediately after it (and you don't want it to be erased until you've used it).

Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.
__________________
Reply With Quote
  #5    
Old June 14th, 2012, 05:03 AM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Quote:
Originally Posted by Maruno View Post
Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.
Or use pbAddPokemon instead.
__________________
Reply With Quote
  #6    
Old June 14th, 2012, 05:17 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by FL . View Post
Or use pbAddPokemon instead.
No, that lets the player nickname the Pokémon. BrakeNeck doesn't want that.
__________________
Reply With Quote
  #7    
Old June 14th, 2012, 06:42 AM
BrakeNeck's Avatar
BrakeNeck
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 23
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Maruno View Post
Code:
poke=PokeBattle_Pokemon.new(PBSpecies::EEVEE,5,$Trainer)
poke.setGender(1)
poke.makeNotShiny
poke.name="Leeloo"
poke.setNature(PBNatures::QUIRKY)
pbAddPokemonSilent(poke)
That's exactly what you would need. Note that "makeNotShiny" is in camelCase, and the female gender is the number 1 (0 is male). You can still use the nature's name as shown.

Now, all of this must be in the same single "Script" event command for it to work. That's because the variable "poke" will be erased at the end of each "Script" event command, even if there's another immediately after it (and you don't want it to be erased until you've used it).

Remember that pbAddPokemonSilent won't show any messages, so you'll need to include some to say Eevee has been obtained.

This all worked Beautifully, not sure if I was typing something wrong, or if defining Eevee without a gender(on Accident), THEN setting a nature was messing it up; but it works now.

Either way, it functions now; so I am excited. Thank you for the feedback guys. This issue is resolved.
__________________
Completed Challenges
The Random Pokemon Challenge-Fire Red


Current Challenges
Ultimate Monotype-Fire
Combined Pokemon Solo Challenge Thread-Arcanine
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 06:25 PM.


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.