Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Celebi Egg glitch
SRAM glitch
Pomeg glitch
Tweaking
Pokémon cloning
Arbitrary code execution
Glitches by generation
Other major glitches
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Pokémon cheat codes
Pokémon glitch terminology
Useful tools
More

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Why does Fire Fang bypass Wonder Guard ?  (Read 473 times)

0 Members and 1 Guest are viewing this topic.

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Why does Fire Fang bypass Wonder Guard ?
« on: August 05, 2018, 08:18:03 am »
So there's this glitch in gen 4 that allows the move Fire Fang to hit any pokemon with Wonder Guard, even if they're not weak to fire. This affect any pokemon that eventually gets Wonder Guard via Trace (or via hacking) without being weak to fire.

I noticed it as a kid when i had hacked a Wondertomb into my game and was using it in the Battle Tower.  Then 9 years later i got curious and searched to see if anyone else had noticed it. As it turns out, people did.
https://gamefaqs.gamespot.com/boards/960099-pokemon-heartgold-version/54819376
https://pokemondb.net/pokebase/9859/so-fire-fang-always-hit-wonder-guard-even-its-not-effective
https://bulbapedia.bulbagarden.net/wiki/List_of_glitches_in_Generation_IV#Fire_Fang_Wonder_Guard_glitch

However, i can't find an explanation to how this glitch works. The closest i got is this https://projectpokemon.org/home/forums/topic/35405-glitchgen-iv-fire-fang-bypasses-wonder-guard/ , which explains how to patch the game to fix the glitch (apparently the first two bytes of the move's data are 11 01 and should be 16 01), but it doesn't explain what is causing this glitch to occur or why the data is wrong in the first place.

Does anyone here have an idea of what causes this glitch to occur ?
« Last Edit: August 05, 2018, 08:19:27 am by Tabbender »
Issou la chancla

Bert

  • Your Real Dad
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Enemy FERALIGATR can't receive the gift!
    • View Profile
Re: Why does Fire Fang bypass Wonder Guard ?
« Reply #1 on: August 05, 2018, 04:16:28 pm »
It probably went unnoticed during development since Shedinja is the only Pokemon to naturally have the ability. Note that Thunder Fang and Ice Fang don't have the same affect. Might be trolling on Game Freak's part since no other fire-type move does this.

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Re: Why does Fire Fang bypass Wonder Guard ?
« Reply #2 on: August 06, 2018, 08:43:34 am »
Well it IS possible to legitimately obtain a non-weak to fire Wonder Guard pokemon, via Trace. So i don't think it was intentional.
Issou la chancla

Sherkel

  • The first unquiring one to bare arms
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • リリー再び!
    • View Profile
Re: Why does Fire Fang bypass Wonder Guard ?
« Reply #3 on: August 06, 2018, 03:41:49 pm »
The answer probably requires knowledge of ARM9 assembly to understand. As Bert said, though, I'm betting there isn't one. Strangely, the move behavior table only seems to have 276 entries, so the guide's direction to point Fire Fang to the 278th entry just makes me more lost. Maybe you could ask on Project Pokémon?
 
 

Quirky Flower Chicken ❤✿

  • Administrator
  • *****
  • Online Online
  • Gender: Female
  • (Image thanks Sanrio + Pexels)
    • View Profile
Re: Why does Fire Fang bypass Wonder Guard ?
« Reply #4 on: August 07, 2018, 01:14:16 pm »
Maybe it was some kind of weird curiosity Game Freak added regarding Fire Fang to secure it works properly (maybe there's something in the code of the move that unintentionally made it not work against Wonder Guard even if super-effective) because all Shedinja are meant to be weak to Fire-type moves (type Bug/Ghost).

But like Tabbender said, if Trace can copy Wonder Guard it introduces unintended behaviour.
« Last Edit: August 07, 2018, 01:15:03 pm by Evie Torchic the Glitch Scientist »

(Image © Sanrio, Nintendo, HAL Laboratory)

✿ Hi! I'm Evie. I'm a transgender woman, but any pronouns are fine. She/her preferred. ✿ 🦋

Forgiveness is timeless, and moments we look back on humble the soul. Jesus said it best. You must be blind to see and must see to be blind metaphorically is said. I don't think there is one Messiah nor a definitive truth, because we find truths in relative moments. However, there may be unknowable truths and sometimes it feels we have got to embrace the mystery and what we don't know.

Thank you for this lovely artwork Nyapon! :3

Tabbender

  • Knight of Space
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Read Homestuck btw
    • View Profile
Re: Why does Fire Fang bypass Wonder Guard ?
« Reply #5 on: August 08, 2018, 04:51:03 am »
The answer probably requires knowledge of ARM9 assembly to understand. As Bert said, though, I'm betting there isn't one. Strangely, the move behavior table only seems to have 276 entries, so the guide's direction to point Fire Fang to the 278th entry just makes me more lost. Maybe you could ask on Project Pokémon?

Well i'd say there have to be an answer, but if the move behavior pointer points to an out of bound value, it probably interprets garbage data as behavior data, which could explain that... though i'm not sure which part of a move exactly is modified by the behavior.
I'll try to ask on Project Pokémon if i have time.

Maybe it was some kind of weird curiosity Game Freak added regarding Fire Fang to secure it works properly (maybe there's something in the code of the move that unintentionally made it not work against Wonder Guard even if super-effective) because all Shedinja are meant to be weak to Fire-type moves (type Bug/Ghost).

But like Tabbender said, if Trace can copy Wonder Guard it introduces unintended behaviour.

I don't think so, since the tutorial on the post i linked apparently solved the issue entirely and made it so Fire Fang works normally (so it should still work on Shedinja). And i don't get why Fire Fang specifically would have this problem when other Fang moves don't...
Issou la chancla