Anonymous user
Meta-map script activation: Difference between revisions
no edit summary
>Torchickens No edit summary |
>Torchickens No edit summary |
||
Line 1:
{{
'''
This glitch will modify the 'meta-map script' associated with a certain map. If activated with the [[Trainer escape glitch]], it will be the location that the player escaped from the Trainer.
==Effects==
Exploiting this glitch may also cause lag before the player can take their next step (hence the name "walking lag glitch"). Sound effects may also be played with the lag or the game may freeze, depending on the player's coordinates and time spent on the map.
The glitch causes the route to become glitchy, and it will remain like that even when the player leaves the route and save and resets the game.
Line 7 ⟶ 12:
If the player loses, a text box may appear before the player is sent back to their black out location.
Certain glitch meta-map scripts may also allow for [[arbitrary code execution]].
The glitch can be pulled off by two variations of the [[Trainer escape glitch]]. The first one involves changing boxes. The second one involves forcing an encounter with an unbeaten Trainer on the original route through 'text box matching'. Text box matching basically forces the game to load the equivalent text box for the last text box in memory, and have that text box trigger a Trainer encounter.▼
==Activation==
The glitch can be pulled off by three variations of the [[Trainer escape glitch]].
The first one involves setting up a "death warp", returning to the original location to rematch the Trainer and defeating them without flashing the start menu.
The second one involves talking to an NPC on the original route while encounters are disabled and defeating them.
▲The
The glitch map [[map 0xFE (English Yellow)|map 0xFE in English Yellow]] will set up glitch scripts on various maps, many of which will freeze the game.
A glitch script may also be activated by manipulating items in the expanded stored items pack. This is possible with the [[expanded items pack|dry underflow glitch]] with storage box items.
=== Example procedure (death warp method) ===
# Encounter a Pokémon in the grass in the sight of the last Trainer in Viridian City (closest to Viridian City) in Viridian Forest.
# Black out in the wild encounter (e.g. by poison). The "!" will appear but you will return to the last Pokémon Center without battling the Trainer.
# Return to Viridian Forest without opening the start menu (it is also best to avoid any text box to make sure the upcoming battle begins).
# The battle with the Bug Catcher will start. Defeat them and the glitch script activation will occur.
=== Example procedure (
{{Researchneeded|Can battles be lost to trigger the glitch still?}}
<br clear=all>
Line 22 ⟶ 46:
=== Example procedure (text box matching method) ===
1. Go to Vermillion City.
Line 56 ⟶ 80:
[[Image:Zeroerror9.png]]
=== Manually setting up a glitch script ===
Setting up the dry underflow glitch with stored PC items allows the player to manipulate certain meta-map scripts by modifying the item past item 50.
For example, item 100's quantity controls the map script for Route 8 (address D601 in Red/Blue, D600 in Yellow). Though a quantity of 1 for this item will set up a Special-stat encounter (as if activating the Trainer escape glitch), out of bounds values are glitch scripts associated with this glitch.
== Map 0xFE corruption ==
After the player enters [[map 0xFE (English Yellow)|map 0xFE]] without a freeze using a safe level-script pointer for DC0E, they will be warped to map 0x99 (a house in Fuchsia City).
After using the expanded items pack to escape this map (as the exit by default will link back to the house), the player will be able to access maps with invalid meta-map scripts.
== Fixing the glitch ==
{{Researchneeded|Add methods with details for each map}}
<br clear=all>
The glitch comes from the game advancing the map script ID but triggering more battles due to reading invalid flags, and not setting the ID back to 0 (the intended way), or from a glitch with the side effect of corrupting the map script.
Using item PC [[
[[Category:Generation I glitches]]
|