comparison clojure/com/aurellem/gb/moves.clj @ 198:5055ec9de278

competed move-table printing component of pokemon printing function.
author Robert McIntyre <rlm@mit.edu>
date Fri, 23 Mar 2012 00:30:34 -0500
parents 659764a2ea40
children 912496041f98
comparison
equal deleted inserted replaced
197:659764a2ea40 198:5055ec9de278
322 :growl 40 322 :growl 40
323 :growth 40 323 :growth 40
324 :guillotine 5 324 :guillotine 5
325 :gust 35 325 :gust 35
326 :harden 30 326 :harden 30
327 :haze 327 :haze 30
328 :headbutt 328 :headbutt 15
329 :hi-jump-kick 329 :hi-jump-kick 20
330 :horn-attack 330 :horn-attack 25
331 :horn-drill 331 :horn-drill 5
332 :hydro-pump 332 :hydro-pump 5
333 :hyper-beam 333 :hyper-beam 5
334 :hyper-fang 334 :hyper-fang 15
335 :hypnosis 335 :hypnosis 20
336 :ice-beam 336 :ice-beam 10
337 :ice-punch 337 :ice-punch 15
338 :jump-kick 338 :jump-kick 25
339 :karate-chop 339 :karate-chop 25
340 :kinesis 340 :kinesis 15
341 :leech-life 341 :leech-life 15
342 :leech-seed 342 :leech-seed 10
343 :leer 343 :leer 30
344 :lick 344 :lick 30
345 :light-screen 345 :light-screen 30
346 :lovely-kiss 346 :lovely-kiss 10
347 :low-kick 347 :low-kick 20
348 :meditate 348 :meditate 40
349 :mega-drain 349 :mega-drain 10
350 :mega-kick 350 :mega-kick 5
351 :mega-punch 351 :mega-punch 20
352 :metronome 352 :metronome 10
353 :mimic 353 :mimic 10
354 :minimize 354 :minimize 20
355 :mirror-move 355 :mirror-move 20
356 :mist 356 :mist 30
357 :night-shade 357 :night-shade 15
358 :pay-day 358 :pay-day 20
359 :peck 359 :peck 35
360 :petal-dance 360 :petal-dance 20
361 :pin-missle 361 :pin-missle 20
362 :poison-gas 362 :poison-gas 40
363 :poison-sting 363 :poison-sting 35
364 :poisonpowder 364 :poisonpowder 35
365 :pound 365 :pound 35
366 :psybeam 366 :psybeam 20
367 :psychic 367 :psychic 10
368 :psywave 368 :psywave 15
369 :quick-attack 369 :quick-attack 30
370 :rage 370 :rage 20
371 :razor-leaf 371 :razor-leaf 25
372 :razor-wind 372 :razor-wind 10
373 :recover 373 :recover 20
374 :reflect 374 :reflect 20
375 :rest 375 :rest 10
376 :roar 376 :roar 20
377 :rock-slide 377 :rock-slide 10
378 :rock-throw 378 :rock-throw 15
379 :rolling-kick 379 :rolling-kick 15
380 :sand-attack 380 :sand-attack 15
381 :scratch 381 :scratch 30
382 :screech 382 :screech 40
383 :seismic-toss 383 :seismic-toss 20
384 :selfdestruct 384 :selfdestruct 5
385 :sharpen 385 :sharpen 30
386 :sing 386 :sing 15
387 :skull-bash 387 :skull-bash 15
388 :sky-attack 388 :sky-attack 5
389 :slam 389 :slam 20
390 :slash 390 :slash 20
391 :sleep-powder 391 :sleep-powder 15
392 :sludge 392 :sludge 20
393 :smog 393 :smog 20
394 :smokescreen 394 :smokescreen 20
395 :softboiled 395 :softboiled 10
396 :solarbeam 396 :solarbeam 10
397 :sonicboom 397 :sonicboom 20
398 :spike-cannon 398 :spike-cannon 15
399 :splash 399 :splash 40
400 :spore 400 :spore 15
401 :stomp 401 :stomp 20
402 :strength 402 :strength 15
403 :string-shot 403 :string-shot 40
404 :struggle 404 :struggle 1
405 :stun-spore 405 :stun-spore 30
406 :submission 406 :submission 25
407 :substitute 407 :substitute 10
408 :super-fang 408 :super-fang 10
409 :supersonic 409 :supersonic 20
410 :surf 410 :surf 15
411 :swift 411 :swift 20
412 :swords-dance 412 :swords-dance 30
413 :tackle 413 :tackle 35
414 :tail-whip 414 :tail-whip 30
415 :take-down 415 :take-down 20
416 :teleport 416 :teleport 20
417 :thrash 417 :thrash 20
418 :thunder 418 :thunder 10
419 :thunder-wave 419 :thunder-wave 20
420 :thunderbolt 420 :thunderbolt 15
421 :thunderpunch 421 :thunderpunch 15
422 :thundershock 422 :thundershock 30
423 :toxic 423 :toxic 10
424 :transform 424 :transform 10
425 :tri-attack 425 :tri-attack 10
426 :twinneedle 426 :twinneedle 20
427 :vicegrip 427 :vicegrip 30
428 :vine-whip 428 :vine-whip 10
429 :water-gun 429 :water-gun 25
430 :waterfall 430 :waterfall 15
431 :whirlwind 431 :whirlwind 20
432 :wing-attack 432 :wing-attack 35
433 :withdraw 433 :withdraw 40
434 :wrap 434 :wrap 20})
435
436 (defn max-pp [name pp-ups]
437 (int (* (+ 1 (* (/ 1 5) pp-ups))
438 (move-name->move-pp name))))