Meta-map script activation: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 2: Line 2:
{{Bulbapedia2|0 ERROR}}
{{Bulbapedia2|0 ERROR}}


'''Glitch meta-map script activation''', previously known as '''walking lag glitch''', and as '''0 ERROR''' or '''Zero Error''' due to error codes that may appear during the text box matching method, is a [[glitch]] in {{RBY}}.
'''Glitch meta-map script activation''', previously known as '''walking lag glitch''', and as '''0 ERROR''' or '''Zero Error''' due to error codes that may appear during the text box matching method, refers to [[glitch]]es in {{RBY}}.


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.
This glitch will modify the 'meta-map script' associated with a certain map, which is a special map script used to activate code on particular maps (one byte for each map). Unlike the temporary map scripts stored at D36E-D36F, meta-map scripts are usually permanent unless the script itself changes the meta-map script ID to a different value.

An example of a meta-map script is one that sets the event in Pallet Town where Professor Oak stops the player from walking into the grass. It is disabled later thanks to the game changing the ID of the meta-map script later.

If a meta-map script activation glitch is activated with the [[Trainer escape glitch]], it will be activated on the location that the player escaped from the Trainer.


==Effects==
==Effects==