API Documentation
StarterPokemon
This class defined one of the starter Pokémon given to the player by Professor Oak at the start of Pokémon Red, Green, Blue, FireRed, and LeafGreen.
Actual Pokémon can be created by calling the specific classes defining the starter Pokémon types. You can see more details about them at About starter Pokémon.
Source code in src/pokedex.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
who_is_that_pokemon()
Shows the Pokémon name and its evolution.
Usage:
import pokedex friend = pokedex.Bulbasaur() friend.who_is_that_pokemon() This pokemon is Bulbasaur. It will evolve into Ivysaur, Venusaur, Mega Venusaur, Gigantamax Venusaur.
Source code in src/pokedex.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
Bulbasaur
Bases: StarterPokemon
Bulbasaur is a dual-type Grass/Poison Pokémon introduced in Generation I.
It evolves into Ivysaur starting at level 16, which evolves into Venusaur starting at level 32.
Along with Charmander and Squirtle, Bulbasaur is one of three starter Pokémon of Kanto available at the beginning of Pokémon Red, Green, Blue, FireRed, and LeafGreen.
Source code in src/pokedex.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | |
Charmander
Bases: StarterPokemon
Charmander is a Fire-type Pokémon introduced in Generation I.
It evolves into Charmeleon starting at level 16, which evolves into Charizard starting at level 36.
Along with Bulbasaur and Squirtle, Charmander is one of three starter Pokémon of Kanto available at the beginning of Pokémon Red, Green, Blue, FireRed, and LeafGreen.
Note
Charmeleon and Charizard are fire-type Pokémon, but Mega Charizard X and Gigantamax Charizard are also Flying Pokémon, while Mega Charizard Y is a Dragon-type Pokémon.
Source code in src/pokedex.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
Squirtle
Bases: StarterPokemon
Squirtle is a Water-type Pokémon introduced in Generation I.
It evolves into Wartortle starting at level 16, which evolves into Blastoise starting at level 36.
Along with Bulbasaur and Charmander, Squirtle is one of three starter Pokémon of Kanto available at the beginning of Pokémon Red, Green, Blue, FireRed, and LeafGreen.
Source code in src/pokedex.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
Caterpie
Bases: StarterPokemon
For protection, it releases a horrible stench from the antenna on its head to drive away enemies.
Source code in src/pokedex.py
110 111 112 113 114 115 116 117 118 119 120 | |
Pidgey
Bases: StarterPokemon
A common sight in forests and woods. It flaps its wings at ground level to kick up blinding sand.
Very docile. If attacked, it will often kick up sand to protect itself rather than fight back.
Source code in src/pokedex.py
122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
Ratata
Bases: StarterPokemon
Bites anything when it attacks. Small and very quick, it is a common sight in many places.
It is cautious in the extreme. Even while it is asleep, it constantly listens by moving its ears around.
Source code in src/pokedex.py
138 139 140 141 142 143 144 145 146 147 148 149 | |
Spearow
Bases: StarterPokemon
Eats bugs in grassy areas. It has to flap its short wings at high speed to stay airborne.
Inept at flying high. However, it can fly around very fast to protect its territory.
Source code in src/pokedex.py
152 153 154 155 156 157 158 159 160 161 162 163 | |
Pikachu
Bases: StarterPokemon
When several of these Pokémon gather, their electricity could build and cause lightning storms.
It keeps its tail raised to monitor its surroundings. If you yank its tail, it will try to bite you.
Source code in src/pokedex.py
166 167 168 169 170 171 172 173 174 175 176 177 | |
Jigglypuff
Bases: StarterPokemon
When its huge eyes light up, it sings a mysteriously soothing melody that lulls its enemies to sleep.
Nothing can avoid falling asleep hearing a Jigglypuff's song. The sound waves of its singing voice match the brain waves of someone in a deep sleep.
Source code in src/pokedex.py
179 180 181 182 183 184 185 186 187 188 189 190 | |
Meowth
Bases: StarterPokemon
Adores round objects. It wanders the streets on a nightly basis to look for dropped loose change.
It is nocturnal in nature. If it spots something shiny, its eyes glitter brightly.
Source code in src/pokedex.py
193 194 195 196 197 198 199 200 201 202 203 204 | |
Psyduck
Bases: StarterPokemon
While lulling its enemies with its vacant look, this wily Pokémon will use psychokinetic powers.
It is constantly wracked by a headache. When the headache turns intense, it begins using mysterious powers.
Source code in src/pokedex.py
207 208 209 210 211 212 213 214 215 216 217 218 | |
Abra
Bases: StarterPokemon
Using its ability to read minds, it will identify impending danger and teleport to safety.
It sleeps for 18 hours a day. Even when awake, it teleports itself while remaining seated.
Source code in src/pokedex.py
221 222 223 224 225 226 227 228 229 230 231 232 | |
Machop
Bases: StarterPokemon
Loves to build its muscles. It trains in all styles of martial arts to become even stronger.
It loves working out. As it gazes at its muscles, which continue to swell day by day, it becomes more and more dedicated to its training.
Source code in src/pokedex.py
235 236 237 238 239 240 241 242 243 244 245 246 | |
Bellsprout
Bases: StarterPokemon
A carnivorous Pokémon that traps and eats bugs. It uses its root feet to soak up needed moisture.
If it notices anything that moves, it immediately flings its vine at the object.
Source code in src/pokedex.py
249 250 251 252 253 254 255 256 257 258 259 260 | |
Geodude
Bases: StarterPokemon
Commonly found near mountain trails and the like. If you step on one by accident, it gets angry.
It uses both hands to climb precipitous cliffs. People who see it in action have been known to take up bouldering.
Source code in src/pokedex.py
263 264 265 266 267 268 269 270 271 272 273 274 | |
Ponyta
Bases: StarterPokemon
Capable of jumping incredibly high. Its hooves and sturdy legs absorb the impact of a hard landing.
Its hooves are 10 times harder than diamonds. It can trample anything completely flat in little time.
Source code in src/pokedex.py
276 277 278 279 280 281 282 283 284 285 286 287 | |
Slowpoke
Bases: StarterPokemon
Incredibly slow and sluggish. It is quite content to loll about without worrying about the time.
It is always so absent-minded that it won't react, even if its flavorful tail is bitten.
Source code in src/pokedex.py
290 291 292 293 294 295 296 297 298 299 300 301 | |
Magnemite
Bases: StarterPokemon
Uses anti-gravity to stay suspended. Appears without warning and uses Thunder Wave and similar moves.
The units at the sides of its body generate anti-gravity energy to keep it aloft in the air.
Source code in src/pokedex.py
304 305 306 307 308 309 310 311 312 313 314 315 | |
Farfetchd
Bases: StarterPokemon
The sprig of green onions it holds is its weapon. It is used much like a metal sword.
Although it can cut steel with its beak, it will not pick up a blade if it is dirty.
Source code in src/pokedex.py
318 319 320 321 322 323 324 325 326 327 328 329 | |
Doduo
Bases: StarterPokemon
A bird that makes up for its poor flying with its fast foot speed. Leaves giant footprints.
It lives on a grassy plain where it can see a long way. If it sees an enemy, it runs away at 60 mph.
Source code in src/pokedex.py
332 333 334 335 336 337 338 339 340 341 342 343 | |
Seel
Bases: StarterPokemon
The protruding horn on its head is very hard. It is used for bashing through thick ice.
Seel hunts for prey in the frigid sea underneath sheets of ice. When it needs to breathe, it punches a hole through the ice with the sharply protruding section of its head.
Source code in src/pokedex.py
346 347 348 349 350 351 352 353 354 355 356 357 | |
Grimer
Bases: StarterPokemon
Appears in filthy areas. Thrives by sucking up polluted sludge that is pumped out of factories.
Wherever Grimer has passed, so many germs are left behind that no plants will ever grow again.
Source code in src/pokedex.py
360 361 362 363 364 365 366 367 368 369 370 371 | |
Shellder
Bases: StarterPokemon
Its hard shell repels any kind of attack. It is vulnerable only when its shell is open.
Even though it is encased in a sturdy shell, the body inside is tender. It can't withstand a harsh attack.
Source code in src/pokedex.py
374 375 376 377 378 379 380 381 382 383 384 385 | |
Gastly
Bases: StarterPokemon
A being that exists as a thin gas. It can topple an Indian elephant by enveloping the prey in two seconds.
It wraps its opponent in its gas-like body, slowly weakening its prey by poisoning it through the skin.
Source code in src/pokedex.py
388 389 390 391 392 393 394 395 396 397 398 399 | |
Onix
Bases: StarterPokemon
Burrows at high speed in search of food. The tunnels it leaves are used as homes by Diglett.
As it digs through the ground, it absorbs many hard objects. This is what makes its body so solid.
Source code in src/pokedex.py
402 403 404 405 406 407 408 409 410 411 412 413 | |
Drowzee
Bases: StarterPokemon
Puts enemies to sleep, then eats their dreams. Occasionally gets sick from eating bad dreams.
It puts its enemy to sleep and eats the victim's dreams. It is known to visit children to steal their dreams through the holes in their noses.
Source code in src/pokedex.py
416 417 418 419 420 421 422 423 424 425 426 427 | |
Krabby
Bases: StarterPokemon
Its pincers are superb weapons. They sometimes break off during battle, but they grow back fast.
If it loses a pincer, it somehow becomes incapable of walking sideways. However, it can still live on in the water.
Source code in src/pokedex.py
430 431 432 433 434 435 436 437 438 439 440 441 | |
Voltorb
Bases: StarterPokemon
It was discovered when Poké Balls were introduced. It is said that there is some connection.
It was discovered at the site of a meteor strike 50 years ago. Its own energy source is its main enemy.
Source code in src/pokedex.py
444 445 446 447 448 449 450 451 452 453 454 455 | |