Jump to content

Recommended Posts

Posted (edited)

There is a glitch on all 5 versions of Gen IV with the move 258, AKA Hail.

Basically you can use the move Hail even when Snow Warning has been activated, resetting to 5 turns of Hail in the process.

To fix this oversight from GameFreak:

_Go to the move behavior narc, so either battle/skill/be_seq.narc (DPPt) or a/0/3/0 (HGSS)

_Go to file 164

The string should begin with 20 00 00 00 04 00 00 00 07 00 00 00 40 00 00 00, etc.

Change the 13th byte from 40 to C0.

What you did here is fixing the trigger for hailing so that the game calls the code correctly.

Here are the triggers for each of the weathers:

01 : Rain Dance

02 : Drizzle

04 : Sandstorm

08 : Sand Stream

10 : Sunny Day

20 : Drought

40 : Hail

80 : Snow Warning

For some reason the 3 other weather-inducing moves checked for both their respective timed and permanent weather, but Hail only checked for timed hailstorm.

Edited by MeroMero
Posted

Thanks!

What I find more impressive of a feat is that this glitch managed to go undetected for this many years.

But at the same time I can't really blame the players either, I mean who in their right mind would try to use a weather-inducing move when its ability's counterpart is already in effect?

I only managed to stumble upon it because I wanted to test a custom piece of code, one who boost by 50% the Physical Defense of Ice-type mons under hail, that's why.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...