< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Editing/Modifying a Pokemon

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 Post Reply
 
Thread Tools
  #1    
Old June 13th, 2012 (4:59 PM).
BrakeNeck's Avatar
BrakeNeck BrakeNeck is offline
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 25
Gender: Male
Nature: Jolly
Posts: 47
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

Relevant Advertising!

  #2    
Old June 13th, 2012 (5:32 PM).
desbrina's Avatar
desbrina desbrina is offline
Lightning Yellow Creator
 
Join Date: Feb 2011
Location: UK
Gender: Female
Nature: Quiet
Posts: 609
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


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 (5:52 PM).
BrakeNeck's Avatar
BrakeNeck BrakeNeck is offline
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 25
Gender: Male
Nature: Jolly
Posts: 47
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 (3:26 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Posts: 5,093
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 (5:03 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,576
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 (5:17 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Posts: 5,093
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 (6:42 AM).
BrakeNeck's Avatar
BrakeNeck BrakeNeck is offline
 
Join Date: Jun 2012
Location: Council Bluffs, Iowa
Age: 25
Gender: Male
Nature: Jolly
Posts: 47
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 Post 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

Forum Jump


  All times are GMT -8. The time now is 4:24 AM.


Contact Us Archive Privacy Statement Terms of Service Top