The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page gym battle
Sign Up Rules/FAQ Daily Battle Blogs Mark Forums Read


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 (8:06 PM).
reddevilz reddevilz is offline
 
Join Date: Apr 2009
Posts: 14
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

Relevant Advertising!

  #2    
Old January 16th, 2013 (12:12 AM).
Derxwna Kapsyla's Avatar
Derxwna Kapsyla Derxwna Kapsyla is offline
[Primal Despair] Derxwna "The Badman" Kapsyla
 
Join Date: Jun 2011
Location: Margate, FL
Age: 23
Gender: Male
Nature: Lax
Posts: 364
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 (7:28 AM).
Quilva's Avatar
Quilva Quilva is offline
 
Join Date: Jan 2013
Location: Ljubljana
Age: 17
Gender: Other
Nature: Lonely
Posts: 1,269
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
__________________
Your entire life has been a mathematical error, a mathematical error I'm about to correct.
Reply With Quote
  #4    
Old January 16th, 2013 (8:35 AM).
reddevilz reddevilz is offline
 
Join Date: Apr 2009
Posts: 14
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

Forum Jump


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


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2016 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 - 2016 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.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2016.