Advertisement
Guest User

Untitled

a guest
Mar 19th, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;save as anything.ahk
  2. ;sry my code is rly messy, been staying up to 5am a lot latey
  3. ;the two things you'll need are Autohotkey and a bunch of images from http://dl.dropbox.com/u/32171177/ZIP.ZIP
  4. ;just make sure the IMG folder is in the same directory as the script
  5.  
  6.  #Persistent
  7. ;A_WorkingDir
  8. ifNotExist, %A_Temp%\sum.png
  9. FileInstall, IMG\summary.png, %A_Temp%\sum.png
  10. if ErrorLevel = 1
  11. {
  12.     msgbox could not exract, exiting
  13.     exitapp
  14. }
  15.  
  16. ;install the ocr 2x10s
  17. ifNotExist, %A_Temp%\0.png
  18.     FileInstall, IMG\0.png, %A_Temp%\0.png
  19. ifNotExist, %A_Temp%\1.png
  20.     FileInstall, IMG\1.png, %A_Temp%\1.png
  21. ifNotExist, %A_Temp%\2.png
  22.     FileInstall, IMG\2.png, %A_Temp%\2.png
  23. ifNotExist, %A_Temp%\3.png
  24.     FileInstall, IMG\3.png, %A_Temp%\3.png
  25. ifNotExist, %A_Temp%\4.png
  26.     FileInstall, IMG\4.png, %A_Temp%\4.png
  27. ifNotExist, %A_Temp%\5.png
  28.     FileInstall, IMG\5.png, %A_Temp%\5.png
  29. ifNotExist, %A_Temp%\6.png
  30.     FileInstall, IMG\6.png, %A_Temp%\6.png
  31. ifNotExist, %A_Temp%\7.png
  32.     FileInstall, IMG\7.png, %A_Temp%\7.png
  33. ifNotExist, %A_Temp%\8.png
  34.     FileInstall, IMG\8.png, %A_Temp%\8.png
  35. ifNotExist, %A_Temp%\9.png
  36.     FileInstall, IMG\9.png, %A_Temp%\9.png
  37.  
  38. ifNotExist, %A_Temp%\p1.png
  39.     FileInstall, IMG\p1.png, %A_Temp%\p1.png
  40. ifNotExist, %A_Temp%\p2.png
  41.     FileInstall, IMG\p2.png, %A_Temp%\p2.png
  42. ifNotExist, %A_Temp%\p3.png
  43.     FileInstall, IMG\p3.png, %A_Temp%\p3.png
  44.  
  45. ifNotExist, %A_Temp%\n1.png
  46.     FileInstall, IMG\n1.png, %A_Temp%\n1.png
  47. ifNotExist, %A_Temp%\n2.png
  48.     FileInstall, IMG\n2.png, %A_Temp%\n2.png
  49. ifNotExist, %A_Temp%\n3.png
  50.     FileInstall, IMG\n3.png, %A_Temp%\n3.png
  51. ifNotExist, %A_Temp%\n4.png
  52.     FileInstall, IMG\n4.png, %A_Temp%\n4.png
  53. ifNotExist, %A_Temp%\n5.png
  54.     FileInstall, IMG\n5.png, %A_Temp%\n5.png
  55. ifNotExist, %A_Temp%\n6.png
  56.     FileInstall, IMG\n6.png, %A_Temp%\n6.png
  57. ifNotExist, %A_Temp%\n7.png
  58.     FileInstall, IMG\n7.png, %A_Temp%\n7.png
  59. ifNotExist, %A_Temp%\n8.png
  60.     FileInstall, IMG\n8.png, %A_Temp%\n8.png
  61. ifNotExist, %A_Temp%\n9.png
  62.     FileInstall, IMG\n9.png, %A_Temp%\n9.png
  63. ifNotExist, %A_Temp%\n10.png
  64.     FileInstall, IMG\n10.png, %A_Temp%\n10.png
  65. ifNotExist, %A_Temp%\n11.png
  66.     FileInstall, IMG\n11.png, %A_Temp%\n11.png
  67. ifNotExist, %A_Temp%\n12.png
  68.     FileInstall, IMG\n12.png, %A_Temp%\n12.png
  69. ifNotExist, %A_Temp%\n13.png
  70.     FileInstall, IMG\n13.png, %A_Temp%\n13.png
  71. ifNotExist, %A_Temp%\n14.png
  72.     FileInstall, IMG\n14.png, %A_Temp%\n14.png
  73. ifNotExist, %A_Temp%\n15.png
  74.     FileInstall, IMG\n15.png, %A_Temp%\n15.png
  75. ifNotExist, %A_Temp%\n16.png
  76.     FileInstall, IMG\n16.png, %A_Temp%\n16.png
  77. ifNotExist, %A_Temp%\n17.png
  78.     FileInstall, IMG\n17.png, %A_Temp%\n17.png
  79. ifNotExist, %A_Temp%\n18.png
  80.     FileInstall, IMG\n18.png, %A_Temp%\n18.png
  81. ifNotExist, %A_Temp%\n19.png
  82.     FileInstall, IMG\n19.png, %A_Temp%\n19.png
  83. ifNotExist, %A_Temp%\n20.png
  84.     FileInstall, IMG\n20.png, %A_Temp%\n20.png
  85. ifNotExist, %A_Temp%\n21.png
  86.     FileInstall, IMG\n21.png, %A_Temp%\n21.png
  87. ifNotExist, %A_Temp%\n22.png
  88.     FileInstall, IMG\n22.png, %A_Temp%\n22.png
  89. ifNotExist, %A_Temp%\n23.png
  90.     FileInstall, IMG\n23.png, %A_Temp%\n23.png
  91. ifNotExist, %A_Temp%\n24.png
  92.     FileInstall, IMG\n24.png, %A_Temp%\n24.png
  93. ifNotExist, %A_Temp%\n25.png
  94.     FileInstall, IMG\n25.png, %A_Temp%\n25.png
  95.  
  96.  
  97. ;DATA ARRAYS
  98. loop 1
  99. {
  100. speciesBVs := [] ;initialize as array?
  101. speciesBVs[000] := {name:"Nothing"} ;thers no pokemon # 0 ,might not be needed. i don' think theres a 0 position in ahk
  102. speciesBVs[001] := {name:"Bulbasaur",hp:45,atk:49,def:49,spe:45,satk:65,sdef:65,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:""}
  103. speciesBVs[002] := {name:"Ivysaur",hp:60,atk:62,def:63,spe:60,satk:80,sdef:80,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Bulbasaur"}
  104. speciesBVs[003] := {name:"Venusaur",hp:80,atk:82,def:83,spe:80,satk:100,sdef:100,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Ivysaur"}
  105. speciesBVs[004] := {name:"Charmander",hp:39,atk:52,def:43,spe:65,satk:60,sdef:50,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:""}
  106. speciesBVs[005] := {name:"Charmeleon",hp:58,atk:64,def:58,spe:80,satk:80,sdef:65,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Charmander"}
  107. speciesBVs[006] := {name:"Charizard",hp:78,atk:84,def:78,spe:100,satk:109,sdef:85,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Charmeleon"}
  108. speciesBVs[007] := {name:"Squirtle",hp:44,atk:48,def:65,spe:43,satk:50,sdef:64,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:""}
  109. speciesBVs[008] := {name:"Wartortle",hp:59,atk:63,def:80,spe:58,satk:65,sdef:80,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Squirtle"}
  110. speciesBVs[009] := {name:"Blastoise",hp:79,atk:83,def:100,spe:78,satk:85,sdef:105,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Wartortle"}
  111. speciesBVs[010] := {name:"Caterpie",hp:45,atk:30,def:35,spe:45,satk:20,sdef:20,ability0:"Shield Dust",ability1:"Shield Dust",gender:127,ancestor:""}
  112. speciesBVs[011] := {name:"Metapod",hp:50,atk:20,def:55,spe:30,satk:25,sdef:25,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Caterpie"}
  113. speciesBVs[012] := {name:"Butterfree",hp:60,atk:45,def:50,spe:70,satk:80,sdef:80,ability0:"Compoundeyes",ability1:"Compoundeyes",gender:127,ancestor:"Metapod"}
  114. speciesBVs[013] := {name:"Weedle",hp:40,atk:35,def:30,spe:50,satk:20,sdef:20,ability0:"Shield Dust",ability1:"Shield Dust",gender:127,ancestor:""}
  115. speciesBVs[014] := {name:"Kakuna",hp:45,atk:25,def:50,spe:35,satk:25,sdef:25,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Weedle"}
  116. speciesBVs[015] := {name:"Beedrill",hp:65,atk:80,def:40,spe:75,satk:45,sdef:80,ability0:"Swarm",ability1:"Swarm",gender:127,ancestor:"Kakuna"}
  117. speciesBVs[016] := {name:"Pidgey",hp:40,atk:45,def:40,spe:56,satk:35,sdef:35,ability0:"Keen Eye",ability1:"Tangled Feet",gender:127,ancestor:""}
  118. speciesBVs[017] := {name:"Pidgeotto",hp:63,atk:60,def:55,spe:71,satk:50,sdef:50,ability0:"Keen Eye",ability1:"Tangled Feet",gender:127,ancestor:"Pidgey"}
  119. speciesBVs[018] := {name:"Pidgeot",hp:83,atk:80,def:75,spe:91,satk:70,sdef:70,ability0:"Keen Eye",ability1:"Tangled Feet",gender:127,ancestor:"Pidgeotto"}
  120. speciesBVs[019] := {name:"Rattata",hp:30,atk:56,def:35,spe:72,satk:25,sdef:35,ability0:"Run Away",ability1:"Guts",gender:127,ancestor:""}
  121. speciesBVs[020] := {name:"Raticate",hp:55,atk:81,def:60,spe:97,satk:50,sdef:70,ability0:"Run Away",ability1:"Guts",gender:127,ancestor:"Rattata"}
  122. speciesBVs[021] := {name:"Spearow",hp:40,atk:60,def:30,spe:70,satk:31,sdef:31,ability0:"Keen Eye",ability1:"Keen Eye",gender:127,ancestor:""}
  123. speciesBVs[022] := {name:"Fearow",hp:65,atk:90,def:65,spe:100,satk:61,sdef:61,ability0:"Keen Eye",ability1:"Keen Eye",gender:127,ancestor:"Spearow"}
  124. speciesBVs[023] := {name:"Ekans",hp:35,atk:60,def:44,spe:55,satk:40,sdef:54,ability0:"Intimidate",ability1:"Shed Skin",gender:127,ancestor:""}
  125. speciesBVs[024] := {name:"Arbok",hp:60,atk:85,def:69,spe:80,satk:65,sdef:79,ability0:"Intimidate",ability1:"Shed Skin",gender:127,ancestor:"Ekans"}
  126. speciesBVs[025] := {name:"Pikachu",hp:35,atk:55,def:30,spe:90,satk:50,sdef:40,ability0:"Static",ability1:"Static",gender:127,ancestor:"Pichu"}
  127. speciesBVs[026] := {name:"Raichu",hp:60,atk:90,def:55,spe:100,satk:90,sdef:80,ability0:"Static",ability1:"Static",gender:127,ancestor:"Pikachu"}
  128. speciesBVs[027] := {name:"Sandshrew",hp:50,atk:75,def:85,spe:40,satk:20,sdef:30,ability0:"Sand Veil",ability1:"Sand Veil",gender:127,ancestor:""}
  129. speciesBVs[028] := {name:"Sandslash",hp:75,atk:100,def:110,spe:65,satk:45,sdef:55,ability0:"Sand Veil",ability1:"Sand Veil",gender:127,ancestor:"Sandshrew"}
  130. speciesBVs[029] := {name:"Nidoran-f",hp:55,atk:47,def:52,spe:41,satk:40,sdef:40,ability0:"Poison Point",ability1:"Rivalry",gender:256,ancestor:""}
  131. speciesBVs[030] := {name:"Nidorina",hp:70,atk:62,def:67,spe:56,satk:55,sdef:55,ability0:"Poison Point",ability1:"Rivalry",gender:256,ancestor:"Nidoran-f"}
  132. speciesBVs[031] := {name:"Nidoqueen",hp:90,atk:82,def:87,spe:76,satk:75,sdef:85,ability0:"Poison Point",ability1:"Rivalry",gender:256,ancestor:"Nidorina"}
  133. speciesBVs[032] := {name:"Nidoran-m",hp:46,atk:57,def:40,spe:50,satk:40,sdef:40,ability0:"Poison Point",ability1:"Rivalry",gender:0,ancestor:""}
  134. speciesBVs[033] := {name:"Nidorino",hp:61,atk:72,def:57,spe:65,satk:55,sdef:55,ability0:"Poison Point",ability1:"Rivalry",gender:0,ancestor:"Nidoran-m"}
  135. speciesBVs[034] := {name:"Nidoking",hp:81,atk:92,def:77,spe:85,satk:85,sdef:75,ability0:"Poison Point",ability1:"Rivalry",gender:0,ancestor:"Nidorino"}
  136. speciesBVs[035] := {name:"Clefairy",hp:70,atk:45,def:48,spe:35,satk:60,sdef:65,ability0:"Cute Charm",ability1:"Magic Guard",gender:191,ancestor:"Cleffa"}
  137. speciesBVs[036] := {name:"Clefable",hp:95,atk:70,def:73,spe:60,satk:85,sdef:90,ability0:"Cute Charm",ability1:"Magic Guard",gender:191,ancestor:"Clefable"}
  138. speciesBVs[037] := {name:"Vulpix",hp:38,atk:41,def:40,spe:65,satk:50,sdef:65,ability0:"Flash Fire",ability1:"Flash Fire",gender:191,ancestor:""}
  139. speciesBVs[038] := {name:"Ninetales",hp:73,atk:76,def:75,spe:100,satk:81,sdef:100,ability0:"Flash Fire",ability1:"Flash Fire",gender:191,ancestor:"Vulpix"}
  140. speciesBVs[039] := {name:"Jigglypuff",hp:115,atk:45,def:20,spe:20,satk:45,sdef:25,ability0:"Cute Charm",ability1:"Cute Charm",gender:191,ancestor:"Igglybuff"}
  141. speciesBVs[040] := {name:"Wigglytuff",hp:140,atk:70,def:45,spe:45,satk:75,sdef:50,ability0:"Cute Charm",ability1:"Cute Charm",gender:191,ancestor:"Jigglypuff"}
  142. speciesBVs[041] := {name:"Zubat",hp:40,atk:45,def:35,spe:55,satk:30,sdef:40,ability0:"Inner Focus",ability1:"Inner Focus",gender:127,ancestor:""}
  143. speciesBVs[042] := {name:"Golbat",hp:75,atk:80,def:70,spe:90,satk:65,sdef:75,ability0:"Inner Focus",ability1:"Inner Focus",gender:127,ancestor:"Zubat"}
  144. speciesBVs[043] := {name:"Oddish",hp:45,atk:50,def:55,spe:30,satk:75,sdef:65,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:""}
  145. speciesBVs[044] := {name:"Gloom",hp:60,atk:65,def:70,spe:40,satk:85,sdef:75,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Oddish"}
  146. speciesBVs[045] := {name:"Vileplume",hp:75,atk:80,def:85,spe:50,satk:100,sdef:90,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Gloom"}
  147. speciesBVs[046] := {name:"Paras",hp:35,atk:70,def:55,spe:25,satk:45,sdef:55,ability0:"Effect Spore",ability1:"Dry Skin",gender:127,ancestor:""}
  148. speciesBVs[047] := {name:"Parasect",hp:60,atk:95,def:80,spe:30,satk:60,sdef:80,ability0:"Effect Spore",ability1:"Dry Skin",gender:127,ancestor:"Paras"}
  149. speciesBVs[048] := {name:"Venonat",hp:60,atk:55,def:50,spe:45,satk:40,sdef:55,ability0:"Compoundeyes",ability1:"Tinted Lens",gender:127,ancestor:""}
  150. speciesBVs[049] := {name:"Venomoth",hp:70,atk:65,def:60,spe:90,satk:90,sdef:75,ability0:"Shield Dust",ability1:"Tinted Lens",gender:127,ancestor:"Venonat"}
  151. speciesBVs[050] := {name:"Diglett",hp:10,atk:55,def:25,spe:95,satk:35,sdef:45,ability0:"Sand Veil",ability1:"Arena Trap",gender:127,ancestor:""}
  152. speciesBVs[051] := {name:"Dugtrio",hp:35,atk:80,def:50,spe:120,satk:50,sdef:70,ability0:"Sand Veil",ability1:"Arena Trap",gender:127,ancestor:"Diglett"}
  153. speciesBVs[052] := {name:"Meowth",hp:40,atk:45,def:35,spe:90,satk:40,sdef:40,ability0:"Pickup",ability1:"Technician",gender:127,ancestor:""}
  154. speciesBVs[053] := {name:"Persian",hp:65,atk:70,def:60,spe:115,satk:65,sdef:65,ability0:"Limber",ability1:"Technician",gender:127,ancestor:"Meowth"}
  155. speciesBVs[054] := {name:"Psyduck",hp:50,atk:52,def:48,spe:55,satk:65,sdef:50,ability0:"Damp",ability1:"Cloud Nine",gender:127,ancestor:""}
  156. speciesBVs[055] := {name:"Golduck",hp:80,atk:82,def:78,spe:85,satk:95,sdef:80,ability0:"Damp",ability1:"Cloud Nine",gender:127,ancestor:"Psyduck"}
  157. speciesBVs[056] := {name:"Mankey",hp:40,atk:80,def:35,spe:70,satk:35,sdef:45,ability0:"Vital Spirit",ability1:"Anger Point",gender:127,ancestor:""}
  158. speciesBVs[057] := {name:"Primeape",hp:65,atk:105,def:60,spe:95,satk:60,sdef:70,ability0:"Vital Spirit",ability1:"Anger Point",gender:127,ancestor:"Mankey"}
  159. speciesBVs[058] := {name:"Growlithe",hp:55,atk:70,def:45,spe:60,satk:70,sdef:50,ability0:"Intimidate",ability1:"Flash Fire",gender:63,ancestor:""}
  160. speciesBVs[059] := {name:"Arcanine",hp:90,atk:110,def:80,spe:95,satk:100,sdef:80,ability0:"Intimidate",ability1:"Flash Fire",gender:63,ancestor:"Growlithe"}
  161. speciesBVs[060] := {name:"Poliwag",hp:40,atk:50,def:40,spe:90,satk:40,sdef:40,ability0:"Water Absorb",ability1:"Damp",gender:127,ancestor:""}
  162. speciesBVs[061] := {name:"Poliwhirl",hp:65,atk:65,def:65,spe:90,satk:50,sdef:50,ability0:"Water Absorb",ability1:"Damp",gender:127,ancestor:"Poliwag"}
  163. speciesBVs[062] := {name:"Poliwrath",hp:90,atk:85,def:95,spe:70,satk:70,sdef:90,ability0:"Water Absorb",ability1:"Damp",gender:127,ancestor:"Poliwhirl"}
  164. speciesBVs[063] := {name:"Abra",hp:25,atk:20,def:15,spe:90,satk:105,sdef:55,ability0:"Synchronize",ability1:"Inner Focus",gender:63,ancestor:""}
  165. speciesBVs[064] := {name:"Kadabra",hp:40,atk:35,def:30,spe:105,satk:120,sdef:70,ability0:"Synchronize",ability1:"Inner Focus",gender:63,ancestor:"Abra"}
  166. speciesBVs[065] := {name:"Alakazam",hp:55,atk:50,def:45,spe:120,satk:135,sdef:85,ability0:"Synchronize",ability1:"Inner Focus",gender:63,ancestor:"Kadabra"}
  167. speciesBVs[066] := {name:"Machop",hp:70,atk:80,def:50,spe:35,satk:35,sdef:35,ability0:"Guts",ability1:"No Guard",gender:63,ancestor:""}
  168. speciesBVs[067] := {name:"Machoke",hp:80,atk:100,def:70,spe:45,satk:50,sdef:60,ability0:"Guts",ability1:"No Guard",gender:63,ancestor:"Machop"}
  169. speciesBVs[068] := {name:"Machamp",hp:90,atk:130,def:80,spe:55,satk:65,sdef:85,ability0:"Guts",ability1:"No Guard",gender:63,ancestor:"Machoke"}
  170. speciesBVs[069] := {name:"Bellsprout",hp:50,atk:75,def:35,spe:40,satk:70,sdef:30,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:""}
  171. speciesBVs[070] := {name:"Weepinbell",hp:65,atk:90,def:50,spe:55,satk:85,sdef:45,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Bellsprout"}
  172. speciesBVs[071] := {name:"Victreebel",hp:80,atk:105,def:65,spe:70,satk:100,sdef:60,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Weepinbell"}
  173. speciesBVs[072] := {name:"Tentacool",hp:40,atk:40,def:35,spe:70,satk:50,sdef:100,ability0:"Clear Body",ability1:"Liquid Ooze",gender:127,ancestor:""}
  174. speciesBVs[073] := {name:"Tentacruel",hp:80,atk:70,def:65,spe:100,satk:80,sdef:120,ability0:"Clear Body",ability1:"Liquid Ooze",gender:127,ancestor:"Tentacool"}
  175. speciesBVs[074] := {name:"Geodude",hp:40,atk:80,def:100,spe:20,satk:30,sdef:30,ability0:"Rock Head",ability1:"Sturdy",gender:127,ancestor:""}
  176. speciesBVs[075] := {name:"Graveler",hp:55,atk:95,def:115,spe:35,satk:45,sdef:45,ability0:"Rock Head",ability1:"Sturdy",gender:127,ancestor:"Geodude"}
  177. speciesBVs[076] := {name:"Golem",hp:80,atk:110,def:130,spe:45,satk:55,sdef:65,ability0:"Rock Head",ability1:"Sturdy",gender:127,ancestor:"Graveler"}
  178. speciesBVs[077] := {name:"Ponyta",hp:50,atk:85,def:55,spe:90,satk:65,sdef:65,ability0:"Run Away",ability1:"Flash Fire",gender:127,ancestor:""}
  179. speciesBVs[078] := {name:"Rapidash",hp:65,atk:100,def:70,spe:105,satk:80,sdef:80,ability0:"Run Away",ability1:"Flash Fire",gender:127,ancestor:"Ponyta"}
  180. speciesBVs[079] := {name:"Slowpoke",hp:90,atk:65,def:65,spe:15,satk:40,sdef:40,ability0:"Oblivious",ability1:"Own Tempo",gender:127,ancestor:""}
  181. speciesBVs[080] := {name:"Slowbro",hp:95,atk:75,def:110,spe:30,satk:100,sdef:80,ability0:"Oblivious",ability1:"Own Tempo",gender:127,ancestor:"Slowpoke"}
  182. speciesBVs[081] := {name:"Magnemite",hp:25,atk:35,def:70,spe:45,satk:95,sdef:55,ability0:"Magnet Pull",ability1:"Sturdy",gender:-1,ancestor:""}
  183. speciesBVs[082] := {name:"Magneton",hp:50,atk:60,def:95,spe:70,satk:120,sdef:70,ability0:"Magnet Pull",ability1:"Sturdy",gender:-1,ancestor:"Magnemite"}
  184. speciesBVs[083] := {name:"Farfetch'd",hp:52,atk:65,def:55,spe:60,satk:58,sdef:62,ability0:"Keen Eye",ability1:"Inner Focus",gender:127,ancestor:""}
  185. speciesBVs[084] := {name:"Doduo",hp:35,atk:85,def:45,spe:75,satk:35,sdef:35,ability0:"Run Away",ability1:"Early Bird",gender:127,ancestor:""}
  186. speciesBVs[085] := {name:"Dodrio",hp:60,atk:110,def:70,spe:100,satk:60,sdef:60,ability0:"Run Away",ability1:"Early Bird",gender:127,ancestor:"Doduo"}
  187. speciesBVs[086] := {name:"Seel",hp:65,atk:45,def:55,spe:45,satk:45,sdef:70,ability0:"Thick Fat",ability1:"Hydration",gender:127,ancestor:""}
  188. speciesBVs[087] := {name:"Dewgong",hp:90,atk:70,def:80,spe:70,satk:70,sdef:95,ability0:"Thick Fat",ability1:"Hydration",gender:127,ancestor:"Seel"}
  189. speciesBVs[088] := {name:"Grimer",hp:80,atk:80,def:50,spe:25,satk:40,sdef:50,ability0:"Stench",ability1:"Sticky Hold",gender:127,ancestor:""}
  190. speciesBVs[089] := {name:"Muk",hp:105,atk:105,def:75,spe:50,satk:65,sdef:100,ability0:"Stench",ability1:"Sticky Hold",gender:127,ancestor:"Grimer"}
  191. speciesBVs[090] := {name:"Shellder",hp:30,atk:65,def:100,spe:40,satk:45,sdef:25,ability0:"Shell Armor",ability1:"Skill Link",gender:127,ancestor:""}
  192. speciesBVs[091] := {name:"Cloyster",hp:50,atk:95,def:180,spe:70,satk:85,sdef:45,ability0:"Shell Armor",ability1:"Skill Link",gender:127,ancestor:"Shellder"}
  193. speciesBVs[092] := {name:"Gastly",hp:30,atk:35,def:30,spe:80,satk:100,sdef:35,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:""}
  194. speciesBVs[093] := {name:"Haunter",hp:45,atk:50,def:45,spe:95,satk:115,sdef:55,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Gastly"}
  195. speciesBVs[094] := {name:"Gengar",hp:60,atk:65,def:60,spe:110,satk:130,sdef:75,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Haunter"}
  196. speciesBVs[095] := {name:"Onix",hp:35,atk:45,def:160,spe:70,satk:30,sdef:45,ability0:"Rock Head",ability1:"Sturdy",gender:127,ancestor:""}
  197. speciesBVs[096] := {name:"Drowzee",hp:60,atk:48,def:45,spe:42,satk:43,sdef:90,ability0:"Insomnia",ability1:"Forewarn",gender:127,ancestor:""}
  198. speciesBVs[097] := {name:"Hypno",hp:85,atk:73,def:70,spe:67,satk:73,sdef:115,ability0:"Insomnia",ability1:"Forwarn",gender:127,ancestor:"Drowzee"}
  199. speciesBVs[098] := {name:"Krabby",hp:30,atk:105,def:90,spe:50,satk:25,sdef:25,ability0:"Hyper Cutter",ability1:"Shell Armor",gender:127,ancestor:""}
  200. speciesBVs[099] := {name:"Kingler",hp:55,atk:130,def:115,spe:75,satk:50,sdef:50,ability0:"Hyper Cutter",ability1:"Shell Armor",gender:127,ancestor:"Krabby"}
  201. speciesBVs[100] := {name:"Voltorb",hp:40,atk:30,def:50,spe:100,satk:55,sdef:55,ability0:"Soundproof",ability1:"Static",gender:-1,ancestor:""}
  202. speciesBVs[101] := {name:"Electrode",hp:60,atk:50,def:70,spe:140,satk:80,sdef:80,ability0:"Soundproof",ability1:"Static",gender:-1,ancestor:"Voltorb"}
  203. speciesBVs[102] := {name:"Exeggcute",hp:60,atk:40,def:80,spe:40,satk:60,sdef:45,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:""}
  204. speciesBVs[103] := {name:"Exeggutor",hp:95,atk:95,def:85,spe:55,satk:125,sdef:65,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Exeggcute"}
  205. speciesBVs[104] := {name:"Cubone",hp:50,atk:50,def:95,spe:35,satk:40,sdef:50,ability0:"Rock Head",ability1:"Lightningrod",gender:127,ancestor:""}
  206. speciesBVs[105] := {name:"Marowak",hp:60,atk:80,def:110,spe:45,satk:50,sdef:80,ability0:"Rock Head",ability1:"Lightningrod",gender:127,ancestor:"Cubone"}
  207. speciesBVs[106] := {name:"Hitmonlee",hp:50,atk:120,def:53,spe:87,satk:35,sdef:110,ability0:"Limber",ability1:"Reckless",gender:0,ancestor:"Tyrogue"}
  208. speciesBVs[107] := {name:"Hitmonchan",hp:50,atk:105,def:79,spe:76,satk:35,sdef:110,ability0:"Keen Eye",ability1:"Iron Fist",gender:0,ancestor:"Tyrogue"}
  209. speciesBVs[108] := {name:"Lickitung",hp:90,atk:55,def:75,spe:30,satk:60,sdef:75,ability0:"Own Tempo",ability1:"Oblivious",gender:127,ancestor:""}
  210. speciesBVs[109] := {name:"Koffing",hp:40,atk:65,def:95,spe:35,satk:60,sdef:45,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:""}
  211. speciesBVs[110] := {name:"Weezing",hp:65,atk:90,def:120,spe:60,satk:85,sdef:70,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Koffing"}
  212. speciesBVs[111] := {name:"Rhyhorn",hp:80,atk:85,def:95,spe:25,satk:30,sdef:30,ability0:"Lightningrod",ability1:"Rock Head",gender:127,ancestor:""}
  213. speciesBVs[112] := {name:"Rhydon",hp:105,atk:130,def:120,spe:40,satk:45,sdef:45,ability0:"Lightningrod",ability1:"Rock Head",gender:127,ancestor:"Rhyhorn"}
  214. speciesBVs[113] := {name:"Chansey",hp:250,atk:5,def:5,spe:50,satk:35,sdef:105,ability0:"Natural Cure",ability1:"Serene Grace",gender:256,ancestor:"Happiny"}
  215. speciesBVs[114] := {name:"Tangela",hp:65,atk:55,def:115,spe:60,satk:100,sdef:40,ability0:"Chlorophyll",ability1:"Leaf Guard",gender:127,ancestor:""}
  216. speciesBVs[115] := {name:"Kangaskhan",hp:105,atk:95,def:80,spe:90,satk:40,sdef:80,ability0:"Early Bird",ability1:"Scrappy",gender:256,ancestor:""}
  217. speciesBVs[116] := {name:"Horsea",hp:30,atk:40,def:70,spe:60,satk:70,sdef:25,ability0:"Swift Swim",ability1:"Sniper",gender:127,ancestor:""}
  218. speciesBVs[117] := {name:"Seadra",hp:55,atk:65,def:95,spe:85,satk:95,sdef:45,ability0:"Poison Point",ability1:"Sniper",gender:127,ancestor:"Horsea"}
  219. speciesBVs[118] := {name:"Goldeen",hp:45,atk:67,def:60,spe:63,satk:35,sdef:50,ability0:"Swift Swim",ability1:"Water Veil",gender:127,ancestor:""}
  220. speciesBVs[119] := {name:"Seaking",hp:80,atk:92,def:65,spe:68,satk:65,sdef:80,ability0:"Swift Swim",ability1:"Water Veil",gender:127,ancestor:"Goldeen"}
  221. speciesBVs[120] := {name:"Staryu",hp:30,atk:45,def:55,spe:85,satk:70,sdef:55,ability0:"Illuminate",ability1:"Natural Cure",gender:-1,ancestor:""}
  222. speciesBVs[121] := {name:"Starmie",hp:60,atk:75,def:85,spe:115,satk:100,sdef:85,ability0:"Illuminate",ability1:"Natural Cure",gender:-1,ancestor:"Staryu"}
  223. speciesBVs[122] := {name:"Mr. Mime",hp:40,atk:45,def:65,spe:90,satk:100,sdef:120,ability0:"Soundproof",ability1:"Filter",gender:127,ancestor:"Mime Jr."}
  224. speciesBVs[123] := {name:"Scyther",hp:70,atk:110,def:80,spe:105,satk:55,sdef:80,ability0:"Swarm",ability1:"Technician",gender:127,ancestor:""}
  225. speciesBVs[124] := {name:"Jynx",hp:65,atk:50,def:35,spe:95,satk:115,sdef:95,ability0:"Oblivious",ability1:"Forewarn",gender:256,ancestor:"Smoochum"}
  226. speciesBVs[125] := {name:"Electabuzz",hp:65,atk:83,def:57,spe:105,satk:95,sdef:85,ability0:"Static",ability1:"Static",gender:63,ancestor:"Elekid"}
  227. speciesBVs[126] := {name:"Magmar",hp:65,atk:95,def:57,spe:93,satk:100,sdef:85,ability0:"Flame Body",ability1:"Flame Body",gender:63,ancestor:"Magby"}
  228. speciesBVs[127] := {name:"Pinsir",hp:65,atk:125,def:100,spe:85,satk:55,sdef:70,ability0:"Hyper Cutter",ability1:"Mold Breaker",gender:127,ancestor:""}
  229. speciesBVs[128] := {name:"Tauros",hp:75,atk:100,def:95,spe:110,satk:40,sdef:70,ability0:"Intimidate",ability1:"Anger Point",gender:0,ancestor:""}
  230. speciesBVs[129] := {name:"Magikarp",hp:20,atk:10,def:55,spe:80,satk:15,sdef:20,ability0:"Swift Swim",ability1:"Swift Swim",gender:127,ancestor:""}
  231. speciesBVs[130] := {name:"Gyarados",hp:95,atk:125,def:79,spe:81,satk:60,sdef:100,ability0:"Intimidate",ability1:"Intimidate",gender:127,ancestor:"Magikarp"}
  232. speciesBVs[131] := {name:"Lapras",hp:130,atk:85,def:80,spe:60,satk:85,sdef:95,ability0:"Water Absorb",ability1:"Shell Armor",gender:127,ancestor:""}
  233. speciesBVs[132] := {name:"Ditto",hp:48,atk:48,def:48,spe:48,satk:48,sdef:48,ability0:"Limber",ability1:"Limber",gender:-1,ancestor:""}
  234. speciesBVs[133] := {name:"Eevee",hp:55,atk:55,def:50,spe:55,satk:45,sdef:65,ability0:"Run Away",ability1:"Adaptability",gender:31,ancestor:""}
  235. speciesBVs[134] := {name:"Vaporeon",hp:130,atk:65,def:60,spe:65,satk:110,sdef:95,ability0:"Water Absorb",ability1:"Water Absorb",gender:31,ancestor:"Eevee"}
  236. speciesBVs[135] := {name:"Jolteon",hp:65,atk:65,def:60,spe:130,satk:110,sdef:95,ability0:"Volt Absorb",ability1:"Volt Absorb",gender:31,ancestor:"Eevee"}
  237. speciesBVs[136] := {name:"Flareon",hp:65,atk:130,def:60,spe:65,satk:95,sdef:110,ability0:"Flash Fire",ability1:"Flash Fire",gender:31,ancestor:"Eevee"}
  238. speciesBVs[137] := {name:"Porygon",hp:65,atk:60,def:70,spe:40,satk:85,sdef:75,ability0:"Trace",ability1:"Download",gender:-1,ancestor:""}
  239. speciesBVs[138] := {name:"Omanyte",hp:35,atk:40,def:100,spe:35,satk:90,sdef:55,ability0:"Swift Swim",ability1:"Shell Armor",gender:31,ancestor:""}
  240. speciesBVs[139] := {name:"Omastar",hp:70,atk:60,def:125,spe:55,satk:115,sdef:70,ability0:"Swift Swim",ability1:"Shell Armor",gender:31,ancestor:"Omanyte"}
  241. speciesBVs[140] := {name:"Kabuto",hp:30,atk:80,def:90,spe:55,satk:55,sdef:45,ability0:"Swift Swim",ability1:"Battle Armor",gender:31,ancestor:""}
  242. speciesBVs[141] := {name:"Kabutops",hp:60,atk:115,def:105,spe:80,satk:65,sdef:70,ability0:"Swift Swim",ability1:"Battle Armor",gender:31,ancestor:"Kabuto"}
  243. speciesBVs[142] := {name:"Aerodactyl",hp:80,atk:105,def:65,spe:130,satk:60,sdef:75,ability0:"Rock Head",ability1:"Pressure",gender:31,ancestor:""}
  244. speciesBVs[143] := {name:"Snorlax",hp:160,atk:110,def:65,spe:30,satk:65,sdef:110,ability0:"Immunity",ability1:"Thick Fat",gender:31,ancestor:"Munchlax"}
  245. speciesBVs[144] := {name:"Articuno",hp:90,atk:85,def:100,spe:85,satk:95,sdef:125,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  246. speciesBVs[145] := {name:"Zapdos",hp:90,atk:90,def:85,spe:100,satk:125,sdef:90,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  247. speciesBVs[146] := {name:"Moltres",hp:90,atk:100,def:90,spe:90,satk:125,sdef:85,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  248. speciesBVs[147] := {name:"Dratini",hp:41,atk:64,def:45,spe:50,satk:50,sdef:50,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:""}
  249. speciesBVs[148] := {name:"Dragonair",hp:61,atk:84,def:65,spe:70,satk:70,sdef:70,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Dratini"}
  250. speciesBVs[149] := {name:"Dragonite",hp:91,atk:134,def:95,spe:80,satk:100,sdef:100,ability0:"Inner Focus",ability1:"Inner Focus",gender:127,ancestor:"Dragonair"}
  251. speciesBVs[150] := {name:"Mewtwo",hp:106,atk:110,def:90,spe:130,satk:154,sdef:90,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  252. speciesBVs[151] := {name:"Mew",hp:100,atk:100,def:100,spe:100,satk:100,sdef:100,ability0:"Synchronize",ability1:"Synchronize",gender:-1,ancestor:""}
  253. speciesBVs[152] := {name:"Chikorita",hp:45,atk:49,def:65,spe:45,satk:49,sdef:65,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:""}
  254. speciesBVs[153] := {name:"Bayleef",hp:60,atk:62,def:80,spe:60,satk:63,sdef:80,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Chikorita"}
  255. speciesBVs[154] := {name:"Meganium",hp:80,atk:82,def:100,spe:80,satk:83,sdef:100,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Bayleef"}
  256. speciesBVs[155] := {name:"Cyndaquil",hp:39,atk:52,def:43,spe:65,satk:60,sdef:50,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:""}
  257. speciesBVs[156] := {name:"Quilava",hp:58,atk:64,def:58,spe:80,satk:80,sdef:65,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Cyndaquil"}
  258. speciesBVs[157] := {name:"Typhlosion",hp:78,atk:84,def:78,spe:100,satk:109,sdef:85,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Quilava"}
  259. speciesBVs[158] := {name:"Totodile",hp:50,atk:65,def:64,spe:43,satk:44,sdef:48,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:""}
  260. speciesBVs[159] := {name:"Croconaw",hp:65,atk:80,def:80,spe:58,satk:59,sdef:63,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Totodile"}
  261. speciesBVs[160] := {name:"Feraligatr",hp:85,atk:105,def:100,spe:78,satk:79,sdef:83,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Croconaw"}
  262. speciesBVs[161] := {name:"Sentret",hp:35,atk:46,def:34,spe:20,satk:35,sdef:45,ability0:"Run Away",ability1:"Keen Eye",gender:127,ancestor:""}
  263. speciesBVs[162] := {name:"Furret",hp:85,atk:76,def:64,spe:90,satk:45,sdef:55,ability0:"Run Away",ability1:"Keen Eye",gender:127,ancestor:"Sentret"}
  264. speciesBVs[163] := {name:"Hoothoot",hp:60,atk:30,def:30,spe:50,satk:36,sdef:56,ability0:"Insomnia",ability1:"Keen Eye",gender:127,ancestor:""}
  265. speciesBVs[164] := {name:"Noctowl",hp:100,atk:50,def:50,spe:70,satk:76,sdef:96,ability0:"Insomnia",ability1:"Keen Eye",gender:127,ancestor:"Hoothoot"}
  266. speciesBVs[165] := {name:"Ledyba",hp:40,atk:20,def:30,spe:55,satk:40,sdef:80,ability0:"Swarm",ability1:"Early Bird",gender:127,ancestor:""}
  267. speciesBVs[166] := {name:"Ledian",hp:55,atk:35,def:50,spe:85,satk:55,sdef:110,ability0:"Swarm",ability1:"Early Bird",gender:127,ancestor:"Ledyba"}
  268. speciesBVs[167] := {name:"Spinarak",hp:40,atk:60,def:40,spe:30,satk:40,sdef:40,ability0:"Swarm",ability1:"Insomnia",gender:127,ancestor:""}
  269. speciesBVs[168] := {name:"Ariados",hp:70,atk:90,def:70,spe:40,satk:60,sdef:60,ability0:"Swarm",ability1:"Insomnia",gender:127,ancestor:"Spinarak"}
  270. speciesBVs[169] := {name:"Crobat",hp:85,atk:90,def:80,spe:130,satk:70,sdef:80,ability0:"Inner Focus",ability1:"Inner Focus",gender:127,ancestor:"Golbat"}
  271. speciesBVs[170] := {name:"Chinchou",hp:75,atk:38,def:38,spe:67,satk:56,sdef:56,ability0:"Volt Absorb",ability1:"Illuminate",gender:127,ancestor:""}
  272. speciesBVs[171] := {name:"Lanturn",hp:125,atk:58,def:58,spe:67,satk:76,sdef:76,ability0:"Volt Absorb",ability1:"Illuminate",gender:127,ancestor:"Chinchou"}
  273. speciesBVs[172] := {name:"Pichu",hp:20,atk:40,def:15,spe:60,satk:35,sdef:35,ability0:"Static",ability1:"Static",gender:127,ancestor:""}
  274. speciesBVs[173] := {name:"Cleffa",hp:50,atk:25,def:28,spe:15,satk:45,sdef:55,ability0:"Cute Charm",ability1:"Magic Guard",gender:191,ancestor:""}
  275. speciesBVs[174] := {name:"Igglybuff",hp:90,atk:30,def:15,spe:15,satk:40,sdef:20,ability0:"Cute Charm",ability1:"Cute Charm",gender:191,ancestor:""}
  276. speciesBVs[175] := {name:"Togepi",hp:35,atk:20,def:65,spe:20,satk:40,sdef:65,ability0:"Hustle",ability1:"Serene Grace",gender:31,ancestor:""}
  277. speciesBVs[176] := {name:"Togetic",hp:55,atk:40,def:85,spe:40,satk:80,sdef:105,ability0:"Hustle",ability1:"Serene Grace",gender:31,ancestor:"Togepi"}
  278. speciesBVs[177] := {name:"Natu",hp:40,atk:50,def:45,spe:70,satk:70,sdef:45,ability0:"Synchronize",ability1:"Early Bird",gender:127,ancestor:""}
  279. speciesBVs[178] := {name:"Xatu",hp:65,atk:75,def:70,spe:95,satk:95,sdef:70,ability0:"Synchronize",ability1:"Early Bird",gender:127,ancestor:"Natu"}
  280. speciesBVs[179] := {name:"Mareep",hp:55,atk:40,def:40,spe:35,satk:65,sdef:45,ability0:"Static",ability1:"Static",gender:127,ancestor:""}
  281. speciesBVs[180] := {name:"Flaaffy",hp:70,atk:55,def:55,spe:45,satk:80,sdef:60,ability0:"Static",ability1:"Static",gender:127,ancestor:"Mareep"}
  282. speciesBVs[181] := {name:"Ampharos",hp:90,atk:75,def:75,spe:55,satk:115,sdef:90,ability0:"Static",ability1:"Static",gender:127,ancestor:"Flaaffy"}
  283. speciesBVs[182] := {name:"Bellossom",hp:75,atk:80,def:85,spe:50,satk:90,sdef:100,ability0:"Chlorophyll",ability1:"Chlorophyll",gender:127,ancestor:"Gloom"}
  284. speciesBVs[183] := {name:"Marill",hp:70,atk:20,def:50,spe:40,satk:20,sdef:50,ability0:"Thick Fat",ability1:"Huge Power",gender:127,ancestor:"Azurill"}
  285. speciesBVs[184] := {name:"Azumarill",hp:100,atk:50,def:80,spe:50,satk:50,sdef:80,ability0:"Thick Fat",ability1:"Huge Power",gender:127,ancestor:"Marill"}
  286. speciesBVs[185] := {name:"Sudowoodo",hp:70,atk:100,def:115,spe:30,satk:30,sdef:65,ability0:"Sturdy",ability1:"Rock Head",gender:127,ancestor:"Bonsly"}
  287. speciesBVs[186] := {name:"Politoed",hp:90,atk:75,def:75,spe:70,satk:90,sdef:100,ability0:"Water Absorb",ability1:"Damp",gender:127,ancestor:"Poliwhirl"}
  288. speciesBVs[187] := {name:"Hoppip",hp:35,atk:35,def:40,spe:50,satk:35,sdef:55,ability0:"Chlorophyll",ability1:"Leaf Guard",gender:127,ancestor:""}
  289. speciesBVs[188] := {name:"Skiploom",hp:55,atk:45,def:50,spe:80,satk:45,sdef:65,ability0:"Chlorophyll",ability1:"Leaf Guard",gender:127,ancestor:"Hoppip"}
  290. speciesBVs[189] := {name:"Jumpluff",hp:75,atk:55,def:70,spe:110,satk:55,sdef:85,ability0:"Chlorophyll",ability1:"Leaf Guard",gender:127,ancestor:"Skiploom"}
  291. speciesBVs[190] := {name:"Aipom",hp:55,atk:70,def:55,spe:85,satk:40,sdef:55,ability0:"Run Away",ability1:"Pick Up",gender:127,ancestor:""}
  292. speciesBVs[191] := {name:"Sunkern",hp:30,atk:30,def:30,spe:30,satk:30,sdef:30,ability0:"Chlorophyll",ability1:"Solar Power",gender:127,ancestor:""}
  293. speciesBVs[192] := {name:"Sunflora",hp:75,atk:75,def:55,spe:30,satk:105,sdef:85,ability0:"Chlorophyll",ability1:"Solar Power",gender:127,ancestor:"Sunkern"}
  294. speciesBVs[193] := {name:"Yanma",hp:65,atk:65,def:45,spe:95,satk:75,sdef:45,ability0:"Speed Boost",ability1:"Compoundeyes",gender:127,ancestor:""}
  295. speciesBVs[194] := {name:"Wooper",hp:55,atk:45,def:45,spe:15,satk:25,sdef:25,ability0:"Damp",ability1:"Water Absorb",gender:127,ancestor:""}
  296. speciesBVs[195] := {name:"Quagsire",hp:95,atk:85,def:85,spe:35,satk:65,sdef:65,ability0:"Damp",ability1:"Water Absorb",gender:127,ancestor:"Wooper"}
  297. speciesBVs[196] := {name:"Espeon",hp:65,atk:65,def:60,spe:110,satk:130,sdef:95,ability0:"Synchronize",ability1:"Synchronize",gender:31,ancestor:"Eevee"}
  298. speciesBVs[197] := {name:"Umbreon",hp:95,atk:65,def:110,spe:65,satk:60,sdef:130,ability0:"Synchronize",ability1:"Synchronize",gender:31,ancestor:"Eevee"}
  299. speciesBVs[198] := {name:"Murkrow",hp:60,atk:85,def:42,spe:91,satk:85,sdef:42,ability0:"Insomnia",ability1:"Super Luck",gender:127,ancestor:""}
  300. speciesBVs[199] := {name:"Slowking",hp:95,atk:75,def:80,spe:30,satk:100,sdef:110,ability0:"Oblivious",ability1:"Own Tempo",gender:127,ancestor:"Slowpoke"}
  301. speciesBVs[200] := {name:"Misdreavus",hp:60,atk:60,def:60,spe:85,satk:85,sdef:85,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:""}
  302. speciesBVs[201] := {name:"Unown",hp:48,atk:72,def:48,spe:48,satk:72,sdef:48,ability0:"Levitate",ability1:"Levitate",gender:-1,ancestor:""}
  303. speciesBVs[202] := {name:"Wobbuffet",hp:190,atk:33,def:58,spe:33,satk:33,sdef:58,ability0:"Shadow Tag",ability1:"Shadow Tag",gender:127,ancestor:"Wynaut"}
  304. speciesBVs[203] := {name:"Girafarig",hp:70,atk:80,def:65,spe:85,satk:90,sdef:65,ability0:"Inner Focus",ability1:"Early Bird",gender:127,ancestor:""}
  305. speciesBVs[204] := {name:"Pineco",hp:50,atk:65,def:90,spe:15,satk:35,sdef:35,ability0:"Sturdy",ability1:"Sturdy",gender:127,ancestor:""}
  306. speciesBVs[205] := {name:"Forretress",hp:75,atk:90,def:140,spe:40,satk:60,sdef:60,ability0:"Sturdy",ability1:"Sturdy",gender:127,ancestor:"Pineco"}
  307. speciesBVs[206] := {name:"Dunsparce",hp:100,atk:70,def:70,spe:45,satk:65,sdef:65,ability0:"Serene Grace",ability1:"Run Away",gender:127,ancestor:""}
  308. speciesBVs[207] := {name:"Gligar",hp:65,atk:75,def:105,spe:85,satk:35,sdef:65,ability0:"Hyper Cutter",ability1:"Sand Veil",gender:127,ancestor:""}
  309. speciesBVs[208] := {name:"Steelix",hp:75,atk:85,def:200,spe:30,satk:55,sdef:65,ability0:"Rock Head",ability1:"Sturdy",gender:127,ancestor:"Onix"}
  310. speciesBVs[209] := {name:"Snubbull",hp:60,atk:80,def:50,spe:30,satk:40,sdef:40,ability0:"Intimidate",ability1:"Run Away",gender:191,ancestor:""}
  311. speciesBVs[210] := {name:"Granbull",hp:90,atk:120,def:75,spe:45,satk:60,sdef:60,ability0:"Intimidate",ability1:"Quick Feet",gender:191,ancestor:"Snubbull"}
  312. speciesBVs[211] := {name:"Qwilfish",hp:65,atk:95,def:75,spe:85,satk:55,sdef:55,ability0:"Poison Point",ability1:"Swift Swim",gender:127,ancestor:""}
  313. speciesBVs[212] := {name:"Scizor",hp:70,atk:130,def:100,spe:65,satk:55,sdef:80,ability0:"Swarm",ability1:"Technician",gender:127,ancestor:"Scyther"}
  314. speciesBVs[213] := {name:"Shuckle",hp:20,atk:10,def:230,spe:5,satk:10,sdef:230,ability0:"Sturdy",ability1:"Gluttony",gender:127,ancestor:""}
  315. speciesBVs[214] := {name:"Heracross",hp:80,atk:125,def:75,spe:85,satk:40,sdef:95,ability0:"Swarm",ability1:"Guts",gender:127,ancestor:""}
  316. speciesBVs[215] := {name:"Sneasel",hp:55,atk:95,def:55,spe:115,satk:35,sdef:75,ability0:"Inner Focus",ability1:"Keen Eye",gender:127,ancestor:""}
  317. speciesBVs[216] := {name:"Teddiursa",hp:60,atk:80,def:50,spe:40,satk:50,sdef:50,ability0:"Pickup",ability1:"Quick Feet",gender:127,ancestor:""}
  318. speciesBVs[217] := {name:"Ursaring",hp:90,atk:130,def:75,spe:55,satk:75,sdef:75,ability0:"Guts",ability1:"Quick Feet",gender:127,ancestor:"Teddiursa"}
  319. speciesBVs[218] := {name:"Slugma",hp:40,atk:40,def:40,spe:20,satk:70,sdef:40,ability0:"Magma Armor",ability1:"Flame Body",gender:127,ancestor:""}
  320. speciesBVs[219] := {name:"Magcargo",hp:50,atk:50,def:120,spe:30,satk:80,sdef:80,ability0:"Magma Armor",ability1:"Flame Body",gender:127,ancestor:"Slugma"}
  321. speciesBVs[220] := {name:"Swinub",hp:50,atk:50,def:40,spe:50,satk:30,sdef:30,ability0:"Oblivious",ability1:"Snow Cloak",gender:127,ancestor:""}
  322. speciesBVs[221] := {name:"Piloswine",hp:100,atk:100,def:80,spe:50,satk:60,sdef:60,ability0:"Oblivious",ability1:"Snow Cloak",gender:127,ancestor:"Swinub"}
  323. speciesBVs[222] := {name:"Corsola",hp:55,atk:55,def:85,spe:35,satk:65,sdef:85,ability0:"Hustle",ability1:"Natural Cure",gender:191,ancestor:""}
  324. speciesBVs[223] := {name:"Remoraid",hp:35,atk:65,def:35,spe:65,satk:65,sdef:35,ability0:"Hustle",ability1:"Sniper",gender:127,ancestor:""}
  325. speciesBVs[224] := {name:"Octillery",hp:75,atk:105,def:75,spe:45,satk:105,sdef:75,ability0:"Suction Cups",ability1:"Sniper",gender:127,ancestor:"Remoraid"}
  326. speciesBVs[225] := {name:"Delibird",hp:45,atk:55,def:45,spe:75,satk:65,sdef:45,ability0:"Vital Spirit",ability1:"Hustle",gender:127,ancestor:""}
  327. speciesBVs[226] := {name:"Mantine",hp:65,atk:40,def:70,spe:70,satk:80,sdef:140,ability0:"Swift Swim",ability1:"Water Absorb",gender:127,ancestor:"Mantyke"}
  328. speciesBVs[227] := {name:"Skarmory",hp:65,atk:80,def:140,spe:70,satk:40,sdef:70,ability0:"Keen Eye",ability1:"Sturdy",gender:127,ancestor:""}
  329. speciesBVs[228] := {name:"Houndour",hp:45,atk:60,def:30,spe:65,satk:80,sdef:50,ability0:"Early Bird",ability1:"Flash Fire",gender:127,ancestor:""}
  330. speciesBVs[229] := {name:"Houndoom",hp:75,atk:90,def:50,spe:95,satk:110,sdef:80,ability0:"Early Bird",ability1:"Flash Fire",gender:127,ancestor:"Houndour"}
  331. speciesBVs[230] := {name:"Kingdra",hp:75,atk:95,def:95,spe:85,satk:95,sdef:95,ability0:"Swift Swim",ability1:"Sniper",gender:127,ancestor:"Seadra"}
  332. speciesBVs[231] := {name:"Phanpy",hp:90,atk:60,def:60,spe:40,satk:40,sdef:40,ability0:"Pickup",ability1:"Pickup",gender:127,ancestor:""}
  333. speciesBVs[232] := {name:"Donphan",hp:90,atk:120,def:120,spe:50,satk:60,sdef:60,ability0:"Sturdy",ability1:"Sturdy",gender:127,ancestor:"Phanpy"}
  334. speciesBVs[233] := {name:"Porygon2",hp:85,atk:80,def:90,spe:60,satk:105,sdef:95,ability0:"Trace",ability1:"Download",gender:-1,ancestor:"Porygon"}
  335. speciesBVs[234] := {name:"Stantler",hp:73,atk:95,def:62,spe:85,satk:85,sdef:65,ability0:"Intimidate",ability1:"Frisk",gender:127,ancestor:""}
  336. speciesBVs[235] := {name:"Smeargle",hp:55,atk:20,def:35,spe:75,satk:20,sdef:45,ability0:"Own Tempo",ability1:"Technician",gender:127,ancestor:""}
  337. speciesBVs[236] := {name:"Tyrogue",hp:35,atk:35,def:35,spe:35,satk:35,sdef:35,ability0:"Guts",ability1:"Steadfast",gender:0,ancestor:""}
  338. speciesBVs[237] := {name:"Hitmontop",hp:50,atk:95,def:95,spe:70,satk:35,sdef:110,ability0:"Intimidate",ability1:"Technician",gender:0,ancestor:"Tyrogue"}
  339. speciesBVs[238] := {name:"Smoochum",hp:45,atk:30,def:15,spe:65,satk:85,sdef:65,ability0:"Oblivious",ability1:"Forewarn",gender:256,ancestor:""}
  340. speciesBVs[239] := {name:"Elekid",hp:45,atk:63,def:37,spe:95,satk:65,sdef:55,ability0:"Static",ability1:"Static",gender:63,ancestor:""}
  341. speciesBVs[240] := {name:"Magby",hp:45,atk:75,def:37,spe:83,satk:70,sdef:55,ability0:"Flame Body",ability1:"Flame Body",gender:63,ancestor:""}
  342. speciesBVs[241] := {name:"Miltank",hp:95,atk:80,def:105,spe:100,satk:40,sdef:70,ability0:"Thick Fat",ability1:"Scrappy",gender:256,ancestor:""}
  343. speciesBVs[242] := {name:"Blissey",hp:255,atk:10,def:10,spe:55,satk:75,sdef:135,ability0:"Natural Cure",ability1:"Serene Grace",gender:256,ancestor:"Chansey"}
  344. speciesBVs[243] := {name:"Raikou",hp:90,atk:85,def:75,spe:115,satk:115,sdef:100,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  345. speciesBVs[244] := {name:"Entei",hp:115,atk:115,def:85,spe:100,satk:90,sdef:75,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  346. speciesBVs[245] := {name:"Suicune",hp:100,atk:75,def:115,spe:85,satk:90,sdef:115,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  347. speciesBVs[246] := {name:"Larvitar",hp:50,atk:64,def:50,spe:41,satk:45,sdef:50,ability0:"Guts",ability1:"Guts",gender:127,ancestor:""}
  348. speciesBVs[247] := {name:"Pupitar",hp:70,atk:84,def:70,spe:51,satk:65,sdef:70,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Larvitar"}
  349. speciesBVs[248] := {name:"Tyranitar",hp:100,atk:134,def:110,spe:61,satk:95,sdef:100,ability0:"Sand Stream",ability1:"Sand Stream",gender:127,ancestor:"Pupitar"}
  350. speciesBVs[249] := {name:"Lugia",hp:106,atk:90,def:130,spe:110,satk:90,sdef:154,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  351. speciesBVs[250] := {name:"Ho-oh",hp:106,atk:130,def:90,spe:90,satk:110,sdef:154,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  352. speciesBVs[251] := {name:"Celebi",hp:100,atk:100,def:100,spe:100,satk:100,sdef:100,ability0:"Natural Cure",ability1:"Natural Cure",gender:-1,ancestor:""}
  353. speciesBVs[252] := {name:"Treecko",hp:40,atk:45,def:35,spe:70,satk:65,sdef:55,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:""}
  354. speciesBVs[253] := {name:"Grovyle",hp:50,atk:65,def:45,spe:95,satk:85,sdef:65,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Treecko"}
  355. speciesBVs[254] := {name:"Sceptile",hp:70,atk:85,def:65,spe:120,satk:105,sdef:85,ability0:"Overgrow",ability1:"Overgrow",gender:31,ancestor:"Grovyle"}
  356. speciesBVs[255] := {name:"Torchic",hp:45,atk:60,def:40,spe:45,satk:70,sdef:50,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:""}
  357. speciesBVs[256] := {name:"Combusken",hp:60,atk:85,def:60,spe:55,satk:85,sdef:60,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Torchic"}
  358. speciesBVs[257] := {name:"Blaziken",hp:80,atk:120,def:70,spe:80,satk:110,sdef:70,ability0:"Blaze",ability1:"Blaze",gender:31,ancestor:"Combusken"}
  359. speciesBVs[258] := {name:"Mudkip",hp:50,atk:70,def:50,spe:40,satk:50,sdef:50,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:""}
  360. speciesBVs[259] := {name:"Marshtomp",hp:70,atk:85,def:70,spe:50,satk:60,sdef:70,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Mudkip"}
  361. speciesBVs[260] := {name:"Swampert",hp:100,atk:110,def:90,spe:60,satk:85,sdef:90,ability0:"Torrent",ability1:"Torrent",gender:31,ancestor:"Marshtomp"}
  362. speciesBVs[261] := {name:"Poochyena",hp:35,atk:55,def:35,spe:35,satk:30,sdef:30,ability0:"Run Away",ability1:"Quick Feet",gender:127,ancestor:""}
  363. speciesBVs[262] := {name:"Mightyena",hp:70,atk:90,def:70,spe:70,satk:60,sdef:60,ability0:"Intimidate",ability1:"Quick Feet",gender:127,ancestor:"Poochyena"}
  364. speciesBVs[263] := {name:"Zigzagoon",hp:38,atk:30,def:41,spe:60,satk:30,sdef:41,ability0:"Pickup",ability1:"Gluttany",gender:127,ancestor:""}
  365. speciesBVs[264] := {name:"Linoone",hp:78,atk:70,def:61,spe:100,satk:50,sdef:61,ability0:"Pickup",ability1:"Gluttony",gender:127,ancestor:"Zigzagoon"}
  366. speciesBVs[265] := {name:"Wurmple",hp:45,atk:45,def:35,spe:20,satk:20,sdef:30,ability0:"Shield Dust",ability1:"Shield Dust",gender:127,ancestor:""}
  367. speciesBVs[266] := {name:"Silcoon",hp:50,atk:35,def:55,spe:15,satk:25,sdef:25,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Wurmple"}
  368. speciesBVs[267] := {name:"Beautifly",hp:60,atk:70,def:50,spe:65,satk:90,sdef:50,ability0:"Swarm",ability1:"Swarm",gender:127,ancestor:"Silcoon"}
  369. speciesBVs[268] := {name:"Cascoon",hp:50,atk:35,def:55,spe:15,satk:25,sdef:25,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:"Wurmple"}
  370. speciesBVs[269] := {name:"Dustox",hp:60,atk:50,def:70,spe:65,satk:50,sdef:90,ability0:"Shield Dust",ability1:"Shield Dust",gender:127,ancestor:"Cascoon"}
  371. speciesBVs[270] := {name:"Lotad",hp:40,atk:30,def:30,spe:30,satk:40,sdef:50,ability0:"Swift Swim",ability1:"Rain Dish",gender:127,ancestor:""}
  372. speciesBVs[271] := {name:"Lombre",hp:60,atk:50,def:50,spe:50,satk:60,sdef:70,ability0:"Swift Swim",ability1:"Rain Dish",gender:127,ancestor:"Lotad"}
  373. speciesBVs[272] := {name:"Ludicolo",hp:80,atk:70,def:70,spe:70,satk:90,sdef:100,ability0:"Swift Swim",ability1:"Rain Dish",gender:127,ancestor:"Lombre"}
  374. speciesBVs[273] := {name:"Seedot",hp:40,atk:40,def:50,spe:30,satk:30,sdef:30,ability0:"Chlorophyll",ability1:"Early Bird",gender:127,ancestor:""}
  375. speciesBVs[274] := {name:"Nuzleaf",hp:70,atk:70,def:40,spe:60,satk:60,sdef:40,ability0:"Chlorophyll",ability1:"Early Bird",gender:127,ancestor:"Seedot"}
  376. speciesBVs[275] := {name:"Shiftry",hp:90,atk:100,def:60,spe:80,satk:90,sdef:60,ability0:"Chlorophyll",ability1:"Early Bird",gender:127,ancestor:"Nuzleaf"}
  377. speciesBVs[276] := {name:"Taillow",hp:40,atk:55,def:30,spe:85,satk:30,sdef:30,ability0:"Guts",ability1:"Guts",gender:127,ancestor:""}
  378. speciesBVs[277] := {name:"Swellow",hp:60,atk:85,def:60,spe:125,satk:50,sdef:50,ability0:"Guts",ability1:"Guts",gender:127,ancestor:"Taillow"}
  379. speciesBVs[278] := {name:"Wingull",hp:40,atk:30,def:30,spe:85,satk:55,sdef:30,ability0:"Keen Eye",ability1:"Keen Eye",gender:127,ancestor:""}
  380. speciesBVs[279] := {name:"Pelipper",hp:60,atk:50,def:100,spe:65,satk:85,sdef:70,ability0:"Keen Eye",ability1:"Keen Eye",gender:127,ancestor:"Wingull"}
  381. speciesBVs[280] := {name:"Ralts",hp:28,atk:25,def:25,spe:40,satk:45,sdef:35,ability0:"Synchronize",ability1:"Trace",gender:127,ancestor:""}
  382. speciesBVs[281] := {name:"Kirlia",hp:38,atk:35,def:35,spe:50,satk:65,sdef:55,ability0:"Synchronize",ability1:"Trace",gender:127,ancestor:"Ralts"}
  383. speciesBVs[282] := {name:"Gardevoir",hp:68,atk:65,def:65,spe:80,satk:125,sdef:115,ability0:"Synchronize",ability1:"Trace",gender:127,ancestor:"Kirlia"}
  384. speciesBVs[283] := {name:"Surskit",hp:40,atk:30,def:32,spe:65,satk:50,sdef:52,ability0:"Swift Swim",ability1:"Swift Swim",gender:127,ancestor:""}
  385. speciesBVs[284] := {name:"Masquerain",hp:70,atk:60,def:62,spe:60,satk:80,sdef:82,ability0:"Intimidate",ability1:"Intimidate",gender:127,ancestor:"Surskit"}
  386. speciesBVs[285] := {name:"Shroomish",hp:60,atk:40,def:60,spe:35,satk:40,sdef:60,ability0:"Effect Spore",ability1:"Poison Heal",gender:127,ancestor:""}
  387. speciesBVs[286] := {name:"Breloom",hp:60,atk:130,def:80,spe:70,satk:60,sdef:60,ability0:"Effect Spore",ability1:"Poison Heal",gender:127,ancestor:"Shroomish"}
  388. speciesBVs[287] := {name:"Slakoth",hp:60,atk:60,def:60,spe:30,satk:35,sdef:35,ability0:"Truant",ability1:"Truant",gender:127,ancestor:""}
  389. speciesBVs[288] := {name:"Vigoroth",hp:80,atk:80,def:80,spe:90,satk:55,sdef:55,ability0:"Vital Spirit",ability1:"Vital Spirit",gender:127,ancestor:"Slakoth"}
  390. speciesBVs[289] := {name:"Slaking",hp:150,atk:160,def:100,spe:100,satk:95,sdef:65,ability0:"Truant",ability1:"Truant",gender:127,ancestor:"Vigoroth"}
  391. speciesBVs[290] := {name:"Nincada",hp:31,atk:45,def:90,spe:40,satk:30,sdef:30,ability0:"Compoundeyes",ability1:"Compoundeyes",gender:127,ancestor:""}
  392. speciesBVs[291] := {name:"Ninjask",hp:61,atk:90,def:45,spe:160,satk:50,sdef:50,ability0:"Speed Boost",ability1:"Speed Boost",gender:127,ancestor:"Nincada"}
  393. speciesBVs[292] := {name:"Shedinja",hp:1,atk:90,def:45,spe:40,satk:30,sdef:30,ability0:"Wonder Guard",ability1:"Wonder Guard",gender:-1,ancestor:"Nincada"}
  394. speciesBVs[293] := {name:"Whismur",hp:64,atk:51,def:23,spe:28,satk:51,sdef:23,ability0:"Soundproof",ability1:"Soundproof",gender:127,ancestor:""}
  395. speciesBVs[294] := {name:"Loudred",hp:84,atk:71,def:43,spe:48,satk:71,sdef:43,ability0:"Soundproof",ability1:"Soundproof",gender:127,ancestor:"Whismur"}
  396. speciesBVs[295] := {name:"Exploud",hp:104,atk:91,def:63,spe:68,satk:91,sdef:63,ability0:"Soundproof",ability1:"Soundproof",gender:127,ancestor:"Loudred"}
  397. speciesBVs[296] := {name:"Makuhita",hp:72,atk:60,def:30,spe:25,satk:20,sdef:30,ability0:"Thick Fat",ability1:"Guts",gender:63,ancestor:""}
  398. speciesBVs[297] := {name:"Hariyama",hp:144,atk:120,def:60,spe:50,satk:40,sdef:60,ability0:"Thick Fat",ability1:"Guts",gender:63,ancestor:"Makuhita"}
  399. speciesBVs[298] := {name:"Azurill",hp:50,atk:20,def:40,spe:20,satk:20,sdef:40,ability0:"Thick Fat",ability1:"Huge Power",gender:191,ancestor:""}
  400. speciesBVs[299] := {name:"Nosepass",hp:30,atk:45,def:135,spe:30,satk:45,sdef:90,ability0:"Sturdy",ability1:"Magnet Pull",gender:127,ancestor:""}
  401. speciesBVs[300] := {name:"Skitty",hp:50,atk:45,def:45,spe:50,satk:35,sdef:35,ability0:"Cute Charm",ability1:"Normalize",gender:191,ancestor:""}
  402. speciesBVs[301] := {name:"Delcatty",hp:70,atk:65,def:65,spe:70,satk:55,sdef:55,ability0:"Cute Charm",ability1:"Normalize",gender:191,ancestor:"Skitty"}
  403. speciesBVs[302] := {name:"Sableye",hp:50,atk:75,def:75,spe:50,satk:65,sdef:65,ability0:"Keen Eye",ability1:"Stall",gender:127,ancestor:""}
  404. speciesBVs[303] := {name:"Mawile",hp:50,atk:85,def:85,spe:50,satk:55,sdef:55,ability0:"Hyper Cutter",ability1:"Intimidate",gender:127,ancestor:""}
  405. speciesBVs[304] := {name:"Aron",hp:50,atk:70,def:100,spe:30,satk:40,sdef:40,ability0:"Sturdy",ability1:"Rock Head",gender:127,ancestor:""}
  406. speciesBVs[305] := {name:"Lairon",hp:60,atk:90,def:140,spe:40,satk:50,sdef:50,ability0:"Sturdy",ability1:"Rock Head",gender:127,ancestor:"Aron"}
  407. speciesBVs[306] := {name:"Aggron",hp:70,atk:110,def:180,spe:50,satk:60,sdef:60,ability0:"Sturdy",ability1:"Rock Head",gender:127,ancestor:"Lairon"}
  408. speciesBVs[307] := {name:"Meditite",hp:30,atk:40,def:55,spe:60,satk:40,sdef:55,ability0:"Pure Power",ability1:"Pure Power",gender:127,ancestor:""}
  409. speciesBVs[308] := {name:"Medicham",hp:60,atk:60,def:75,spe:80,satk:60,sdef:75,ability0:"Pure Power",ability1:"Pure Power",gender:127,ancestor:"Meditite"}
  410. speciesBVs[309] := {name:"Electrike",hp:40,atk:45,def:40,spe:65,satk:65,sdef:40,ability0:"Static",ability1:"Lightningrod",gender:127,ancestor:""}
  411. speciesBVs[310] := {name:"Manectric",hp:70,atk:75,def:60,spe:105,satk:105,sdef:60,ability0:"Static",ability1:"Lightningrod",gender:127,ancestor:"Electrike"}
  412. speciesBVs[311] := {name:"Plusle",hp:60,atk:50,def:40,spe:95,satk:85,sdef:75,ability0:"Plus",ability1:"Plus",gender:127,ancestor:""}
  413. speciesBVs[312] := {name:"Minun",hp:60,atk:40,def:50,spe:95,satk:75,sdef:85,ability0:"Minus",ability1:"Minus",gender:127,ancestor:""}
  414. speciesBVs[313] := {name:"Volbeat",hp:65,atk:73,def:55,spe:85,satk:47,sdef:75,ability0:"Illuminate",ability1:"Swarm",gender:0,ancestor:""}
  415. speciesBVs[314] := {name:"Illumise",hp:65,atk:47,def:55,spe:85,satk:73,sdef:75,ability0:"Oblivious",ability1:"Tinted Lens",gender:256,ancestor:""}
  416. speciesBVs[315] := {name:"Roselia",hp:50,atk:60,def:45,spe:65,satk:100,sdef:80,ability0:"Natural Cure",ability1:"Poison Point",gender:127,ancestor:"Budew"}
  417. speciesBVs[316] := {name:"Gulpin",hp:70,atk:43,def:53,spe:40,satk:43,sdef:53,ability0:"Liquid Ooze",ability1:"Sticky Hold",gender:127,ancestor:""}
  418. speciesBVs[317] := {name:"Swalot",hp:100,atk:73,def:83,spe:55,satk:73,sdef:83,ability0:"Liquid Ooze",ability1:"Sticky Hold",gender:127,ancestor:"Gulpin"}
  419. speciesBVs[318] := {name:"Carvanha",hp:45,atk:90,def:20,spe:65,satk:65,sdef:20,ability0:"Rough Skin",ability1:"Rough Skin",gender:127,ancestor:""}
  420. speciesBVs[319] := {name:"Sharpedo",hp:70,atk:120,def:40,spe:95,satk:95,sdef:40,ability0:"Rough Skin",ability1:"Rough Skin",gender:127,ancestor:""}
  421. speciesBVs[320] := {name:"Wailmer",hp:130,atk:70,def:35,spe:60,satk:70,sdef:35,ability0:"Water Veil",ability1:"Oblivious",gender:127,ancestor:""}
  422. speciesBVs[321] := {name:"Wailord",hp:170,atk:90,def:45,spe:60,satk:90,sdef:45,ability0:"Water Veil",ability1:"Oblivious",gender:127,ancestor:"Wailmer"}
  423. speciesBVs[322] := {name:"Numel",hp:60,atk:60,def:40,spe:35,satk:65,sdef:45,ability0:"Oblivious",ability1:"Simple",gender:127,ancestor:""}
  424. speciesBVs[323] := {name:"Camerupt",hp:70,atk:100,def:70,spe:40,satk:105,sdef:75,ability0:"Magma Armor",ability1:"Solid Rock",gender:127,ancestor:"Numel"}
  425. speciesBVs[324] := {name:"Torkoal",hp:70,atk:85,def:140,spe:20,satk:85,sdef:70,ability0:"White Smoke",ability1:"White Smoke",gender:127,ancestor:""}
  426. speciesBVs[325] := {name:"Spoink",hp:60,atk:25,def:35,spe:60,satk:70,sdef:80,ability0:"Thick Fat",ability1:"Own Tempo",gender:127,ancestor:""}
  427. speciesBVs[326] := {name:"Grumpig",hp:80,atk:45,def:65,spe:80,satk:90,sdef:110,ability0:"Thick Fat",ability1:"Own Tempo",gender:127,ancestor:"Spoink"}
  428. speciesBVs[327] := {name:"Spinda",hp:60,atk:60,def:60,spe:60,satk:60,sdef:60,ability0:"Own Tempo",ability1:"Tangled Feet",gender:127,ancestor:""}
  429. speciesBVs[328] := {name:"Trapinch",hp:45,atk:100,def:45,spe:10,satk:45,sdef:45,ability0:"Hyper Cutter",ability1:"Arena Trap",gender:127,ancestor:""}
  430. speciesBVs[329] := {name:"Vibrava",hp:50,atk:70,def:50,spe:70,satk:50,sdef:50,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Trapinch"}
  431. speciesBVs[330] := {name:"Flygon",hp:80,atk:100,def:80,spe:100,satk:80,sdef:80,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Vibrava"}
  432. speciesBVs[331] := {name:"Cacnea",hp:50,atk:85,def:40,spe:35,satk:85,sdef:40,ability0:"Sand Veil",ability1:"Sand Veil",gender:127,ancestor:""}
  433. speciesBVs[332] := {name:"Cacturne",hp:70,atk:115,def:60,spe:55,satk:115,sdef:60,ability0:"Sand Veil",ability1:"Sand Veil",gender:127,ancestor:"Cacnea"}
  434. speciesBVs[333] := {name:"Swablu",hp:45,atk:40,def:60,spe:50,satk:40,sdef:75,ability0:"Natural Cure",ability1:"Natural Cure",gender:127,ancestor:""}
  435. speciesBVs[334] := {name:"Altaria",hp:75,atk:70,def:90,spe:80,satk:70,sdef:105,ability0:"Natural Cure",ability1:"Natural Cure",gender:127,ancestor:"Swablu"}
  436. speciesBVs[335] := {name:"Zangoose",hp:73,atk:115,def:60,spe:90,satk:60,sdef:60,ability0:"Immunity",ability1:"Immunity",gender:127,ancestor:""}
  437. speciesBVs[336] := {name:"Seviper",hp:73,atk:100,def:60,spe:65,satk:100,sdef:60,ability0:"Shed Skin",ability1:"Shed Skin",gender:127,ancestor:""}
  438. speciesBVs[337] := {name:"Lunatone",hp:70,atk:55,def:65,spe:70,satk:95,sdef:85,ability0:"Levitate",ability1:"Levitate",gender:-1,ancestor:""}
  439. speciesBVs[338] := {name:"Solrock",hp:70,atk:95,def:85,spe:70,satk:55,sdef:65,ability0:"Levitate",ability1:"Levitate",gender:-1,ancestor:""}
  440. speciesBVs[339] := {name:"Barboach",hp:50,atk:48,def:43,spe:60,satk:46,sdef:41,ability0:"Oblivious",ability1:"Anticipation",gender:127,ancestor:""}
  441. speciesBVs[340] := {name:"Whiscash",hp:110,atk:78,def:73,spe:60,satk:76,sdef:71,ability0:"Oblivious",ability1:"Anticipation",gender:127,ancestor:"Barboach"}
  442. speciesBVs[341] := {name:"Corphish",hp:43,atk:80,def:65,spe:35,satk:50,sdef:35,ability0:"Hyper Cutter",ability1:"Shell Armor",gender:127,ancestor:""}
  443. speciesBVs[342] := {name:"Crawdaunt",hp:63,atk:120,def:85,spe:55,satk:90,sdef:55,ability0:"Hyper Cutter",ability1:"Shell Armor",gender:127,ancestor:"Corphish"}
  444. speciesBVs[343] := {name:"Baltoy",hp:40,atk:40,def:55,spe:55,satk:40,sdef:70,ability0:"Levitate",ability1:"Levitate",gender:-1,ancestor:""}
  445. speciesBVs[344] := {name:"Claydol",hp:60,atk:70,def:105,spe:75,satk:70,sdef:120,ability0:"Levitate",ability1:"Levitate",gender:-1,ancestor:"Baltoy"}
  446. speciesBVs[345] := {name:"Lileep",hp:66,atk:41,def:77,spe:23,satk:61,sdef:87,ability0:"Suction Cups",ability1:"Suction Cups",gender:31,ancestor:""}
  447. speciesBVs[346] := {name:"Cradily",hp:86,atk:81,def:97,spe:43,satk:81,sdef:107,ability0:"Suction Cups",ability1:"Suction Cups",gender:31,ancestor:"Lileep"}
  448. speciesBVs[347] := {name:"Anorith",hp:45,atk:95,def:50,spe:75,satk:40,sdef:50,ability0:"Battle Armor",ability1:"Battle Armor",gender:31,ancestor:""}
  449. speciesBVs[348] := {name:"Armaldo",hp:75,atk:125,def:100,spe:45,satk:70,sdef:80,ability0:"Battle Armor",ability1:"Battle Armor",gender:31,ancestor:"Anorith"}
  450. speciesBVs[349] := {name:"Feebas",hp:20,atk:15,def:20,spe:80,satk:10,sdef:55,ability0:"Swift Swim",ability1:"Swift Swim",gender:127,ancestor:""}
  451. speciesBVs[350] := {name:"Milotic",hp:95,atk:60,def:79,spe:81,satk:100,sdef:125,ability0:"Marvel Scale",ability1:"Marvel Scale",gender:127,ancestor:"Feebas"}
  452. speciesBVs[351] := {name:"Castform",hp:70,atk:70,def:70,spe:70,satk:70,sdef:70,ability0:"Forecast",ability1:"Forecast",gender:127,ancestor:""}
  453. speciesBVs[352] := {name:"Kecleon",hp:60,atk:90,def:70,spe:40,satk:60,sdef:120,ability0:"Color Change",ability1:"Color Change",gender:127,ancestor:""}
  454. speciesBVs[353] := {name:"Shuppet",hp:44,atk:75,def:35,spe:45,satk:63,sdef:33,ability0:"Insomnia",ability1:"Frisk",gender:127,ancestor:""}
  455. speciesBVs[354] := {name:"Banette",hp:64,atk:115,def:65,spe:65,satk:83,sdef:63,ability0:"Insomnia",ability1:"Frisk",gender:127,ancestor:"Shuppet"}
  456. speciesBVs[355] := {name:"Duskull",hp:20,atk:40,def:90,spe:25,satk:30,sdef:90,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:""}
  457. speciesBVs[356] := {name:"Dusclops",hp:40,atk:70,def:130,spe:25,satk:60,sdef:130,ability0:"Pressure",ability1:"Pressure",gender:127,ancestor:"Duskull"}
  458. speciesBVs[357] := {name:"Tropius",hp:99,atk:68,def:83,spe:51,satk:72,sdef:87,ability0:"Chlorophyll",ability1:"Solar Power",gender:127,ancestor:""}
  459. speciesBVs[358] := {name:"Chimecho",hp:65,atk:50,def:70,spe:65,satk:95,sdef:80,ability0:"Levitate",ability1:"Levitate",gender:127,ancestor:"Chingling"}
  460. speciesBVs[359] := {name:"Absol",hp:65,atk:130,def:60,spe:75,satk:75,sdef:60,ability0:"Pressure",ability1:"Super Luck",gender:127,ancestor:""}
  461. speciesBVs[360] := {name:"Wynaut",hp:95,atk:23,def:48,spe:23,satk:23,sdef:48,ability0:"Shadow Tag",ability1:"Shadow Tag",gender:127,ancestor:""}
  462. speciesBVs[361] := {name:"Snorunt",hp:50,atk:50,def:50,spe:50,satk:50,sdef:50,ability0:"Inner Focus",ability1:"Ice Body",gender:127,ancestor:""}
  463. speciesBVs[362] := {name:"Glalie",hp:80,atk:80,def:80,spe:80,satk:80,sdef:80,ability0:"Inner Focus",ability1:"Ice Body",gender:127,ancestor:"Snorunt"}
  464. speciesBVs[363] := {name:"Spheal",hp:70,atk:40,def:50,spe:25,satk:55,sdef:50,ability0:"Thick Fat",ability1:"Ice Body",gender:127,ancestor:""}
  465. speciesBVs[364] := {name:"Sealeo",hp:90,atk:60,def:70,spe:45,satk:75,sdef:70,ability0:"Thick Fat",ability1:"Ice Body",gender:127,ancestor:"Spheal"}
  466. speciesBVs[365] := {name:"Walrein",hp:110,atk:80,def:90,spe:65,satk:95,sdef:90,ability0:"Thick Fat",ability1:"Ice Body",gender:127,ancestor:"Sealeo"}
  467. speciesBVs[366] := {name:"Clamperl",hp:35,atk:64,def:85,spe:32,satk:74,sdef:55,ability0:"Shell Armor",ability1:"Shell Armor",gender:127,ancestor:""}
  468. speciesBVs[367] := {name:"Huntail",hp:55,atk:104,def:105,spe:52,satk:94,sdef:75,ability0:"Swift Swim",ability1:"Swift Swim",gender:127,ancestor:"Clamperl"}
  469. speciesBVs[368] := {name:"Gorebyss",hp:55,atk:84,def:105,spe:52,satk:114,sdef:75,ability0:"Swift Swim",ability1:"Swift Swim",gender:127,ancestor:"Clamperl"}
  470. speciesBVs[369] := {name:"Relicanth",hp:100,atk:90,def:130,spe:55,satk:45,sdef:65,ability0:"Swift Swim",ability1:"Rock Head",gender:31,ancestor:""}
  471. speciesBVs[370] := {name:"Luvdisc",hp:43,atk:30,def:55,spe:97,satk:40,sdef:65,ability0:"Swift Swim",ability1:"Swift Swim",gender:191,ancestor:""}
  472. speciesBVs[371] := {name:"Bagon",hp:45,atk:75,def:60,spe:50,satk:40,sdef:30,ability0:"Rock Head",ability1:"Rock Head",gender:127,ancestor:""}
  473. speciesBVs[372] := {name:"Shelgon",hp:65,atk:95,def:100,spe:50,satk:60,sdef:50,ability0:"Rock Head",ability1:"Rock Head",gender:127,ancestor:"Bagon"}
  474. speciesBVs[373] := {name:"Salamence",hp:95,atk:135,def:80,spe:100,satk:110,sdef:80,ability0:"Intimidate",ability1:"Intimidate",gender:127,ancestor:"Shelgon"}
  475. speciesBVs[374] := {name:"Beldum",hp:40,atk:55,def:80,spe:30,satk:35,sdef:60,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:""}
  476. speciesBVs[375] := {name:"Metang",hp:60,atk:75,def:100,spe:50,satk:55,sdef:80,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:"Beldum"}
  477. speciesBVs[376] := {name:"Metagross",hp:80,atk:135,def:130,spe:70,satk:95,sdef:90,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:"Metang"}
  478. speciesBVs[377] := {name:"Regirock",hp:80,atk:100,def:200,spe:50,satk:50,sdef:100,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:""}
  479. speciesBVs[378] := {name:"Regice",hp:80,atk:50,def:100,spe:50,satk:100,sdef:200,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:""}
  480. speciesBVs[379] := {name:"Registeel",hp:80,atk:75,def:150,spe:50,satk:75,sdef:150,ability0:"Clear Body",ability1:"Clear Body",gender:-1,ancestor:""}
  481. speciesBVs[380] := {name:"Latias",hp:80,atk:80,def:90,spe:110,satk:110,sdef:130,ability0:"Levitate",ability1:"Levitate",gender:256,ancestor:""}
  482. speciesBVs[381] := {name:"Latios",hp:80,atk:90,def:80,spe:110,satk:130,sdef:110,ability0:"Levitate",ability1:"Levitate",gender:0,ancestor:""}
  483. speciesBVs[382] := {name:"Kyogre",hp:100,atk:100,def:90,spe:90,satk:150,sdef:140,ability0:"Drizzle",ability1:"Drizzle",gender:-1,ancestor:""}
  484. speciesBVs[383] := {name:"Groudon",hp:100,atk:150,def:140,spe:90,satk:100,sdef:90,ability0:"Drought",ability1:"Drought",gender:-1,ancestor:""}
  485. speciesBVs[384] := {name:"Rayquaza",hp:105,atk:150,def:90,spe:95,satk:150,sdef:90,ability0:"Air Lock",ability1:"Air Lock",gender:-1,ancestor:""}
  486. speciesBVs[385] := {name:"Jirachi",hp:100,atk:100,def:100,spe:100,satk:100,sdef:100,ability0:"Serene Grace",ability1:"Serene Grace",gender:-1,ancestor:""}
  487. speciesBVs[386] := {name:"Deoxys",hp:50,atk:150,def:50,spe:150,satk:150,sdef:50,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  488. speciesBVs[387] := {name:"Deoxys-A",hp:50,atk:180,def:20,spe:150,satk:180,sdef:20,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  489. speciesBVs[388] := {name:"Deoxys-D",hp:50,atk:70,def:160,spe:90,satk:70,sdef:160,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  490. speciesBVs[389] := {name:"Deoxys-S",hp:50,atk:95,def:90,spe:180,satk:95,sdef:90,ability0:"Pressure",ability1:"Pressure",gender:-1,ancestor:""}
  491. natures := {Hardy: {boosts: "atk", drops: "atk", n: 0}, Lonely: {boosts: "atk", drops: "def", n: 1}, Brave: {boosts: "atk", drops: "spe", n: 2}, Adamant: {boosts: "atk", drops: "satk", n: 3}, Naughty: {boosts: "atk", drops: "sdef", n: 4},  Bold: {boosts: "def", drops: "atk", n: 5}, Docile: {boosts: "def", drops: "def", n: 6}, Relaxed: {boosts: "def", drops: "spe", n: 7}, Impish: {boosts: "def", drops: "satk", n: 8}, Lax: {boosts: "def", drops: "sdef", n: 9},  Timid: {boosts: "spe", drops: "atk", n: 10}, Hasty: {boosts: "spe", drops: "def", n: 11}, Serious: {boosts: "spe", drops: "spe", n: 12}, Jolly: {boosts: "spe", drops: "satk", n: 13}, Naive: {boosts: "spe", drops: "sdef", n: 14},  Modest: {boosts: "satk", drops: "atk", n: 15}, Mild: {boosts: "satk", drops: "def", n: 16}, Quiet: {boosts: "satk", drops: "spe", n: 17}, Bashful: {boosts: "satk", drops: "satk", n: 18}, Rash: {boosts: "satk", drops: "sdef", n: 19},  Calm: {boosts: "sdef", drops: "atk", n: 20}, Gentle: {boosts: "sdef", drops: "def", n: 21}, Sassy: {boosts: "sdef", drops: "spe", n: 22}, Careful: {boosts: "sdef", drops: "satk", n: 23}, Quirky: {boosts: "sdef", drops: "sdef", n: 24}}
  492.  
  493. }
  494.  
  495.  
  496. CoordMode, pixel, Screen
  497. natNames := ["Hardy", "Lonely", "Brave", "Adamant", "Naughty", "Bold", "Docile", "Relaxed", "Impish", "Lax", "Timid", "Hasty", "Serious", "Jolly", "Naive", "Modest", "Mild", "Quiet", "Bashful", "Rash", "Calm", "Gentle", "Sassy", "Careful", "Quirky"]
  498. summaryOne := ["0x2B221C"]
  499. summary := ["0x908E8D", "0xD9D1CD", "0xDC874E", "0xF89858", "0xFFFFFF", "0x000000"]
  500. pagePos := [{x:125, y:21}, {x:154, y:21}, {x:183, y:21}]
  501. groupsPerPage := [3, 5, 6]
  502. statPos := {lv1:{x:-41,y:69}, lv2:{x:-33,y:69}, lv3:{x:-25,y:69}, num1:{x:220,y:68}, num2:{x:228,y:68}, num3:{x:236,y:68}, hp1:{x:220,y:216}, hp2:{x:228,y:216}, hp3:{x:236,y:216}, atk1:{x:219,y:68}, atk2:{x:227,y:68}, atk3:{x:235,y:68}, def1:{x:219,y:90}, def2:{x:227,y:90}, def3:{x:235,y:90}, satk1:{x:219,y:112}, satk2:{x:227,y:112}, satk3:{x:235,y:112}, sdef1:{x:219,y:134}, sdef2:{x:227,y:134}, sdef3:{x:235,y:134}, spe1:{x:219,y:156}, spe2:{x:227,y:156}, spe3:{x:235,y:156}, evhp1:{x:219,y:68}, evhp2:{x:227,y:68}, evhp3:{x:235,y:68}, evatk1:{x:219,y:90}, evatk2:{x:227,y:90}, evatk3:{x:235,y:90}, evdef1:{x:219,y:112}, evdef2:{x:227,y:112}, evdef3:{x:235,y:112}, evsatk1:{x:219,y:134}, evsatk2:{x:227,y:134}, evsatk3:{x:235,y:134}, evsdef1:{x:219,y:156}, evsdef2:{x:227,y:156}, evsdef3:{x:235,y:156}, evspe1:{x:219,y:178}, evspe2:{x:227,y:178}, evspe3:{x:235,y:178}}
  503. infoName := ["lv", "num", "hp"] ;add in nature later, could kill a loop if we had lv1, lv2, lv3, num1 num2, ect...
  504. statsName := ["atk", "def", "satk", "sdef", "spe"] ;hp gets it's own loop
  505. evName := ["evhp", "evatk", "evdef", "evsatk", "evsdef", "evspe"] ;gets it's own loops, lose hp for IVcalc
  506. filled := [0, 0, 0]
  507.  
  508.  
  509.  
  510.  
  511. ;INITIAL VALUES
  512. loop 1
  513. {
  514.     num := ""
  515.     bv := ""
  516.     nat := ""
  517.     level := ""
  518.     boosts := ""
  519.     drops := ""
  520.     stat := []
  521.     stat["hp"] := ""
  522.     stat["atk"] := ""
  523.     stat["def"] := ""
  524.     stat["satk"] := ""
  525.     stat["sdef"] := ""
  526.     stat["spe"] := ""
  527.     ;evStat := []
  528.     stat["evhp"] := ""
  529.     stat["evatk"] := ""
  530.     stat["evdef"] := ""
  531.     stat["evsatk"] := ""
  532.     stat["evsdef"] := ""
  533.     stat["evspe"] := ""
  534. }
  535.  
  536.  
  537.  
  538. msgbox EasyIVs is running. press f1 to look for summary window, esc to close
  539. Start()
  540. {
  541.     loop
  542.     {
  543.         CoordMode, pixel, Screen
  544.  
  545.         ImageSearch, FoundX, FoundY, 0,0, A_ScreenWidth, A_ScreenHeight, *25 %A_Temp%\sum.png
  546.         if ErrorLevel = 2
  547.         {
  548.             MsgBox something has gone horribly wrong... ;could not conduct search
  549.             exitapp
  550.         }
  551.         else if ErrorLevel = 1 ;nothing found
  552.         {
  553.             ;msgbox not found
  554.             sleep 1000
  555.         }
  556.         else
  557.         {
  558.             ;msgbox %FoundX% %FoundY%
  559.             TrayTip, EasyIV by Kmeaw, Summary Window Found, 30, 1
  560.             GetPage(FoundX, FoundY)
  561.         }
  562.         TrayTip, EasyIV by Kmeaw, looking for summary window, 30, 1
  563.         if A_Index = 5
  564.             return
  565.     }
  566.     ;msgbox %foundX% %foundY% ;not needed
  567. }
  568.  
  569.  
  570. GetPage(Px, Py)
  571. {
  572.     PageX := Px + 110
  573.     Pagey := Py + 20
  574.     PageX_max := PageX + 86
  575.     PageY_max := PageY + 24
  576.     global filled
  577.     loop
  578.     {
  579.         loop 3
  580.         {
  581.             ImageSearch, FoundX, FoundY, PageX, PageY, PageX_max, PageY_max, *25 %A_Temp%\p%A_Index%.png
  582.             if ErrorLevel = 2
  583.             {
  584.                 MsgBox strange error... ;could not conduct search
  585.                 exitapp  
  586.             }
  587.             else if ErrorLevel = 1 ;nothing found
  588.             {
  589.                 ;msgbox characters not found
  590.                 ;sleep 1000
  591.             }
  592.             else
  593.             {
  594.                 ;msgbox pagedone %finished% pageimgfound %A_Index%
  595.                 if finished != %A_Index%
  596.                 {
  597.                     finished := GetStats(Px, Py, A_Index)
  598.                     ;msgbox finished page %finished%
  599.                     ;break
  600.                 }
  601.             }
  602.         }
  603.         sleep 1000
  604.         if filled[1] = 1
  605.             if filled[2] = 1
  606.                 if filled[3] = 1
  607.                 {
  608.                     CalcIVs()
  609.                     filled := [0, 0, 0]
  610.                     break
  611.                 }
  612.         if A_Index = 10
  613.             break
  614.     }
  615. }
  616.  
  617.  
  618.  
  619. GetStats(Px, Py, Page)
  620. {
  621.     global pagePos
  622.     global infoName ;page 1
  623.     global statsName ;page 2
  624.     global evName ;page 3
  625.     global groupsPerPage ;groups of characters per page for looping
  626.     global statPos
  627.     global stat
  628.     global nat
  629.     global natures
  630.     global filled
  631.     global speciesBVs
  632.     global bv
  633.     global boosts
  634.     global drops
  635.    
  636.     if page = 1
  637.         names := "infoName"
  638.     else if page = 2
  639.         names := "statsName"
  640.     else if page = 3
  641.         names := "evName"
  642.     loop % groupsPerPage[page] ;stat goupings
  643.     {
  644.         statName := %names%[A_Index]
  645.         value := ""
  646.         loop 3 ;chars per group
  647.         {
  648.             statOrder := statName . A_Index ;lv1, lv2, ect...
  649.             ;msgbox %statOrder%
  650.             posX := Px + statPos[statOrder]["x"]
  651.             posY := Py + statPos[statOrder]["y"]
  652.             char := GetOCR(posX, posY)
  653.             ;msgbox %Px% %Py% %posX% %posY%
  654.             ;msgbox %statName% %char%
  655.             value .= char
  656.         }
  657.         stat[statname] := value
  658.         ;msgbox % stat[statname]
  659.     }
  660.    
  661.     ;PER PAGE VALUE SETTING
  662.     ;msgbox %page%
  663.     if Page = 1
  664.     {
  665.         global speciesBVs
  666.         global bv
  667.         global boosts
  668.         global drops
  669.         bv := speciesBVs[num]
  670.    
  671.         filled[page] := 1
  672.         nat := GetNat(Px, Py)
  673.         lv := % stat["lv"]
  674.         num := % stat["num"]
  675.         hp := % stat["hp"]
  676.         ;msgbox nat is %nat%
  677.  
  678.         bv := speciesBVs[num]
  679.         boosts := natures[nat]["boosts"]
  680.         drops := natures[nat]["drops"]
  681.        
  682.         TrayTip, EasyIV by Kmeaw, Lv`:%lv%`, Num`:%num%`, Nat`:%nat%`, HP`:%hp%, 30, 1
  683.         return 1
  684.     }
  685.     else if Page = 2
  686.     {
  687.         filled[page] := 1
  688.         atk := % stat["atk"]
  689.         def := % stat["def"]
  690.         satk := % stat["satk"]
  691.         sdef := % stat["sdef"]
  692.         spe := % stat["spe"]
  693.         TrayTip, EasyIV by Kmeaw, Atk`:%atk%`, Def`:%def%`, Satk`:%satk%`, Sdef`:%sdef%`, Spe`:%spe%, 30, 1
  694.         return 2
  695.     }
  696.     else if Page = 3
  697.     {
  698.         filled[page] := 1
  699.         evhp := % stat["evhp"]
  700.         evatk := % stat["evatk"]
  701.         evdef := % stat["evdef"]
  702.         evsatk := % stat["evsatk"]
  703.         evsdef := % stat["evsdef"]
  704.         evspe := % stat["evspe"]
  705.         TrayTip, EasyIV by Kmeaw, EvHP`:%evhp%`, EvAtk`:%evatk%`, EvDef`:%evdef%`, EvSatk`:%evsatk%`, EvSdef`:%evsdef%`, EvSpe`:%evspe%, 30, 1
  706.         sleep 1000
  707.         return 3
  708.     }
  709.     else
  710.         msgbox wtf, how did you get here?
  711. }
  712.  
  713.  
  714.  
  715.  
  716.  
  717. GetOCR(Px, Py) ;get pixel above char, match 10 pixels and return it's char value
  718. {
  719.     loop 10
  720.     {
  721.         charLoop := A_Index - 1
  722.         charName = %charLoop%.png
  723.         ;msgbox %charName%
  724.        
  725.         ;PADDING
  726.         PxStart := Px - 2 ; -2 for beginning of img
  727.         PyStart := Py - 0 ;
  728.         PxEnd := PxStart + 7 ;
  729.         PyEnd := PyStart + 10 ;
  730.         ;PADDING
  731.        
  732.         ImageSearch, FoundX, FoundY, PxStart, PyStart, PxEnd, PyEnd, *60 %A_Temp%\%charLoop%.png
  733.         if ErrorLevel = 2
  734.         {
  735.             MsgBox couldn't any find natures... ;could not conduct search
  736.             exitapp  
  737.         }
  738.         else if ErrorLevel = 1 ;nothing found
  739.         {
  740.             ;msgbox characters not found
  741.             ;sleep 1000
  742.         }
  743.         else
  744.         {
  745.             found := charLoop
  746.             ;msgbox %charLoop%
  747.             break
  748.         }
  749.     }
  750.     return %found%
  751. }
  752.  
  753.  
  754.  
  755.  
  756. GetNat(Px, Py)
  757. {
  758.     ;msgbox %Px% %Py%
  759.     global natNames
  760.     natStartX := Px + 218
  761.     natStartY := Py + 139
  762.     natEndX := natStartX + 40
  763.     natEndY := natStartY + 2
  764.     ;msgbox %Px% %Py% %natStartX% %natStartY% %natEndX% %natEndY%
  765.     ;padding
  766.     natStartX -= 2
  767.     natStartY -= 2
  768.     natEndX += 2
  769.     natEndY += 2
  770.     ;msgbox %Px% %Py% %natStartX% %natStartY% %natEndX% %natEndY%
  771.     loop 25
  772.     {
  773.         natName = n%A_Index%
  774.         ;msgbox %Px% %Py% %natStartX% %natStartY% %natEndX% %natEndY%
  775.         ImageSearch, FoundX, FoundY, natStartX, natStartY, natEndX, natEndY, *25 %A_Temp%\%natName%.png
  776.         if ErrorLevel = 2
  777.         {
  778.             MsgBox couldn't any find characters... ;could not conduct search
  779.             exitapp  
  780.         }
  781.         else if ErrorLevel = 1 ;nothing found
  782.         {
  783.             ;msgbox characters not found
  784.             ;sleep 1000
  785.         }
  786.         else
  787.         {
  788.             found = % natNames[A_Index]
  789.             ;msgbox %A_Index%
  790.             break
  791.         }
  792.     }
  793.     return %found%
  794. }
  795.  
  796.  
  797. CalcIVs()
  798. {
  799.     global speciesBVs
  800.     global bv
  801.     global boosts
  802.     global drops
  803.     global natures
  804.     global nat
  805.     global stat
  806.     global infoName
  807.     global statsName
  808.     global evName
  809.     level := % stat["lv"]
  810.     infoName := ["lv", "num", "hp"] ;add in nature later
  811.     statsName := ["atk", "def", "satk", "sdef", "spe"] ;hp gets it's own loop
  812.     evName := ["evatk", "evdef", "evsatk", "evsdef", "evspe"]
  813.  
  814.  
  815.     Min = X ;rly? there no built in function for min/max
  816.     Max := ""
  817.     out := bv["name"]
  818.     out .= ": "
  819.     loop 32 ;hp
  820.     {
  821.         i := A_Index - 1
  822.         s := floor(((i+2*bv["hp"]+floor(stat["evhp"]/4))*level/100.0)+10+(level*1))
  823.         if bv["hp"] = 1
  824.             s := 1 ; for Shedingja
  825.         if s = % stat["hp"]
  826.         {
  827.             if Min = X
  828.                 Min := i
  829.             else
  830.                 Max := i
  831.         }
  832.     }
  833.     out .= Min
  834.     if Max
  835.     {
  836.         out .= "-"
  837.         out .= Max
  838.     }
  839.     out .= "|"
  840.  
  841.     loop 5
  842.     {
  843.         Min = X
  844.         Max := ""
  845.         statLoop := A_Index
  846.         loop 32 ;other stats
  847.         {
  848.             i := A_Index - 1
  849.             modVal = 1
  850.             if statsName[statLoop] = boosts
  851.                 modVal := 1.1
  852.             else if statsName[statLoop] = drops
  853.                 modVal := 0.9
  854.             s := floor((floor(((i+2*bv[statsName[statLoop]]+floor(stat[evName[statLoop]]/4))*level/100.0)+5)*modVal))
  855.             if s = % stat[statsName[statLoop]]
  856.             {
  857.                 if Min = X
  858.                     Min := i
  859.                 else
  860.                     Max := i
  861.             }
  862.         }
  863.         out .= Min
  864.         if Max
  865.         {
  866.             out .= "-"
  867.             out .= Max
  868.         }
  869.         if A_Index != 5
  870.             out .= "|"
  871.     }
  872.     out .= " "
  873.     out .= nat
  874.     msgbox %out%
  875.     clipboard := out
  876.    
  877.     sleep 5000
  878. }
  879.  
  880.  
  881.  
  882. F1::
  883. Start()
  884. return
  885.  
  886.  
  887. Escape::
  888. ExitApp
  889. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement