Isn't it always great? So, the goal of this program is to help you save time, PokéDollars and your arsennal's Happiness.
It's super effective!.zip - 675KB
Instructions: Use the mouse or arrows to select "the foe's" pokémon type, then the program will compute the best kind of pokémon you should bring to battle.
Notice: Sometimes several types may achieve the same score, but only the first in type-order will be selected.
This scoring table is computed individually for each of the 17 types, then the top 2 are chosen and displayed to the user.
-Supereffective against one type (2x) [+2]
-Ultraeffective against both types (4x) [+3]
-'Levitate' lowers score of Ground [-1]
-Not very effective (one resistance) (0.5x) [-1]
-Quarter effectivity (two resistances) (0.25x) [-2]
-Complete immunity (0x) [-3]
-Double resistance (0.5) [+1]
-Quadruple resistance (0.25) [+2]
-Immune to one or two of the foe's types [+3; +3]
-Half resistance (2x) [-1]
-Quarter resistance (4x) [-2]
This system prioritizes Attack for coming up with the best choice,
since that's probably the best behavior.
(You don't want to end up fighting a Normal-type with a Ghost.)
Please comment on the program. Any input appreciated.
Edited by -=ReNeX=-, 04 June 2011 - 01:38 AM.