Anonymous user
Pokémon Blue any% No Save Corruption speedrun route: Difference between revisions
Pokémon Blue any% No Save Corruption speedrun route (view source)
Revision as of 14:16, 20 March 2019
, 5 years ago→Glitch meta-map script activation: Linked to corresponding general descriptions of glitch meta-map script effects.
>Bbbbbbbbba |
>Bbbbbbbbba (→Glitch meta-map script activation: Linked to corresponding general descriptions of glitch meta-map script effects.) |
||
Line 35:
** '''The Viridian Forest meta-map script ID is now 6, which is a "walking lag" script.'''
Meta-map script ID 4 in Viridian Forest is a typical case of [[Glitch meta-map script activation#Repeated trainer fights|"trainer text script as map script"]]. It points to ViridianForestText2:
ViridianForestText2:
Line 61:
The event flag points to "bit 8 of $5142" (i.e. bit 0 of $5143) on bank 3. Since the flag is not set, another fight begins, and the meta-map script ID is advanced by 2, ending up at 6.
Meta-map script ID 6 points to ViridianForestText4, which is very similar, except that $5142 (ViridianForestTrainerHeader0) changes to $515A (ViridianForestTrainerHeader2), which results in the "trainer beaten" event flag being set. Therefore it's a [[Glitch meta-map script activation#
==Arbitrary code execution==
|