きあいだめで急所率が4分の1に。命中100%でも256分の1で外れる。
Focus Energy divides critical hits by four
The critical-hit chance starts from the species' base Speed, halved. Without Focus Energy the game doubles it then halves it again for a regular move: what is left is base Speed ÷ 2, out of 256.
With Focus Energy, instead of doubling, the code shifts the value the other way: it is halved, then halved again. The move meant to help makes critical hits four times rarer. High critical-hit moves multiply by eight instead, capped at 255/256.
Sources : pokered engine/battle/core.asm : CriticalHitTest (« bug: using focus energy causes a shift to the right instead of left »)
No move is truly 100% accurate
To decide whether a move hits, the game draws a number from 0 to 255 and makes it miss when that number is greater than or equal to the accuracy. The maximum accuracy is 255: when the draw is 255, the move misses. Even a 100% move therefore fails once in 256.
Sources : pokered engine/battle/core.asm : MoveHitTest (.doAccuracyCheck : call BattleRandom / cp b / jr nc, .moveMissed)
Substitute can leave the user at 0 HP
Substitute costs a quarter of max HP. The game only refuses the move if the subtraction goes below zero. If the user has exactly a quarter of its HP, the result is 0: the move succeeds and the Pokémon stays in play with 0 HP.
Sources : pokered engine/battle/move_effects/substitute.asm (« since it only branches on carry, it will possibly leave user with 0 HP »)