Talk:Escape: Difference between revisions

(→‎How (not) to flee: new section)
Line 29: Line 29:


Is this true? I don't remember a Pokémon that isn't known for fleeing ever fleeing from me in GSC. If that sentence is true, the statistics of a regular Pokémon fleeing must be really low. Does anyone know them? - [[User:Ericss|Ericss]] 10:38, 15 March 2012 (UTC)
Is this true? I don't remember a Pokémon that isn't known for fleeing ever fleeing from me in GSC. If that sentence is true, the statistics of a regular Pokémon fleeing must be really low. Does anyone know them? - [[User:Ericss|Ericss]] 10:38, 15 March 2012 (UTC)
== How (not) to flee ==
From a look at the code (I'll link to the most relevant sections):
*You [https://github.com/pret/pokecrystal/blob/f0209d6ed6a0cd0e759dff49bdfe4d8171229c29/battle/core.asm#L3851 can't run] (regardless of when) from: Geodude/Voltorb/Koffing traps in Team Rocket HQ, (event Celebi), Tin Tower Suicune, Red Gyarados, [Trainer], SpiderWeb/MeanLook, bound(Bind/Wrap/FireSpin/Clamp/Whirlpool). Else, Smoke Ball guarantees success (even when held by a Pokémon who has just fainted).
*Teleport [https://github.com/pret/pokecrystal/blob/f0209d6ed6a0cd0e759dff49bdfe4d8171229c29/battle/effect_commands.asm#L6618 does the same], except it apparently doesn't check for bound (neither in Gen I). There's some other caveats (it ''can'' fail etc., but no Smoke Ball interactions), so I guess I'm gonna come back to Teleport (and Roar and Whirlwind) at some point in the near future.
So, research I'm interested in: When did binding moves start to prevent Teleport (if at all)? [[User:Nescientist|Nescientist]] ([[User talk:Nescientist|talk]]) 16:50, 2 May 2017 (UTC)