Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

General "How to" questions for Pokemon gam I'm making[RPGXP]

Hi, I'm trying to make a demo for a pokemon fan game using poccil's starter kit. I have little to no knowledge of scripting or eventing so I have quite a questions to ask.


1. I want to make an event so that as soon as the player steps on a certain tile, his/her rival approaches and will talk to them. After the rival is done talking, he will battle the player. Whether the player wins or loses, the rival will runaway and disappear(because he stole someone's pokemon) and accidentally drop a pokeball on the ground.

Anyone give me some guidance on how to do this?
 
All of this is general RPG Maker stuff and will be the same wheather or not you're using any custom scripts.

What you need for this is an Enemy event with three pages:
Page 1 will be a Parallel Process page that stores the Player's X and Y coordinates into seperate variables, then checks via a Conditional Branch if those coordinates equal your desired ones; if yes, will turn a switch on (local switches, if RMXP had them already... can't remember)
Page 2's starting conditions will be the previously set switch set to on, as well as now autostart: Put your messages here, then the Start Battle event command (that has a branch for non-victory events - don't forget to heal the actor here). After all these branches, put your Move Event commands. When you moved that event out of the screen definately, set a different switch on.
Page 3 will be activated by the switch set on page 2, and will simply have no graphic at all, being the defeated rival's graphic. You can also set it to be the pokeball, in which case you'd have to find it outside of the current screen though, or create another event activated by the switch set before.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top