pokemon-showdown/mods/gen2
Guangcong Luo c8c03ad92d Update Endless Battle Clause
The full description is in the comments of the Endless Battle
Clause entry in rulesets.js.

This update fixes a lot of the issues with yesterday's version.

Also included: A minor refactor of deductPP, which did not need
a success variable.
2015-07-22 03:41:43 -04:00
..
abilities.js
formats-data.js Gen 2 RandBats: Moveset fixes 2015-04-14 13:02:10 +02:00
items.js Gen II: Fix critical hit ratios 2015-05-08 12:20:51 -04:00
learnsets.js Gen II: Smoochum can't legally learn Lovely Kiss 2015-06-26 15:04:04 -04:00
moves.js Update GSC Drain+Subs mechanic hint to use -hint 2015-07-03 19:30:56 -05:00
README.md
rulesets.js Gen 2: Proper chain breeding learnset check 2015-05-13 16:45:23 +02:00
scripts.js RBY-GSC Randbats: Fix high incidence of later gen Pokémon 2015-07-16 13:33:42 -05:00
statuses.js Update Endless Battle Clause 2015-07-22 03:41:43 -04:00
typechart.js Gen II: Steel types can become poisoned 2015-06-18 15:33:39 -04:00

Gen 2

Introduction

Generation 2 includes the games Pokémon Silver, Gold, and Crystal. Stadium 2 may also be counted, but for simulating purposes the mechanics of choice are those of Crystal. In this metagame we find 251 Pokémon, three of which are banned to Ubers, that have no abilities, basically can only use Leftovers as an item, have poor attacking moves, no coverage, and Rest and Sleep Talk which can use Rest. Therefore we find a very stally meta, for the defense overcomes the offense easily.

EVs and IVs

Since Generation 2 was still a Game Boy game and it's retrocompatible with Generation 1, the Special EV and IV was still used for both Special Attack and Special Defense. IVs were still called DVs and they ranged from 0 to 15, each giving 2 points to the stat. The DVs decided the gender, male to female ratio, shinyness, Hidden Power base power and type, and Unown's letter. The EVs could all still be maxed as happened with Stat Experience in Generation 1.

Hidden Power

Hidden Power is an excellent coverage move and it's decided by a Pokémon's DVs. The type was decided with the following operation: 4 * (atkDV % 4) + (defDV % 4) Which gives as a number from 0 to 16, giving us the index in the type table to use. The Hidden Power base power was decided with the following formula: Math.floor((5 * ((spcDV >> 3) + (2 * (speDV >> 3)) + (4 * (defDV >> 3)) + (8 * (atkDV >> 3))) + (spcDV > 2 ? 3 : spcDV)) / 2 + 31); The DVs are shifted 3 positions, taking thus the most important byte, thus having no value under 8 DVs and a value on 8 and higher. The most important DV was attack and special.

Critical Hits

Critical hits ignore defensive boosts but not defensive drops.

Status

Sleep lasts 1-5 turns and you the counter is not reset upon switch.