comparison clojure/com/aurellem/gb/moves.clj @ 197:659764a2ea40

break for eating!
author Robert McIntyre <rlm@mit.edu>
date Fri, 23 Mar 2012 00:14:37 -0500
parents fd549c8f42ae
children 5055ec9de278
comparison
equal deleted inserted replaced
196:8dd17081829f 197:659764a2ea40
167 0xA0 :conversion 167 0xA0 :conversion
168 0xA1 :tri-attack 168 0xA1 :tri-attack
169 0xA2 :super-fang 169 0xA2 :super-fang
170 0xA3 :slash 170 0xA3 :slash
171 0xA4 :substitute 171 0xA4 :substitute
172 0xA5 :struggle}) 172 0xA5 :struggle })
173 173
174 (def move-name->move-code 174 (def move-name->move-code
175 (zipmap (vals move-code->move-name) 175 (zipmap (vals move-code->move-name)
176 (keys move-code->move-name))) 176 (keys move-code->move-name)))
177 177
262 current-pp)))) 262 current-pp))))
263 ([pokemon-num move-num pp-ups current-pp] 263 ([pokemon-num move-num pp-ups current-pp]
264 (give-pp @current-state 264 (give-pp @current-state
265 pokemon-num move-num pp-ups current-pp))) 265 pokemon-num move-num pp-ups current-pp)))
266 266
267
268 (def move-name->move-pp
269 {
270 :absorb 20
271 :acid 30
272 :acid-armor 40 ;; WTF happens with 3 PP-UPs??!
273 :agility 30
274 :amnesia 20
275 :aurora-beam 20
276 :barrage 20
277 :barrier 30
278 :bide 10
279 :bind 20
280 :bite 25
281 :blizzard 5
282 :body-slam 15
283 :bone-club 20
284 :bonemerang 10
285 :bubble 30
286 :bubblebeam 20
287 :clamp 10
288 :comet-punch 15
289 :confuse-ray 10
290 :confusion 25
291 :constrict 35
292 :conversion 30
293 :counter 20
294 :crabhammer 10
295 :cut 30
296 :defense-curl 40
297 :dig 10
298 :disable 20
299 :dizzy-punch 10
300 :double-edge 15
301 :double-kick 30
302 :double-team 10
303 :doubleslap 15
304 :dragon-rage 10
305 :dream-eater 15
306 :drill-peck 20
307 :earthquake 10
308 :egg-bomb 10
309 :ember 25
310 :explosion 5
311 :fire-blast 5
312 :fire-punch 15
313 :fire-spin 15
314 :fissure 5
315 :flamethrower 15
316 :flash 20
317 :fly 15
318 :focus-energy 30
319 :fury-attack 20
320 :fury-swipes 15
321 :glare 30
322 :growl 40
323 :growth 40
324 :guillotine 5
325 :gust 35
326 :harden 30
327 :haze
328 :headbutt
329 :hi-jump-kick
330 :horn-attack
331 :horn-drill
332 :hydro-pump
333 :hyper-beam
334 :hyper-fang
335 :hypnosis
336 :ice-beam
337 :ice-punch
338 :jump-kick
339 :karate-chop
340 :kinesis
341 :leech-life
342 :leech-seed
343 :leer
344 :lick
345 :light-screen
346 :lovely-kiss
347 :low-kick
348 :meditate
349 :mega-drain
350 :mega-kick
351 :mega-punch
352 :metronome
353 :mimic
354 :minimize
355 :mirror-move
356 :mist
357 :night-shade
358 :pay-day
359 :peck
360 :petal-dance
361 :pin-missle
362 :poison-gas
363 :poison-sting
364 :poisonpowder
365 :pound
366 :psybeam
367 :psychic
368 :psywave
369 :quick-attack
370 :rage
371 :razor-leaf
372 :razor-wind
373 :recover
374 :reflect
375 :rest
376 :roar
377 :rock-slide
378 :rock-throw
379 :rolling-kick
380 :sand-attack
381 :scratch
382 :screech
383 :seismic-toss
384 :selfdestruct
385 :sharpen
386 :sing
387 :skull-bash
388 :sky-attack
389 :slam
390 :slash
391 :sleep-powder
392 :sludge
393 :smog
394 :smokescreen
395 :softboiled
396 :solarbeam
397 :sonicboom
398 :spike-cannon
399 :splash
400 :spore
401 :stomp
402 :strength
403 :string-shot
404 :struggle
405 :stun-spore
406 :submission
407 :substitute
408 :super-fang
409 :supersonic
410 :surf
411 :swift
412 :swords-dance
413 :tackle
414 :tail-whip
415 :take-down
416 :teleport
417 :thrash
418 :thunder
419 :thunder-wave
420 :thunderbolt
421 :thunderpunch
422 :thundershock
423 :toxic
424 :transform
425 :tri-attack
426 :twinneedle
427 :vicegrip
428 :vine-whip
429 :water-gun
430 :waterfall
431 :whirlwind
432 :wing-attack
433 :withdraw
434 :wrap