Advertisement
dtalley11

Pokedex Notes

Feb 2nd, 2014
1,655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /***********************************************************************************
  2. *  Example Pokedex
  3. * This file provides many examples of a range of different types of pokedex entries
  4. * Each entry is an expanded version of what is found on:
  5. * https://github.com/zarel/Pokemon-Showdown/blob/master/data/pokedex.js
  6. **/
  7.  
  8. exports.BattlePokedex = {
  9.     // Pokemon that has a evo but no prevo (eligible for little cup if not explicitly banned)
  10.     bulbasaur:{
  11.         num:1,
  12.         species:"Bulbasaur",
  13.         types:["Grass","Poison"],
  14.         genderRatio:{M:0.875,F:0.125},
  15.         baseStats:{hp:45,atk:49,def:49,spa:65,spd:65,spe:45},
  16.         abilities:{0:"Overgrow",H:"Chlorophyll"},
  17.         heightm:0.7,
  18.         weightkg:6.9,
  19.         color:"Green",
  20.         evos:["ivysaur"],
  21.         eggGroups:["Monster","Grass"]
  22.     },
  23.         // Pokemon that has a prevo and evo (eligible for middle cup if not explicitly banned)
  24.         charmeleon:{
  25.                 num:5,
  26.                 species:"Charmeleon",
  27.                 types:["Fire"],
  28.                 genderRatio:{M:0.875,F:0.125},
  29.                 baseStats:{hp:58,atk:64,def:58,spa:80,spd:65,spe:80},
  30.                 abilities:{0:"Blaze",H:"Solar Power"},
  31.                 heightm:1.1,
  32.                 weightkg:19,
  33.                 color:"Red",
  34.                 prevo:"charmander",
  35.                 evos:["charizard"],
  36.                 evoLevel:16,
  37.                 eggGroups:["Monster","Dragon"]
  38.         },
  39.        
  40.         // Pokemon that has megaevolution
  41.         charizard:{
  42.                 num:6,species:"Charizard",
  43.                 types:["Fire","Flying"],
  44.                 genderRatio:{M:0.875,F:0.125},
  45.                 baseStats:{hp:78,atk:84,def:78,spa:109,spd:85,spe:100},
  46.                 abilities:{0:"Blaze",H:"Solar Power"},
  47.                 heightm:1.7,
  48.                 weightkg:90.5,
  49.                 color:"Red",
  50.                 prevo:"charmeleon",
  51.                 evoLevel:36,
  52.                 eggGroups:["Monster","Dragon"],
  53.                 otherFormes:["charizardmegax","charizardmegay"]
  54.         },
  55.  
  56.         // A megaevolution entry
  57.         charizardmegax:{
  58.                 num:6,
  59.                 species:"Charizard-Mega-X",
  60.                 baseSpecies:"Charizard",
  61.                 forme:"Mega-X",
  62.                 formeLetter:"M",
  63.                 types:["Fire","Dragon"],
  64.                 baseStats:{hp:78,atk:130,def:111,spa:130,spd:85,spe:100},
  65.                 abilities:{0:"Tough Claws"},
  66.                 heightm:1.7,
  67.                 weightkg:110.5,
  68.                 color:"Red",
  69.                 prevo:"charmeleon",
  70.                 evoLevel:36,
  71.                 eggGroups:["Monster","Dragon"]
  72.         },
  73.  
  74.         // Charizard mega Y
  75.         charizardmegay:{
  76.                 num:6,species:"Charizard-Mega-Y",
  77.                 baseSpecies:"Charizard",
  78.                 forme:"Mega-Y",
  79.                 formeLetter:"M",
  80.                 types:["Fire","Flying"],
  81.                 baseStats:{hp:78,atk:104,def:78,spa:159,spd:115,spe:100},
  82.                 abilities:{0:"Drought"},
  83.         `       heightm:1.7,w
  84.                 eightkg:100.5,
  85.                 color:"Red",
  86.                 prevo:"charmeleon",
  87.                 evoLevel:36,
  88.                 eggGroups:["Monster","Dragon"]
  89.         },
  90.  
  91.         // Base pokemon who doesn't evolve
  92.         zapdos:{
  93.                 num:145,
  94.                 species:"Zapdos",
  95.                 types:["Electric","Flying"],
  96.                 gender:"N",
  97.                 baseStats:{hp:90,atk:90,def:85,spa:125,spd:90,spe:100},
  98.                 abilities:{0:"Pressure",H:"Static"},
  99.                 heightm:1.6,
  100.                 weightkg:52.6,
  101.                 color:"Yellow",
  102.                 eggGroups:["Undiscovered"]
  103.         },
  104.  
  105.         // CAP pokemon
  106.         cawmodore:{
  107.                 num:-6,
  108.                 species:"Cawmodore",
  109.                 types:["Steel","Flying"],
  110.                 baseStats:{hp:50,atk:92,def:130,spa:65,spd:75,spe:118},
  111.                 abilities:{0:"Intimidate",1:"Volt Absorb",H:"Big Pecks"},
  112.                 heightm:1.7,
  113.                 weightkg:37.0,
  114.                 color:"",
  115.                 eggGroups:["Flying"]},
  116.                
  117.         syclant:{
  118.                 num:-51,
  119.                 species:"Syclant",
  120.                 types:["Ice","Bug"],
  121.                 baseStats:{hp:70,atk:116,def:70,spa:114,spd:64,spe:121},
  122.                 abilities:{0:"Compound Eyes",1:"Mountaineer"},
  123.                 heightm:1.7,
  124.                 weightkg:52,
  125.                 color:"",
  126.                 eggGroups:["Bug"]
  127.         },
  128.  
  129.         // This.
  130.         missingno:{
  131.                 num:0,
  132.                 species:"Missingno.",
  133.                 types:["Bird","Normal"],
  134.                 baseStats:{hp:33,atk:136,def:0,spa:6,spd:6,spe:29},
  135.                 abilities:{0:"",H:""},
  136.                 heightm:3,
  137.                 weightkg:1590.8,
  138.                 color:"Gray",
  139.                 eggGroups:["Undiscovered"]
  140.         },
  141. }
  142. //End of example Pokedex
  143.  
  144. // example from data/formats-data.js
  145. cawmodore: {
  146.         viableMoves: {"bellydrum":1,"bulletpunch":1,"drainpunch":1,"acrobatics":1,"drillpeck":1,"substitute":1,"ironhead":1,"quickattack":1},
  147.         isNonstandard: true,
  148.         tier: "CAP"
  149.     },
  150. syclant: {
  151.         viableMoves: {"bugbuzz":1,"icebeam":1,"blizzard":1,"earthpower":1,"spikes":1,"superpower":1,"tailglow":1,"uturn":1,"focusblast":1},
  152.         isNonstandard: true,
  153.         tier: "CAP"
  154. },
  155.    
  156. // Example from config/formats.js  
  157. {
  158.     name: "CAP",
  159.     section: "Other Metagames",
  160.  
  161.     ruleset: ['CAP Pokemon', 'Standard', 'Team Preview'],
  162.     banlist: ['Uber', 'Soul Dew', 'Gengarite', 'Kangaskhanite']
  163. },
  164.    
  165. // data/rulesets.js
  166.     cappokemon: {
  167.         effectType: 'Rule',
  168.         validateSet: function(set, format) {
  169.             return this.getEffect('Pokemon').validateSet.call(this, set, format, true);
  170.         }
  171.     },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement