Pokemon R/B/Y - Possible stat modifier AI oversight @Crystal_2
Pokemon R/B/Y - Possible stat modifier AI oversight  @Crystal_2
Uploaded March 2015 | Updated September 2026, 2 weeks ago
The Pokemon Red/Blue/Yellow second AI layer encourages the use of stat up and down moves such as Growl and Swords Dance during the opponent's second turn, despite it'd make the most sense to encourage them in the first turn instead in order to maximize their potential. This is achieved by incrementing a certain address (ccd5) and encouraging stat modifying moves only during the turn that address contains exactly 1. ccd5 is cleared whenever an opponent's Pokemon faints, meaning it applies to every Pokemon's second turn.

Note that while there is another AI layer (layer 3), that discourages not very effective or ineffective moves, it only weighs them against other damaging moves, meaning that if there is no neutral or super-effective move to use, ineffective moves won't be discouraged. That's why the Cubone in the video kept using Bone Club.

Note that the AI layers 2 and 3 are not shared by every trainer class. Only the layer 1 is, with the exception of Youngster and Cue Ball (AI layer 1 discourages status moves when the player is already statused).
Pokemon R/B/Y - Possible stat modifier AI oversightPokemon G/S - Get (almost) infinite Items: Coin Case arbitrary code executionPokemon Crystal - When names are too longPokemon R/B/Y - Mechanics and hidden secrets of slot machinesPokemon G/S/C - Counter / Mirror Coat glitchPokemon Crystal - Random messing around with scriptsPokemon Crystal - Number of signposts byte glitchingPokemon Crystal - Randomizing attacks effect commandsPokemon Crystal - Using Pokeballs outside of battlePokemon Blue - Loading random glitched move dataPokemon R/B/Y - Hyper Beam + Sleep glitchPokemon R/B/Y - Stat down modifier overflow glitch (and a look at the quirks of stat modifiers)
Crystal_ |

Pokemon R/B/Y - Possible stat modifier AI oversight

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER