Type 0xD0 move glitch: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Torchickens No edit summary |
m (Text replacement - "(\bld(?:|i|l|d|h) (?:.+, ?)?)\((.+)\)" to "$1[$2]") |
||
Line 5: | Line 5: | ||
An advantage to this glitch over Coin Case glitch is that it may not corrupt the stack (similar to wrong pocket TM ACE which never corrupts the stack), however it requires move 0x00 which can only be obtained by trading a Pokémon with it over from Generation I (such as [[- (move)|"-" move Ditto]] with the [[swapping Transform moves glitch]], obtaining a [[bad clone]], or using another form of arbitrary code execution). |
An advantage to this glitch over Coin Case glitch is that it may not corrupt the stack (similar to wrong pocket TM ACE which never corrupts the stack), however it requires move 0x00 which can only be obtained by trading a Pokémon with it over from Generation I (such as [[- (move)|"-" move Ditto]] with the [[swapping Transform moves glitch]], obtaining a [[bad clone]], or using another form of arbitrary code execution). |
||
This glitch has been used in any% speedruns of Pokémon Gold and Silver ([https://www.youtube.com/watch?v=3mI3Cdt4j24 see here]), and was researched by |
This glitch has been used in any% speedruns of Pokémon Gold and Silver ([https://www.youtube.com/watch?v=3mI3Cdt4j24 see here]), and was researched by luckytyphlosion. ChickasaurusGL also adapted it for non-speedrunning uses. |
||
==Summary== |
==Summary== |
||
Line 63: | Line 63: | ||
ei |
ei |
||
ld d,b |
ld d,b |
||
ld |
ld [f8d3],a |
||
xor a |
xor a |
||
sub 80 |
sub 80 |
||
sub 85 |
sub 85 |
||
ld d,b |
ld d,b |
||
ld |
ld [80e7],a |
||
xor a |
xor a |
||
sub f3 |
sub f3 |
||
sub 9b |
sub 9b |
||
ld d,b |
ld d,b |
||
ld |
ld [f8e6],a |
||
xor a |
xor a |
||
sub fb |
sub fb |
||
Line 79: | Line 79: | ||
ld d,b |
ld d,b |
||
sub 81 |
sub 81 |
||
ld |
ld [d580],a |
||
xor a |
xor a |
||
sub 99 |
sub 99 |
||
ld d,b |
ld d,b |
||
sub 9e |
sub 9e |
||
ld |
ld [f8f1],a |
||
ld d,b |
ld d,b |
||
ld d,b |
ld d,b |