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 September 27th, 2012, 03:44 PM
candelariojo's Avatar
candelariojo
Unhatched Egg
 
Join Date: Aug 2012
Location: New York
Gender: Male
Send a message via Windows Live Messenger to candelariojo
Hey,

I'm currently working on a pokemon project on rmxp. But i've been having trouble with the scripting of an event. I want to start the game and have the grandmother give you your items and your first pokemon and then you leave. This part works fine but then i want after that event takes place and you recieve your items that the next time you talk to your grandma she heals your pokemon instead. But for some reason it keeps repeating the first event. and if i put it on automatic event start it just keeps looping and looping. Here is the script:


Text: Hi sweetie. Hope your prepared for your adventure
: : i'm so proud of you
Text: Here is your running shoes.
>Script: $PokemonGlobal.runningshoes=true
Text: Also your eevee is back from the center.
>Script: pbAddPokemon (133,5)
Text: Enjoy your adveture sweetie come to visit when you can.

I basically want this event to happen one time and be then replaced with this script:



Text: Hi sweetie welcome home. You look tired, you should rest a bit...
>Recover All: Entire Party
Text: Take care now.



So any help with this would be greatly appreciated. I know its a lot of info but again any help would be greatly appreciated. Thanks!!!

Last edited by Cilerba; September 27th, 2012 at 04:37 PM. Reason: prefixes prefixes prefixes
Reply With Quote
  #2    
Old September 28th, 2012, 07:12 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Put your first lot of event commands in the Grandma event's page 1. At the end of it, set the event's Self Switch A to ON. This page should have an Action trigger.

Put your second lot of event commands in the Grandma event's page 2. This page should have the condition of Self Switch A being ON. This page should have an Action trigger.

This is a basic RMXP skill.

If the Grandma acts like the player's mother (i.e. the player respawns next to her upon losing a battle without having visited a Poké Centre), then the Grandma event should also have a page 3, which is like the page 2 in any Poké Centre nurse's event.
__________________
Reply With Quote
  #3    
Old September 30th, 2012, 12:52 PM
candelariojo's Avatar
candelariojo
Unhatched Egg
 
Join Date: Aug 2012
Location: New York
Gender: Male
Send a message via Windows Live Messenger to candelariojo
Thanks!! I really appreciate the help. I'm still trying to get the hang of using the program. Thanks again.
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 03: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.