FacingDex: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
(Moving to glitch 0xC109 ID article)
Line 1: Line 1:
{{incomplete|Document effects of other indices, in particular for Red/Blue if possible}}
{{incomplete|Document effects of other indices, in particular for Red/Blue if possible}}


The '''FacingDex''' covers [[glitch 0xC109 ID]]s in {{RBY}}. This address controls a state of the player's sprite.
The '''FacingDex''' covers [[glitch 0xC109 ID]]s in {{RBY}}, and their Pokémon Yellow [[ItemDex/Y:110|Lg- (0x6E)]] or locked values (on exit mat) effects.

In Pokémon Yellow, by adjusting the value of C109 and using [[glitch item]] [[ItemDex/Y:110|Lg- (0x6E)]], it is possible to cause different effects, including [[arbitrary code execution]].

The C109 script also executes when walking around one tile above an exit with the value kept while walking.

In order to obtain an invalid C109 address, the player may encounter [[MissingNo.|Yellow regular MissingNo.]] to obtain a value which varies heavily.


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