The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials
Reload this Page Help!!
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.

Thread Tools
Old December 31st, 2012 (1:34 AM).
bartyboy6's Avatar
bartyboy6 bartyboy6 is offline
Join Date: Sep 2010
Gender: Male
Posts: 56
I am making a pokemon game.
it has an airport but I want it to be accessable after you've obtained a specific amount of gym badges, but I don't know how.
I'm not very good at making events.
I would be very grateful if I would get some help.
Reply With Quote

Relevant Advertising!

Old December 31st, 2012 (3:08 AM).
Pharetra's Avatar
Pharetra Pharetra is offline
Join Date: Jun 2011
Age: 20
Gender: Male
Posts: 455
All right, here's what you could do:

  1. Create two event pages for the airport; one without a condition for the event to take place and the second with a switch as condition for the event to run. Let's call this switch "A".
  2. On the event page of the Gym Leader where the player receives his/her badge, turn the switch "A" on. If the player defeats the Gym Leader, he/she won't only receive a badge, but the second page of the airport event will also be activated.
On the first page of the event you can use a Show Text command to show a message box saying that the player can't access the airport yet because it's under construction or something. On the second page you can let the player use the airport.

I hope it's clear now, and if you have any questions, feel free to ask them and I'll see what I can do. Also, happy new year ;)
Reply With Quote
Old December 31st, 2012 (3:53 AM).
bartyboy6's Avatar
bartyboy6 bartyboy6 is offline
Join Date: Sep 2010
Gender: Male
Posts: 56
thanks mate, I'm going to try that out.
Reply With Quote
Old January 6th, 2013 (4:34 AM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
Join Date: Sep 2010
Gender: Male
Posts: 1,623
A better way is to use a Conditional Branch with script condition '$Trainer.badges>=6'. So the first part only works if the player has 6 badges or more. You can change the "6" to any number.
Reply With Quote
Old January 6th, 2013 (5:53 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Join Date: Jan 2008
Location: England
Posts: 5,145
There are default switches already in Essentials which are used to determine when each Gym Leader is defeated. They're used to deactivate any unbattled trainers in their Gyms, plus to open up roadblocks. You can use the appropriate one of those, rather than make a new one.
Reply With Quote
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 5:21 PM.

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

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