How do I go about remaking the Dokokashira Door Glitch in RPG Maker MZ

AeroPergold

RPG Maker Nutcase
Veteran
Joined
Feb 3, 2014
Messages
284
Reaction score
332
First Language
English
Primarily Uses
RMMZ
So I decided to start a quest on recreating bugs and glitches from Pokemon Red/Blue/Yellow/Green in RPG Maker MZ.

But I wanted to ask the community at large how to go about with one glitch in particular:

The Dokokashira Door Glitch is a glitch found in the original Japanese releases of the first gen Pokemon games and its a bug that has to do with the use of the select button

"From a new game, the player obtains at least two items, with Oak's Parcel in the second slot. The bag should then be opened and the player should press the Select button on Oak's Parcel, then select Cancel twice. This will cause the cursor to stay white. A wild battle should be initiated and then the player should open the Pokémon menu and press A while over first Pokémon, thus swapping it with a 'M (FF). The player should open the fight menu, to prevent the game from managing as if there are no Pokémon on the field when the battle ends and then run away.

From now on, the glitch should be active. Some of its effects are undesirable, such as slight graphical errors on the main map interface; however, one of the more useful effects will ensure that the warp location of the next door the player walks through is relevant to the amount of extra steps they have, with the warp location changing every extra four steps."
-Explaination on how to do the glitch from Bulbapedia

Basically I would need an event to trigger to start a variable that is incremented from the player walking and that a conditional branch is placed on a door with the door's condition being whatever that walking variable would send the player to whatever map including those that skip to the end of the game.

So with that being said, did I get the basic idea down?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,647
Reaction score
15,738
First Language
English
Primarily Uses
RMMV

I've moved this thread to MZ Support. Thank you.



Questions about how to implement a certain function/feature go into the Support or Plugin Requests forum for the particular engine.

I haven't played the game, but from your description, you'd just attach a common event to the item that will put the player's current steps (Control Variables > Game Data > Other > Steps) into a variable, then on the door event, do the same to put the player's steps into another variable, and then subtract the variable with the original steps. Then a series of conditional branches to determine what map to send them to based on how many steps they've taken. If the object stays in inventory, you might want to add a condition to the common event to only set the variable if it's currently 0 - otherwise the player could activate it, walk around a bit, activate it again, which would start the count over.
 

Latest Threads

Latest Profile Posts

At work.
Co: "This bug drove me insane. I tried a lot of things to debug, it just stuck".
Me: "How did you debug it?"
Co: *shows a complicated debugging method using breakpoints and everything*
Me: "What about ... " *casually prints a stack trace in the try/catch exception
Co: "Wait, you can do that??"
Totally original and unique OC
Harold.png
So after completing the Mass Effect Trilogy the first time as a Vanguard, I decided to replay the trilogy as a Soldier. Thus far, I've just finished the Horizon mission in ME2, and I'm already exhausted from ME2's f**k-awful enemy design.
Yeah, now Yes !!!! "boom boom "
"Fire the monsters, guards!!!"

index.php
I can't stop buying resource packs I'll never use, or engines for that matter, or free resources as my two terabyte external will attest. I am a digital hoarder I guess. Some people get drunk off the silly juice when they are bored, I just buy shiny digital nonsense I don't need.

Forum statistics

Threads
118,650
Messages
1,117,567
Members
155,753
Latest member
Esteblad
Top