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

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: Guaranteed flinch effect in Generation II  (Read 1031 times)

0 Members and 1 Guest are viewing this topic.

Evie (retired from head adminship)

  • Veteran Contributor
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Guaranteed flinch effect in Generation II
« on: March 12, 2014, 07:29:39 am »
In Gold/Silver/Crystal there is a move effect that I think might be unused. Its identifier is 8D (141). If you use it when you are faster than the opponent, it will cause a guaranteed flinch, unless the opponent uses Protect but it won't deal any damage. If you use it when you are slower than the opponent, it will apparently always miss, even if you used Mind Reader the turn before.

In English Gold, the attack database begins at 0x41AFE, and in Crystal it begins at 0x41AFB, using the format [Attack Animation] [Effect] [Base Power] [Type] [Accuracy] [PP] [unknown value] (thanks theoblivinator from the Skeetendo forums). Here is an example of a move 'fingerprint': Pound - 01 00 28 00 FF 23 00.

I don't think this is an invalid move effect, because there are moves with higher effect identifiers, including Belly Drum (0x8E), Skull Bash (0x91), Future Sight (0x94), Beat Up (0x9A) and there are probably more but I haven't checked, with the first move effect that is definitely invalid being 0x9D. Also, the flinch effect is the same between Gold/Crystal and Japanese Gold (though I haven't checked if the effect when you're slower is the same).

I was interested in checking the move effects after walk_away21 mentioned recently on the Skeetendo forums that there was an unused "Fake Out" effect under its own move, where the game would activate the Fake Out effect then 'hittarget'. Does this mean that there is code for a move to hit with this aforementioned flinch effect? I can't find that Fake Out label in the Pokémon Crystal disassembly. If Fake Out was planned in Generation II, it is notable that Fake Out is the first index number for a new move in that generation, following Beat Up (FB).
« Last Edit: March 12, 2014, 08:20:44 am by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory) Sorry I don't know who made the Eevee butterfly fan art :(

✿ Hi, I'm Evie. No longer active here other than to answer questions, messages. Sorry I've had to step down and have demoted myself (will explain later). I suggest contacting Photon-Phoenix/Yuzihax, and Abwayax.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Banned
  • *
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: Guaranteed flinch effect in Generation II
« Reply #1 on: March 13, 2014, 05:18:49 am »
Code: [Select]
EFFECT_FAKE_OUT            EQU $8d
constants/battle_constants.asm

...however this constant is not referenced from anywhere else.

I guess it may indeed be unused..
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

Stilgar

  • Member+
  • Offline Offline
  • Gender: Male
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Guaranteed flinch effect in Generation II
« Reply #2 on: March 13, 2014, 10:47:14 am »
Very interesting find indeed, I agree that if Fake Out is the first index move in Generation III then this further proves it was an unused move in Gen II, I wonder why they removed it, though, it would have been nice to have it in Gold/Silver/Crystal.
"The pendulum stops. Every mouth chews the silence."

Evie (retired from head adminship)

  • Veteran Contributor
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Guaranteed flinch effect in Generation II
« Reply #3 on: March 13, 2014, 12:31:11 pm »
Very interesting find indeed, I agree that if Fake Out is the first index move in Generation III then this further proves it was an unused move in Gen II, I wonder why they removed it, though, it would have been nice to have it in Gold/Silver/Crystal.

I don't know if this effect was meant to deal damage as I haven't confirmed that myself through hacking yet. (even if you have an attack power for it programmed in (in the move database) it will still do no damage), so this effect may be a 'spiritual predecessor' to Fake Out rather than a direct one. It doesn't stop working after the first turn the user is out, either.

The only way I can see it working competitively if it deals no damage is if your opponent in poisoned, preferably through Toxic and then you'd probably need a Pokémon with good defenses (though this is not necessary if you cause your opponent to switch to a poisoned Pokémon) and Mean Look to take advantage of 0x8D until you run out of PP for the move.

There was also a glitch when I changed Pound's effect to Skull Bash (0x91)'s. The game said the user dug a hole the turn its defense was raised instead of it lowering its head, but when I looked at Skull Bash's effect it was definitely 0x91. So this raises a question of whether my version of the flinch effect is valid.
« Last Edit: March 13, 2014, 01:08:25 pm by Torchickens »

✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿
Here have some free flowers on every post :)
✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿✿



(Images © Sanrio, Nintendo, Pokémon, HAL Laboratory) Sorry I don't know who made the Eevee butterfly fan art :(

✿ Hi, I'm Evie. No longer active here other than to answer questions, messages. Sorry I've had to step down and have demoted myself (will explain later). I suggest contacting Photon-Phoenix/Yuzihax, and Abwayax.

Forgiveness. I feel that the more people pray to our greatest source/God/mathematical equality for world peace, the more and more it manifests into reality (until our next spiritual death).

Thank you Nyapon for this lovely artwork. :3