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 (3:44 PM). Edited September 27th, 2012 by Cilerba.
candelariojo's Avatar
candelariojo candelariojo is offline
     
    Join Date: Aug 2012
    Location: New York
    Gender: Male
    Posts: 16
    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!!!
    Reply With Quote

    Relevant Advertising!

      #2    
    Old September 28th, 2012 (7:12 AM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,171
      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.
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #3    
      Old September 30th, 2012 (12:52 PM).
      candelariojo's Avatar
      candelariojo candelariojo is offline
         
        Join Date: Aug 2012
        Location: New York
        Gender: Male
        Posts: 16
        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

        Forum Jump


        All times are GMT -8. The time now is 2:55 PM.