One small problem with a simplified paper mario like encounter system
BMM_Archive · July 15, 2026
Original Source
- Original title: One small problem with a simplified paper mario like encounter system
- Original author: BurningOrca
- Original date: April 25, 2022
- Source thread: https://forums.rpgmakerweb.com/threads/one-small-problem-with-a-simplified-paper-mario-like-encounter-system.147068/
- Source forum path: Game Development Engines > RPG Maker MZ Support
Summary
Paper Mario has a bunch of different ways to trigger an enemy encounter on the overworld: 1. Run into a enemy or let the enemy run into you, which starts a battle without any suprise or preemptive attacks. 2 Press a certain button to jump on the enemy, which will make Mario do Jump Damage right at the start of the battle usually to a single enemy. 3. Press another certain button to attack an enemy with the hammer, so Mario does hammer damage at the start of the battle...
Archived First Post
1. Run into a enemy or let the enemy run into you, which starts a battle without any suprise or preemptive attacks.
2 Press a certain button to jump on the enemy, which will make Mario do Jump Damage right at the start of the battle usually to a single enemy.
3. Press another certain button to attack an enemy with the hammer, so Mario does hammer damage at the start of the battle to a single enemy.
4. Press another certain button or control stick direction to let your partner character attack the enemies inside the triggered battle.
5. Let the enemy attack you and receive damage at the start of the battle. There are enemies with distance and nearby attacks.
I've tried to implement the first 3 types to encounter an enemy as a first simple test using event commands only with just a view script calls.
The first one was easy:

I've just set event touch, so it triggers when the event touches the player or the player touches the event.
The other two kind of encounters I've tried to implement as a parallel event.
Basically if I press shift and the event is right next to the player in the direction the player faces, then I want to perform a slash attack. If I press space or any key map to 'OK' I want to shoot a fireball with a range of two movements in the direction the player faces and if it hit an event I want to perform a fire magic skill on it.
Therefore I have the following troop event:

The parallel event looks like this:





And the fireball event looks like this:

And everything is almost working except one tiny problem:
If the enemy event is right next to the player and I press shift or space it can still trigger the 'Enemy touch' encounter before the encounter from the parallel event which can be seen after fleeing from the battle and right after that the parallel event encounter is triggered. I just want only the parallel event encounter to be triggered.
How can I do this?
I've read multiple times in other threads that everything should be controlled by a single event (at least every cutscene), but I've already tried out to let the parallel event also cover the normal encounter, but it didn't work, because the enemy event and the player cannot have the same position at the same time. Event touch on the other hand triggers if they would have the same position after either the event or the player performed their movement, but after the battle they would still have the same position as before.
Downloads / Referenced Files
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.
- Local mirror: 203349-4bda6deb7c6c2f28675ee00a35099728.png
SHA-256:6a0c1e3921733c6a7b890fe4e81768e736ba202268b41f198f9e40aac6a58a6a
Original attachment URL: https://forums.rpgmakerweb.com/attachments/encounter-enemy-png.224269/ - Local mirror: 203355-8dbf26a7f9f18828b88e768c7107189b.png
SHA-256:a0da5e94b805b81187a2f7ad0eda0ae2bb5ec67b74732c3efa9f4433565fbc74
Original attachment URL: https://forums.rpgmakerweb.com/attachments/troop-event-png.224275/ - Local mirror: 203350-68b59e33fe9951706aa6b06025fad777.png
SHA-256:5ec1d9ec8359ecaa9124bac98f8acedb705b61c69778f2b587ac4260e4846ef2
Original attachment URL: https://forums.rpgmakerweb.com/attachments/parallel-event-1-png.224270/ - Local mirror: 203351-c0d6554b97645035029deadae833ceff.png
SHA-256:605b8ea8d044cd0f8b3d22e47233948d3b75e8ca5d40cb6bb0ccc9cf82a8e2c8
Original attachment URL: https://forums.rpgmakerweb.com/attachments/parallel-event-2-png.224271/ - Local mirror: 203352-6784b51083a25a9735d630d648d0cec5.png
SHA-256:6311a59643c172013f2ead59d2bdb86dd112efbd3485e63d4fb2bf62a5241470
Original attachment URL: https://forums.rpgmakerweb.com/attachments/parallel-event-3-png.224272/ - Local mirror: 203353-5dfcad4248087c38ba53f3208a0e3fe5.png
SHA-256:b0492dce0c14d853751ba1ce3b15d0558dd7896a0823b21d7ab89b3c8b8ab99b
Original attachment URL: https://forums.rpgmakerweb.com/attachments/parallel-event-5-png.224273/ - Local mirror: 203354-a612e9923da824b395c0f06125614cfe.png
SHA-256:37ca56ec092d7a7779a2fbd1b2f3681664d649a3da0a1b5788b12a5cd42a1da3
Original attachment URL: https://forums.rpgmakerweb.com/attachments/parallel-event-6-png.224274/ - Local mirror: 203356-6dc7a6410e402a0c946fde1a77e128d3.png
SHA-256:07e64eb1dcd7227f08ac93a65d1831bb9338da3e6b5c9b46bea5ce84a2aa852a
Original attachment URL: https://forums.rpgmakerweb.com/attachments/fireball-png.224276/
Referenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...