List of glitches (Generation IV): Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
re-recorded them again to be in a more comfortable orientation
m (re-recorded them again to be in a more comfortable orientation)
Line 9: Line 9:
{{m|Fire Fang}} is able to hit through {{a|Wonder Guard}}, even if the target does not have a weakness to {{type|Fire}} moves. This does not apply to {{m|Ice Fang}}, {{m|Thunder Fang}}, or any other Fire-type moves. This is possible if the opponent copies Wonder Guard by {{a|Trace}}. This happens due to a typo within the [[Wikipedia:Switch statement|switch statement]] for a function for Wonder Guard in relation to [[:Category:Moves with a charging turn|moves with a charging turn]] and {{m|Bide}}. The function is intended to compare move effect codes to a list in the function to prevent specific moves' charging turn(s) from being affected by Wonder Guard. {{m|Shadow Force}}, which its move effect code is 272, is intended to be a part of the switch statement, but Fire Fang, which is 273, is instead in the statement. Since Fire Fang doesn't have a charging turn, this allows it to always bypass Wonder Guard. Notably, despite not being a part of this function, Shadow Force behaves normally against a foe with Wonder Guard.<ref>https://www.smogon.com/forums/threads/prototype-development-diamond-pearl-assets-leak.3664842/#post-8480222</ref>
{{m|Fire Fang}} is able to hit through {{a|Wonder Guard}}, even if the target does not have a weakness to {{type|Fire}} moves. This does not apply to {{m|Ice Fang}}, {{m|Thunder Fang}}, or any other Fire-type moves. This is possible if the opponent copies Wonder Guard by {{a|Trace}}. This happens due to a typo within the [[Wikipedia:Switch statement|switch statement]] for a function for Wonder Guard in relation to [[:Category:Moves with a charging turn|moves with a charging turn]] and {{m|Bide}}. The function is intended to compare move effect codes to a list in the function to prevent specific moves' charging turn(s) from being affected by Wonder Guard. {{m|Shadow Force}}, which its move effect code is 272, is intended to be a part of the switch statement, but Fire Fang, which is 273, is instead in the statement. Since Fire Fang doesn't have a charging turn, this allows it to always bypass Wonder Guard. Notably, despite not being a part of this function, Shadow Force behaves normally against a foe with Wonder Guard.<ref>https://www.smogon.com/forums/threads/prototype-development-diamond-pearl-assets-leak.3664842/#post-8480222</ref>


{{YouTubeEmbed|9DAGp3n_cvs|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia|platinum}}
{{YouTubeEmbed|460e5of4NEg|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia|platinum}}


===GTS morphing glitch===
===GTS morphing glitch===
Line 24: Line 24:
The risk of not being able to reacquire a Pokémon while trying to evolve it through trade evolution over the GTS is very great and this could have been a planned countermeasure. The requirement (a trade) must still be met in order for the Pokémon to evolve, but this system would prevent a player from potentially losing the Pokémon they wanted to evolve.
The risk of not being able to reacquire a Pokémon while trying to evolve it through trade evolution over the GTS is very great and this could have been a planned countermeasure. The requirement (a trade) must still be met in order for the Pokémon to evolve, but this system would prevent a player from potentially losing the Pokémon they wanted to evolve.


{{YouTubeEmbed|I6_22kMzHEU|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia|platinum}}
{{YouTubeEmbed|-MEPpSTuYEM|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia|platinum}}


===GTS vanishing glitch===
===GTS vanishing glitch===
Line 167: Line 167:
If the player saves the game whilst on top of Barry, as the game begins to save Barry's sprite will be brought forward and will stand on top of the player's.
If the player saves the game whilst on top of Barry, as the game begins to save Barry's sprite will be brought forward and will stand on top of the player's.


{{YouTubeEmbed|2BrfIWlxj-s|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia |diamond}}
{{YouTubeEmbed|KChKee3wHoo|channel/UCfA2k3vubAAytJIarM7G2zQ|name= Pokemon Glitches for Bulbapedia |diamond}}


===Barry rematch oversight===
===Barry rematch oversight===

Navigation menu