Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials

Notices
For all updates, view the main page.

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 January 15th, 2013 (08:06 PM).
reddevilz
Unhatched Egg
 
Join Date: Apr 2009
quoted from the WIKI " It is filled with trainers, one of whom is a Gym Leader who rewards the player a Gym Badge and a TM once they are defeated." but where is the TM that is given defined. the example gym in essentials does not have a normal give item script.
Reply With Quote
  #2    
Old January 16th, 2013 (12:12 AM).
Derxwna Kapsyla's Avatar
Derxwna Kapsyla
X-Class Project, Derxwna, #003
 
Join Date: Jun 2011
Location: Margate, FL
Age: 21
Gender: Male
Nature: Lax
All you need to do is have it call the "Give Item" script sometime after the battle ends, but not before the player leaves.
It should look something like this I'd suppose
__________________
Development Blog:
For more information future news and updates to any projects, the following blogs are where I post information. You can usually hit me with a message there when it comes to bug reports or feedback, or general conversation about something.
Game Projects:
In Progress:
Reply With Quote
  #3    
Old January 16th, 2013 (07:28 AM).
Quilva's Avatar
Quilva
Pierce the sky escape your fate, the more you try the more you'll just breed hate
 
Join Date: Jan 2013
Location: Ljubljana
Age: 15
Gender: Other
Nature: Relaxed
Send a message via Skype™ to Quilva
add Kernel.pbReceiveItem(PBItems::X) in a script command

X is the item you want the player to get,you can look up what you need to replace X with in the editor by scrolling to the item or by looking in the right .txt file in PBS

Derxwna Kapsyla already showed an example above
__________________
Reply With Quote
  #4    
Old January 16th, 2013 (08:35 AM).
reddevilz
Unhatched Egg
 
Join Date: Apr 2009
thanks guys. I wasnt sure if there was an internal script which automatically did this with gym leaders.
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 12:09 AM.