Re: Swift (Speed Star) in Japanese 1st Gen
Posted by: froggy25
Date: 2016-07-19 13:36:38
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.
I haven't worked at all on the Japanese Pokémon Stadium yet, I'll have to take a look at this once I finally submit an initial commit to pokestadium on github ::)
Can we just say "Swift is broken" and move on? This is ridiculous. 17 replies to a thread about a broken Gen 1 move? That's a lotof chatter about an unsurprising development. Seriously. I'd expect this for, say, a newly-discovered glitch, but about something we knew about since this place began? MAYBE 6 replies MAXIMUM.
how
how does one bug an effect to only happen when your foe has a substitute
placing one line of code before another.
#Japanese
if target has a sub:
load the move effect
if it's the Swift Effect:
the move hits
if it's the Drain HP Effect:
the move misses
if it's the Dream Eater Effect:
the move misses
#English
load the move effect
if it's the Swift Effect:
the move hits
if target has a sub:
#the sub checking routine overwrites the move effect we loaded earlier
if it's the Drain HP Effect:
#this cannot happen
the move misses
if it's the Dream Eater Effect:
#this cannot happen
the move misses
I reckon the intention was to have drain moves miss against subs, and Swift always hit. That's what happens in 2nd Gen. But in Japanese 1st Gen, they seem to have put the Swift check below the sub check by accident. And in English 1st Gen, they tried to fix that by moving the Swift check above the sub check, but didn't notice they needed to load the move effect again, so drain moves can hit subs in the English versions.