Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation I Glitch Discussion

Defense Up 1 Glitch - Page 1

Defense Up 1 Glitch

Posted by: Raven Freak
Date: 2019-09-19 20:23:36
So I just recently attempted to do a Weedle only run in Blue version when I came across this glitch which makes the run impossible. I call it the Defense Up 1 glitch, because all moves that have this effect triggers this. It also seems to effect Poison type moves only, I'm currently not sure if it effects other types. I attempted to beat Brock with my level 17 Weedle when I could no longer hit Geodude after it used Defense Curl within two turns. Poison Sting's accuracy rate is 100%, but the Defense_Up1 effect seems to decrease any Poison type move's accuracy, making each move miss. Is this oversight well known? I know I haven't been keeping up with this place lately. :P I also haven't checked if the defense_up2 causes this to happen, so it could very well be the same case.

Re: Defense Up 1 Glitch

Posted by: entrpntr
Date: 2019-09-19 21:32:23
It's an artifact of the damage formula, which can return 0 only in the case of quad-resistant moves (such as poison vs ground/rock). In Gen 1, the game says the attack missed on such cases. The defense boosts presumably pushed Geodude's defense high enough to trigger it. It is mentioned on this bulbapedia page, but I'm not sure I'd classify it as well known.

Re: Defense Up 1 Glitch

Posted by: Sherkel
Date: 2019-09-20 10:42:04
I didn't know about it! Surely enough, someone seems to have caught it on the disassembly, but I don't think it's on here yet!

Re: Defense Up 1 Glitch

Posted by: Raven Freak
Date: 2019-09-21 10:53:30
Ah I was looking at the wrong part of the main battle code, I figured that since it wasn't documented here yet that it wasn't too well known. Looks like I'll have another page to add to the wiki, given if it hasn't been added yet. :)