MetascriptDex: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
Line 1: Line 1:
{{incomplete}}
{{incomplete}}
The '''MetascriptDex''' is a database of the effects of [[glitch meta-map script activation|glitch meta-map scripts]].
The '''MetascriptDex''' is a database of the effects of [[glitch meta-map script activation|glitch meta-map scripts]] also known as GameProgressFlags.


There are at least 98*128=12544<ref>This would be 98*256=25088, however an <code><big>add a</big></code> instruction in <code><big>CallFunctionInTable</big></code> causes values over 127 to loop back to 0.</ref> possible scripts for each version, which amounts to a huge 25088 scripts split between Red/Blue and Yellow if there are no differences between the Red and Blue behavior.
There are at least 98*128=12544<ref>This would be 98*256=25088, however an <code><big>add a</big></code> instruction in <code><big>CallFunctionInTable</big></code> causes values over 127 to loop back to 0.</ref> possible scripts for each version, which amounts to a huge 25088 scripts split between Red/Blue and Yellow if there are no differences between the Red and Blue behavior.
Line 7: Line 7:


The lines in the middle of the Red/Blue and Yellow lists below mark the end of meta-map script addresses accessible with the [[Expanded PC item documentation (Generation I)|expanded PC items]].
The lines in the middle of the Red/Blue and Yellow lists below mark the end of meta-map script addresses accessible with the [[Expanded PC item documentation (Generation I)|expanded PC items]].

Thanks the Pokémon Red and Pokémon Yellow disassembly projects for originally documenting these.<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>


==In Red/Blue==
==In Red/Blue==