Jump to content

Meta-map script activation: Difference between revisions

no edit summary
No edit summary
Line 2:
{{Bulbapedia2|0 ERROR}}
 
'''Meta-map script activation''' refers to a set of [[glitch]]es in {{RBY}}. These glitches will modify the "meta-map script" (also known as GameProgressFlags in the Pokémon disassembly projects<ref>[https://github.com/pret/pokered/blob/master/ram/wram.asm Pokémon Red disassembly project WRAM]</ref><ref>[https://github.com/pret/pokeyellow/blob/master/ram/wram.asm Pokémon Yellow disassembly project WRAM]</ref>) associated with a certain map, which is a special map script used to execute code on particular maps (one byte for each map). 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.
 
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. They are also specific to each map, unlike the D36E-D36F address that is a pointer to anywhere in the current bank in the ROM, or RAM. Therefore, if an invalid meta-map script causes a map (e.g. a route, a level of a cave) to become glitchy, it will persist even if the player leaves the map, and saves and resets the game.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.