-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pokemon.py
5357 lines (5040 loc) · 295 KB
/
Pokemon.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import pygame,random
from math import sqrt, floor
pygame.init()
Pokes_img = {"Charmander":("Pokemon_imgs\Charmander_Back.png","Pokemon_imgs\Charmander_Front.png"),"Bulbasaur":("Pokemon_imgs\Bulbasaur_Back.png","Pokemon_imgs\Bulbasaur_Front.png"),"Squirtle":("Pokemon_imgs\Squirtle_Back.png","Pokemon_imgs\Squirtle_Front.png"),"Pidgey":("Pokemon_imgs\Pidgey_Back.png","Pokemon_imgs\Pidgey_Front.png"),"Rattata":("Pokemon_imgs\Rattata_Back.png","Pokemon_imgs\Rattata_Front.png"),"Spearow":("Pokemon_imgs\Spearow_Back.png","Pokemon_imgs\Spearow_Front.png"),"NidoranF":(r"Pokemon_imgs\NidoranF_Back.png",r"Pokemon_imgs\NidoranF_Front.png"),"NidoranM":(r"Pokemon_imgs\NidoranM_Back.png",r"Pokemon_imgs\NidoranM_Front.png"),"Caterpie":("Pokemon_imgs\Caterpie_Back.png","Pokemon_imgs\Caterpie_Front.png"),"Metapod":("Pokemon_imgs\Metapod_Back.png","Pokemon_imgs\Metapod_Front.png"),"Butterfree":("Pokemon_imgs\Butterfree_Back.png","Pokemon_imgs\Butterfree_Front.png"),"Weedle":("Pokemon_imgs\Weedle_Back.png","Pokemon_imgs\Weedle_Front.png"),"Kakuna":("Pokemon_imgs\Kakuna_Back.png","Pokemon_imgs\Kakuna_Front.png"),"Beedrill":("Pokemon_imgs\Beedrill_Back.png","Pokemon_imgs\Beedrill_Front.png"),"Pikachu":("Pokemon_imgs\Pikachu_Back.png","Pokemon_imgs\Pikachu_Front.png"),
"Diglett": ("Pokemon_imgs\Diglett_Back.png","Pokemon_imgs\Diglett_Front.png"),"Sandshrew":("Pokemon_imgs\Sandshrew_Back.png","Pokemon_imgs\Sandshrew_Front.png"),"Geodude":("Pokemon_imgs\Geodude_Back.png","Pokemon_imgs\Geodude_Front.png"),"Onix":("Pokemon_imgs\Onix_Back.png","Pokemon_imgs\Onix_Front.png"),"Ekans":(r"Pokemon_imgs\Ekans_Back.png",r"Pokemon_imgs\Ekans_Front.png"),"Jigglypuff":("Pokemon_imgs\Jigglypuff_Back.png","Pokemon_imgs\Jigglypuff_Front.png"),"Zubat":("Pokemon_imgs\Zubat_Back.png","Pokemon_imgs\Zubat_Front.png"),"Paras":("Pokemon_imgs\Paras_Back.png","Pokemon_imgs\Paras_Front.png"),"Clefairy":("Pokemon_imgs\Clefairy_Back.png","Pokemon_imgs\Clefairy_Front.png"),"Magnemite":("Pokemon_imgs\Magnemite_Back.png","Pokemon_imgs\Magnemite_Front.png"),"Voltorb":("Pokemon_imgs\Voltorb_Back.png","Pokemon_imgs\Voltorb_Front.png"),"Oddish":("Pokemon_imgs\Oddish_Back.png","Pokemon_imgs\Oddish_Front.png"),"Bellsprout":("Pokemon_imgs\Bellsprout_Back.png","Pokemon_imgs\Bellsprout_Front.png"),"Ivysaur":("Pokemon_imgs\Ivysaur_Back.png","Pokemon_imgs\Ivysaur_Front.png"),"Wartortle":("Pokemon_imgs\Wartortle_Back.png","Pokemon_imgs\Wartortle_Front.png"),"Charmeleon":("Pokemon_imgs\Charmeleon_Back.png","Pokemon_imgs\Charmeleon_Front.png"),
"Nidorino":(r"Pokemon_imgs\Nidorino_Back.png",r"Pokemon_imgs\Nidorino_Front.png"),"Nidorina":(r"Pokemon_imgs\Nidorina_Back.png",r"Pokemon_imgs\Nidorina_Front.png"),"Koffing":("Pokemon_imgs\Koffing_Back.png","Pokemon_imgs\Koffing_Front.png"),"Raticate":("Pokemon_imgs\Raticate_Back.png","Pokemon_imgs\Raticate_Front.png"),"Grimer":("Pokemon_imgs\Grimer_Back.png","Pokemon_imgs\Grimer_Front.png"),"Pidgeotto":("Pokemon_imgs\Pidgeotto_Back.png","Pokemon_imgs\Pidgeotto_Front.png"),"Abra":("Pokemon_imgs\Abra_Back.png","Pokemon_imgs\Abra_Front.png"),"Horsea":("Pokemon_imgs\Horsea_Back.png","Pokemon_imgs\Horsea_Front.png"),"Goldeen":("Pokemon_imgs\Goldeen_Back.png","Pokemon_imgs\Goldeen_Front.png"),"Shellder":("Pokemon_imgs\Shellder_Back.png","Pokemon_imgs\Shellder_Front.png"),"Staryu":("Pokemon_imgs\Staryu_Back.png","Pokemon_imgs\Staryu_Front.png"),"Starmie":("Pokemon_imgs\Starmie_Back.png","Pokemon_imgs\Starmie_Front.png"),"Mankey":("Pokemon_imgs\Mankey_Back.png","Pokemon_imgs\Mankey_Front.png"),"Machop":("Pokemon_imgs\Machop_Back.png","Pokemon_imgs\Machop_Front.png"),"Machop":("Pokemon_imgs\Machop_Back.png","Pokemon_imgs\Machop_Front.png"),"Slowpoke":("Pokemon_imgs\Slowpoke_Back.png","Pokemon_imgs\Slowpoke_Front.png"),"Drowzee":("Pokemon_imgs\Drowzee_Back.png","Pokemon_imgs\Drowzee_Front.png"),
"Meowth":("Pokemon_imgs\Meowth_Back.png","Pokemon_imgs\Meowth_Front.png"),"Magikarp":("Pokemon_imgs\Magikarp_Back.png","Pokemon_imgs\Magikarp_Front.png"),"Farfetch'd":("Pokemon_imgs\Farfetch'd_Back.png","Pokemon_imgs\Farfetch'd_Front.png"),"Growlithe":("Pokemon_imgs\Growlithe_Back.png","Pokemon_imgs\Growlithe_Front.png"),"Tentacool":("Pokemon_imgs\Tentacool_Back.png","Pokemon_imgs\Tentacool_Front.png"),"Ponyta":("Pokemon_imgs\Ponyta_Back.png","Pokemon_imgs\Ponyta_Front.png"),"Kadabra":("Pokemon_imgs\Kadabra_Back.png","Pokemon_imgs\Kadabra_Front.png"),"Raichu":("Pokemon_imgs\Raichu_Back.png","Pokemon_imgs\Raichu_Front.png"),"Dugtrio":("Pokemon_imgs\Dugtrio_Back.png","Pokemon_imgs\Dugtrio_Front.png"),"Poliwag":("Pokemon_imgs\Poliwag_Back.png","Pokemon_imgs\Poliwag_Front.png"),"Vulpix":("Pokemon_imgs\Vulpix_Back.png","Pokemon_imgs\Vulpix_Front.png"),"Magneton":("Pokemon_imgs\Magneton_Back.png","Pokemon_imgs\Magneton_Front.png"),"Venonat":("Pokemon_imgs\Venonat_Back.png","Pokemon_imgs\Venonat_Front.png"),"Mr. Mime":("Pokemon_imgs\Mr.Mime_Back.png","Pokemon_imgs\Mr.Mime_Front.png"),"Poliwhirl":("Pokemon_imgs\Poliwhirl_Back.png","Pokemon_imgs\Poliwhirl_Front.png"),"Jynx":("Pokemon_imgs\Jynx_Back.png","Pokemon_imgs\Jynx_Front.png"),"Cubone":("Pokemon_imgs\Cubone_Back.png","Pokemon_imgs\Cubone_Front.png"),
"Graveler":("Pokemon_imgs\Graveler_Back.png","Pokemon_imgs\Graveler_Front.png"),"Fearow":("Pokemon_imgs\Fearow_Back.png","Pokemon_imgs\Fearow_Front.png"),"Arbok":("Pokemon_imgs\Arbok_Back.png","Pokemon_imgs\Arbok_Front.png"),"Sandslash":("Pokemon_imgs\Sandslash_Back.png","Pokemon_imgs\Sandslash_Front.png"),"Golbat":("Pokemon_imgs\Golbat_Back.png","Pokemon_imgs\Golbat_Front.png"),"Weepinbell":("Pokemon_imgs\Weepinbell_Back.png","Pokemon_imgs\Weepinbell_Front.png"),"Gloom":("Pokemon_imgs\Gloom_Back.png","Pokemon_imgs\Gloom_Front.png"),"Parasect":("Pokemon_imgs\Parasect_Back.png","Pokemon_imgs\Parasect_Front.png"),"Hypno":("Pokemon_imgs\Hypno_Back.png","Pokemon_imgs\Hypno_Front.png"),"Muk":("Pokemon_imgs\Muk_Back.png","Pokemon_imgs\Muk_Front.png"),"Pinsir":("Pokemon_imgs\Pinsir_Back.png","Pokemon_imgs\Pinsir_Front.png"),"Dratini":("Pokemon_imgs\Dratini_Back.png","Pokemon_imgs\Dratini_Front.png"),"Porygon":("Pokemon_imgs\Porygon_Back.png","Pokemon_imgs\Porygon_Front.png"),"Eevee":(r"Pokemon_imgs\Eevee_Back.png",r"Pokemon_imgs\Eevee_Front.png"),"Vaporeon":("Pokemon_imgs\Vaporeon_Back.png","Pokemon_imgs\Vaporeon_Front.png"),"Jolteon":("Pokemon_imgs\Jolteon_Back.png","Pokemon_imgs\Jolteon_Front.png"),"Flareon":("Pokemon_imgs\Flareon_Back.png","Pokemon_imgs\Flareon_Front.png"),"Gyarados":("Pokemon_imgs\Gyarados_Back.png","Pokemon_imgs\Gyarados_Front.png"),
"Vileplume":("Pokemon_imgs\Vileplume_Back.png","Pokemon_imgs\Vileplume_Front.png"),"Exeggcute":(r"Pokemon_imgs\Exeggcute_Back.png",r"Pokemon_imgs\Exeggcute_Front.png"),"Tangela":("Pokemon_imgs\Tangela_Back.png","Pokemon_imgs\Tangela_Front.png"),"Victreebel":("Pokemon_imgs\Victreebel_Back.png","Pokemon_imgs\Victreebel_Front.png"),"Nidoking":(r"Pokemon_imgs\Nidoking_Back.png",r"Pokemon_imgs\Nidoking_Front.png"),"Nidoqueen":(r"Pokemon_imgs\Nidoqueen_Back.png",r"Pokemon_imgs\Nidoqueen_Front.png"),"Clefable":("Pokemon_imgs\Clefable_Back.png","Pokemon_imgs\Clefable_Front.png"),"Wigglytuff":("Pokemon_imgs\Wigglytuff_Back.png","Pokemon_imgs\Wigglytuff_Front.png"),"Ninetales":(r"Pokemon_imgs\Ninetales_Back.png",r"Pokemon_imgs\Ninetales_Front.png"),"Arcanine":(r"Pokemon_imgs\Arcanine_Back.png",r"Pokemon_imgs\Arcanine_Front.png"),"Poliwrath":(r"Pokemon_imgs\Poliwrath_Back.png",r"Pokemon_imgs\Poliwrath_Front.png"),"Cloyster":(r"Pokemon_imgs\Cloyster_Back.png",r"Pokemon_imgs\Cloyster_Front.png"),"Exeggutor":(r"Pokemon_imgs\Exeggutor_Back.png",r"Pokemon_imgs\Exeggutor_Front.png"),"Kangaskhan":("Pokemon_imgs\Kangaskhan_Back.png","Pokemon_imgs\Kangaskhan_Front.png"),"Rhyhorn":("Pokemon_imgs\Rhyhorn_Back.png","Pokemon_imgs\Rhyhorn_Front.png"),"Gastly":("Pokemon_imgs\Gastly_Back.png","Pokemon_imgs\Gastly_Front.png"),"Haunter":("Pokemon_imgs\Haunter_Back.png","Pokemon_imgs\Haunter_Front.png"),
"Dodrio":("Pokemon_imgs\Dodrio_Back.png","Pokemon_imgs\Dodrio_Front.png"),"Weezing":("Pokemon_imgs\Weezing_Back.png","Pokemon_imgs\Weezing_Front.png"),"Doduo":("Pokemon_imgs\Doduo_Back.png","Pokemon_imgs\Doduo_Front.png"),"Marowak":("Pokemon_imgs\Marowak_Back.png","Pokemon_imgs\Marowak_Front.png"),"Machoke":("Pokemon_imgs\Machoke_Back.png","Pokemon_imgs\Machoke_Front.png"),"Primeape":("Pokemon_imgs\Primeape_Back.png","Pokemon_imgs\Primeape_Front.png"),"Snorlax":("Pokemon_imgs\Snorlax_Back.png","Pokemon_imgs\Snorlax_Front.png"),"Lickitung":("Pokemon_imgs\Lickitung_Back.png","Pokemon_imgs\Lickitung_Front.png"),"Chansey":("Pokemon_imgs\Chansey_Back.png","Pokemon_imgs\Chansey_Front.png"),"Hitmonlee":("Pokemon_imgs\Hitmonlee_Back.png","Pokemon_imgs\Hitmonlee_Front.png"),"Tauros":("Pokemon_imgs\Tauros_Back.png","Pokemon_imgs\Tauros_Front.png"),"Venomoth":("Pokemon_imgs\Venomoth_Back.png","Pokemon_imgs\Venomoth_Front.png"),"Venusaur":("Pokemon_imgs\Venusaur_Back.png","Pokemon_imgs\Venusaur_Front.png"),"Blastoise":("Pokemon_imgs\Blastoise_Back.png","Pokemon_imgs\Blastoise_Front.png"),"Charizard":("Pokemon_imgs\Charizard_Back.png","Pokemon_imgs\Charizard_Front.png"),"Golem":("Pokemon_imgs\Golem_Back.png","Pokemon_imgs\Golem_Front.png"),"Pidgeot":("Pokemon_imgs\Pidgeot_Back.png","Pokemon_imgs\Pidgeot_Front.png"),"Electrode":("Pokemon_imgs\Electrode_Back.png","Pokemon_imgs\Electrode_Front.png"),
"Seadra":("Pokemon_imgs\Seadra_Back.png","Pokemon_imgs\Seadra_Front.png"),"Seaking":("Pokemon_imgs\Seaking_Back.png","Pokemon_imgs\Seaking_Front.png"),"Alakazam":("Pokemon_imgs\Alakazam_Back.png","Pokemon_imgs\Alakazam_Front.png"),"Tentacruel":("Pokemon_imgs\Tentacruel_Back.png","Pokemon_imgs\Tentacruel_Front.png"),"Persian":("Pokemon_imgs\Persian_Back.png","Pokemon_imgs\Persian_Front.png"),"Machamp":("Pokemon_imgs\Machamp_Back.png","Pokemon_imgs\Machamp_Front.png"),"Dragonair":("Pokemon_imgs\Dragonair_Back.png","Pokemon_imgs\Dragonair_Front.png"),"Gengar":("Pokemon_imgs\Gengar_Back.png","Pokemon_imgs\Gengar_Front.png"),"Hitmonchan":("Pokemon_imgs\Hitmonchan_Back.png","Pokemon_imgs\Hitmonchan_Front.png"),"Lapras":("Pokemon_imgs\Lapras_Back.png","Pokemon_imgs\Lapras_Front.png"),"Ditto":("Pokemon_imgs\Ditto_Back.png","Pokemon_imgs\Ditto_Front.png"),"Krabby":("Pokemon_imgs\Krabby_Back.png","Pokemon_imgs\Krabby_Front.png"),"Kingler":("Pokemon_imgs\Kingler_Back.png","Pokemon_imgs\Kingler_Front.png"),"Slowbro":("Pokemon_imgs\Slowbro_Back.png","Pokemon_imgs\Slowbro_Front.png"),"Psyduck":("Pokemon_imgs\Psyduck_Back.png","Pokemon_imgs\Psyduck_Front.png"),"Golduck":("Pokemon_imgs\Golduck_Back.png","Pokemon_imgs\Golduck_Front.png"),"Seel":("Pokemon_imgs\Seel_Back.png","Pokemon_imgs\Seel_Front.png"),"Dewgong":("Pokemon_imgs\Dewgong_Back.png","Pokemon_imgs\Dewgong_Front.png"),
"Omanyte":("Pokemon_imgs\Omanyte_Back.png","Pokemon_imgs\Omanyte_Front.png"),"Kabuto":("Pokemon_imgs\Kabuto_Back.png","Pokemon_imgs\Kabuto_Front.png"),"Aerodactyl":("Pokemon_imgs\Aerodactyl_Back.png","Pokemon_imgs\Aerodactyl_Front.png"),"Rapidash":("Pokemon_imgs\Rapidash_Back.png","Pokemon_imgs\Rapidash_Front.png"),"Magmar":("Pokemon_imgs\Magmar_Back.png","Pokemon_imgs\Magmar_Front.png"),"Electabuzz":("Pokemon_imgs\Electabuzz_Back.png","Pokemon_imgs\Electabuzz_Front.png"),"Rhydon":("Pokemon_imgs\Rhydon_Back.png","Pokemon_imgs\Rhydon_Front.png"),"Omastar":("Pokemon_imgs\Omastar_Back.png","Pokemon_imgs\Omastar_Front.png"),"Kabutops":("Pokemon_imgs\Kabutops_Back.png","Pokemon_imgs\Kabutops_Front.png"),"Dragonite":("Pokemon_imgs\Dragonite_Back.png","Pokemon_imgs\Dragonite_Front.png"),"Moltres":("Pokemon_imgs\Moltres_Back.png","Pokemon_imgs\Moltres_Front.png"),"Zapdos":("Pokemon_imgs\Zapdos_Back.png","Pokemon_imgs\Zapdos_Front.png"),"Articuno":("Pokemon_imgs\Articuno_Back.png","Pokemon_imgs\Articuno_Front.png"),"Scyther":("Pokemon_imgs\Scyther_Back.png","Pokemon_imgs\Scyther_Front.png"),"Mewtwo":("Pokemon_imgs\Mewtwo_Back.png","Pokemon_imgs\Mewtwo_Front.png"),"Mew":("Pokemon_imgs\Mew_Back.png","Pokemon_imgs\Mew_Front.png")}
Pokemon_BaseStats = {"Bulbasaur":(45,49,49,45,65),"Ivysaur":(60,62,63,60,80),"Charmander":(39,52,43,65,50),"Charmeleon":(58,64,58,80,65),"Squirtle":(44,48,65,43,50),"Wartortle":(59,63,80,58,65),"Pidgey":(40,45,40,56,35),"Rattata":(30,56,35,72,25),"Spearow":(40,60,30,70,31),"NidoranF":(55,47,52,41,40),"NidoranM":(45,57,40,50,40),"Caterpie":(45,30,35,45,20),"Metapod":(50,20,55,30,25),"Butterfree":(60,45,50,70,80),"Weedle":(40,35,30,50,20),"Kakuna":(45,25,50,35,25),"Beedrill":(65,80,40,75,45),"Pikachu":(35,55,30,90,50),"Diglett":(10,55,25,95,45),"Sandshrew":(50,75,85,40,30),"Geodude":(40,80,100,20,30),"Onix":(35,45,160,70,30),"Ekans":(35,60,44,55,40),"Jigglypuff":(115,45,20,20,25),"Zubat":(40,45,35,55,40),"Paras":(35,70,55,25,55),"Clefairy":(70,45,48,35,60),"Magnemite":(25,35,70,45,95),"Voltorb":(40,30,50,100,55),"Oddish":(45,50,55,30,75),"Bellsprout":(50,75,35,40,70),"Nidorino":(61,72,57,65,55),"Nidorina":(70,62,67,56,55),"Koffing":(40,65,95,35,60),"Raticate":(55,81,60,97,50),"Grimer":(80,80,50,25,40),"Pidgeotto":(63,60,55,71,50),"Abra":(25,20,15,90,105),"Horsea":(30,40,70,60,70),"Goldeen":(45,67,60,63,50),"Shellder":(30,65,100,40,45),"Staryu":(30,45,55,85,70),"Starmie":(60,75,85,115,100),"Mankey":(40,80,35,70,35),"Machop":(70,80,50,35,35),"Slowpoke":(90,65,65,15,40),"Drowzee":(60,48,45,42,90),
"Meowth":(40,45,35,90,40),"Magikarp":(20,10,55,80,20),"Farfetch'd":(52,65,55,60,58),"Growlithe":(55,70,45,60,50),"Tentacool":(40,40,35,70,100),"Ponyta":(50,85,55,90,65),"Kadabra":(40,35,30,105,120),"Raichu":(60,90,55,100,90),"Dugtrio":(35,80,50,120,70),"Poliwag":(40,50,40,90,40),"Vulpix":(38,41,40,65,65),"Magneton":(50,60,95,70,120),"Venonat":(60,55,50,45,40),"Mr. Mime":(40,45,65,90,100),"Poliwhirl":(65,65,65,90,50),"Jynx":(65,50,35,95,95),"Cubone":(50,50,95,35,40),"Graveler":(55,95,115,35,45),"Fearow":(65,90,65,100,61),"Arbok":(60,85,69,80,65),"Sandslash":(75,100,110,65,55),"Golbat":(75,80,70,90,75),"Weepinbell":(65,90,50,55,85),"Gloom":(60,65,70,40,85),"Parasect":(60,95,80,30,80),"Hypno":(85,73,70,67,115),"Muk":(105,105,75,50,65),"Pinsir":(65,125,100,85,55),"Dratini":(41,64,45,50,50),"Porygon":(65,60,70,40,75),"Eevee":(55,55,50,55,65),"Vaporeon":(130,65,60,65,110),"Jolteon":(65,65,60,130,110),"Flareon":(65,130,60,65,110),"Gyarados":(95,125,79,81,100),"Vileplume":(75,80,85,50,100),"Exeggcute":(60,40,80,40,60),"Tangela":(65,55,115,60,100),"Victreebel":(80,105,65,70,100),"Nidoking":(81,92,77,85,75),"Nidoqueen":(90,82,87,76,75),"Clefable":(95,70,73,60,85),"Wigglytuff":(140,70,45,45,50),"Ninetales":(73,76,75,100,100),"Arcanine":(90,110,80,95,80),"Poliwrath":(90,85,95,70,70),
"Cloyster":(50,95,180,70,85),"Exeggutor":(95,95,85,55,125),"Kangaskhan":(105,95,80,90,40),"Rhyhorn":(80,85,95,25,30),"Gastly":(30,35,30,80,100),"Haunter":(45,50,45,95,115),"Dodrio":(60,110,70,100,60),"Weezing":(65,90,120,60,85),"Doduo":(35,85,45,75,35),"Marowak":(60,80,110,45,50),"Machoke":(80,100,70,45,50),"Primeape":(65,105,60,95,60),"Snorlax":(160,110,65,30,65),"Lickitung":(90,55,75,30,60),"Chansey":(250,5,5,50,105),"Hitmonlee":(50,120,53,87,35),"Tauros":(75,100,95,110,70),"Venomoth":(70,65,60,90,90),"Venusaur":(80,82,83,80,100),"Blastoise":(79,83,100,78,85),"Charizard":(78,84,78,100,85),"Golem":(80,110,130,45,55),"Pidgeot":(83,80,75,91,70),"Electrode":(60,50,70,140,80),"Seadra":(55,65,95,85,95),"Seaking":(80,92,65,68,80),"Alakazam":(55,50,45,120,135),"Tentacruel":(80,70,65,100,120),"Persian":(65,70,60,115,65),"Machamp":(90,130,80,55,65),"Dragonair":(61,84,65,70,70),"Gengar":(60,65,60,110,130),"Hitmonchan":(50,105,79,76,35),"Lapras":(130,85,80,60,95),"Ditto":(48,48,48,48,48),"Krabby":(30,105,90,50,25),"Kingler":(55,130,115,75,50),"Slowbro":(95,75,110,30,80),"Psyduck":(50,52,48,55,50),"Golduck":(80,82,78,85,80),"Seel":(65,45,55,45,70),"Dewgong":(90,70,80,70,95),"Omanyte":(35,40,100,35,90),"Kabuto":(30,80,90,55,45),"Aerodactyl":(80,105,65,130,60),"Rapidash":(65,100,70,105,80),
"Magmar":(65,95,57,93,85),"Electabuzz":(65,83,57,105,85),"Rhydon":(105,130,120,40,45),"Omastar":(70,60,125,55,115),"Kabutops":(60,115,105,80,70),"Dragonite":(91,134,95,80,100),"Moltres":(90,100,90,90,125),"Zapdos":(90,90,85,100,125),"Articuno":(90,85,100,85,125),"Scyther":(70,110,80,105,55),"Mewtwo":(106,110,90,130,154),"Mew":(100,100,100,100,100)}
Pokemon_Types = {"Bulbasaur":["Grass","Poison"],"Ivysaur":["Grass","Poison"],"Charmander":["Fire",""],"Charmeleon":["Fire",""],"Squirtle":["Water",""],"Wartortle":["Water",""],"Pidgey":["Normal","Flying"],"Rattata":["Normal",""],"Spearow":["Normal","Flying"],"NidoranF":["Poison",""],"NidoranM":["Poison",""],"Caterpie":["Bug",""],"Metapod":["Bug",""],"Butterfree":["Bug","Flying"],"Weedle":["Bug","Poison"],"Kakuna":["Bug","Poison"],"Beedrill":["Bug","Poison"],"Pikachu":["Electric",""],"Diglett":["Ground",''],"Sandshrew":["Ground",''],"Geodude":["Rock","Ground"],"Onix":["Rock","Ground"],"Ekans":["Poison",""],"Jigglypuff":["Normal",""],"Zubat":["Poison","Flying"],"Paras":["Bug","Grass"],"Clefairy":["Noraml",''],"Magnemite":["Electric",""],"Voltorb":["Electric",""],"Oddish":["Grass","Poison"],"Bellsprout":["Grass","Poison"],"Nidorino":["Poison",""],"Nidorina":["Poison",""],"Koffing":["Poison",""],"Raticate":["Normal",""],"Grimer":["Poison",""],"Pidgeotto":["Normal","Flying"],"Abra":["Psychic",""],"Horsea":["Water",""],"Goldeen":["Water",""],"Shellder":["Water",""],"Staryu":["Water",""],"Starmie":["Water","Psychic"],"Mankey":["Fighting",""],"Machop":["Fighting",""],"Slowpoke":["Water","Psychic"],"Drowzee":["Psychic",""],"Meowth":["Normal",""],"Magikarp":["Water",""],"Farfetch'd":["Normal","Flying"],
"Growlithe":["Fire",""],"Tentacool":["Water","Poison"],"Ponyta":["Fire",""],"Kadabra":["Psychic",""],"Raichu":["Electric",""],"Dugtrio":["Ground",""],"Poliwag":["Water",""],"Vulpix":["Fire",""],"Magneton":["Electric",""],"Venonat":["Bug","Poison"],"Mr. Mime":["Psychic",""],"Poliwhirl":["Water",""],"Jynx":["Ice","Psychic"],"Cubone":["Ground",""],"Graveler":["Rock","Ground"],"Fearow":["Normal","Flying"],"Arbok":["Poison",""],"Sandslash":["Ground",""],"Golbat":["Poison","Flying"],"Weepinbell":["Grass","Poison"],"Gloom":["Grass","Poison"],"Parasect":["Bug","Grass"],"Hypno":["Psychic",""],"Muk":["Poison",""],"Pinsir":["Bug",""],"Dratini":["Dragon",""],"Porygon":["Normal",""],"Eevee":["Normal",""],"Vaporeon":["Water",""],"Jolteon":["Electric",""],"Flareon":["Fire",""],"Gyarados":["Water","Flying"],"Vileplume":["Grass","Poison"],"Exeggcute":["Grass","Psychic"],"Tangela":["Grass",""],"Victreebel":["Grass","Poison"],"Nidoking":["Poison","Ground"],"Nidoqueen":["Poison","Ground"],"Clefable":["Normal",""],"Wigglytuff":["Normal",""],"Ninetales":["Fire",""],"Arcanine":["Fire",""],"Poliwrath":["Water","Fighting"],"Cloyster":["Water","Ice"],"Exeggutor":["Grass","Psychic"],"Kangaskhan":["Normal",""],"Rhyhorn":["Ground","Rock"],"Gastly":["Ghost","Poison"],"Haunter":["Ghost",""],"Dodrio":["Normal","Flying"],
"Doduo":["Normal","Flying"],"Weezing":["Poison",""],"Marowak":["Ground",""],"Machoke":["Fighting",""],"Primeape":["Fighting",""],"Snorlax":["Normal",""],"Lickitung":["Normal",""],"Chansey":["Normal",""],"Hitmonlee":["Fighting",""],"Tauros":["Normal",""],"Venomoth":["Bug","Poison"],"Venusaur":["Grass","Poison"],"Blastoise":["Water",""],"Charizard":["Fire","Flying"],"Golem":["Rock","Ground"],"Pidgeot":["Normal","Flying"],"Electrode":["Electric",""],"Seadra":["Water",""],"Seaking":["Water",""],"Alakazam":["Psychic",""],"Tentacruel":["Water","Poison"],"Persian":["Normal",""],"Machamp":["Fighting",""],"Dragonair":["Dragon",""],"Gengar":["Ghost","Poison"],"Hitmonchan":["Fighting",""],"Lapras":["Water","Ice"],"Ditto":["Normal",""],"Krabby":["Water",""],"Kingler":["Water",""],"Slowbro":["Water","Psychic"],"Psyduck":["Water",""],"Golduck":["Water",""],"Seel":["Water",""],"Dewgong":["Water","Ice"],"Omanyte":["Rock","Water"],"Kabuto":["Rock","Water"],"Aerodactyl":["Rock","Flying"],"Rapidash":["Fire",""],"Magmar":["Fire",""],"Electabuzz":["Electric",""],"Rhydon":["Ground","Rock"],"Omastar":["Water","Rock"],"Kabutops":["Water","Rock"],"Dragonite":["Dragon","Flying"],"Moltres":["Fire","Flying"],"Zapdos":["Electric","Flying"],"Articuno":["Ice","Flying"],"Scyther":["Bug","Flying"],"Mewtwo":["Psychic",""],"Mew":["Psychic",""]}
Pokemon_EXPGroups = {"Bulbasaur":"Medium Slow","Ivysaur":"Medium Slow","Charmander":"Medium Slow","Charmeleon":"Medium Slow","Squirtle":"Medium Slow","Wartortle":"Medium Slow","Pidgey":"Medium Slow","Rattata":"Medium Fast","Spearow":"Medium Fast","NidoranF":"Medium Slow","NidoranM":"Medium Slow","Caterpie":"Medium Fast","Metapod":"Medium Fast","Butterfree":"Medium Fast","Weedle":"Medium Fast","Kakuna":"Medium Fast","Beedrill":"Medium Fast","Pikachu":"Medium Fast","Diglett":"Medium Fast","Sandshrew":"Medium Fast","Geodude":"Medium Slow","Onix":"Medium Fast","Ekans":"Medium Fast","Jigglypuff":"Fast","Zubat":"Medium Fast","Paras":"Medium Fast","Clefairy":"Fast","Magnemite":"Medium Fast","Voltorb":"Medium Fast","Oddish":"Medium Slow","Bellsprout":"Medium Slow","Nidorino":"Medium Slow","Nidorina":"Medium Slow","Koffing":"Medium Fast","Raticate":"Medium Fast","Grimer":"Medium Fast","Pidgeotto":"Medium Slow","Abra":"Medium Slow","Horsea":"Medium Fast","Goldeen":"Medium Fast","Shellder":"Slow","Staryu":"Slow","Starmie":"Slow","Mankey":"Medium Fast","Machop":"Medium Slow","Slowpoke":"Medium Fast","Drowzee":"Medium Fast","Meowth":"Medium Fast","Magikarp":"Slow","Farfetch'd":"Medium Fast","Growlithe":"Slow","Tentacool":"Slow","Ponyta":"Medium Fast","Kadabra":"Medium Slow","Raichu":"Medium Fast","Dugtrio":"Medium Fast","Poliwag":"Medium Slow","Vulpix":"Medium Fast","Magneton":"Medium Fast","Venonat":"Medium Fast","Mr. Mime":"Medium Fast","Poliwhirl":"Medium Slow","Jynx":"Medium Fast",
"Cubone":"Medium Fast","Graveler":"Medium Slow","Fearow":"Medium Fast","Arbok":"Medium Fast","Sandslash":"Medium Fast","Golbat":"Medium Fast","Weepinbell":"Medium Slow","Gloom":"Medium Slow","Parasect":"Medium Fast","Hypno":"Medium Fast","Muk":"Medium Fast","Pinsir":"Slow","Dratini":"Slow","Porygon":"Medium Fast","Eevee":"Medium Fast","Vaporeon":"Medium Fast","Jolteon":"Medium Fast","Flareon":"Medium Fast","Gyarados":"Slow","Vileplume":"Medium Slow","Exeggcute":"Slow","Tangela":"Medium Fast","Victreebel":"Medium Slow","Nidoqueen":"Medium Slow","Nidoking":"Medium Slow","Clefable":"Fast","Wigglytuff":"Fast","Ninetales":"Medium Fast","Arcanine":"Slow","Poliwrath":"Medium Slow","Cloyster":"Slow","Exeggutor":"Slow","Kangaskhan":"Medium Fast","Rhyhorn":"Slow","Gastly":"Medium Slow","Haunter":"Medium Slow","Doduo":"Medium Fast","Dodrio":"Medium Fast","Marowak":"Medium Fast","Machoke":"Medium Slow","Primeape":"Medium Fast","Snorlax":"Slow","Lickitung":"Medium Fast","Chansey":"Fast","Weezing":"Medium Fast","Hitmonlee":"Medium Fast","Tauros":"Slow","Venomoth":"Medium Fast","Venusaur":"Medium Slow","Blastoise":"Medium Slow","Charizard":"Medium Slow","Golem":"Medium Slow","Pidgeot":"Medium Slow","Electrode":"Medium Fast","Seadra":"Medium Fast","Seaking":"Medium Fast","Alakazam":"Medium Slow","Tentacruel":"Slow","Persian":"Medium Fast","Machamp":"Medium Slow","Dragonair":"Slow","Gengar":"Medium Slow","Hitmonchan":"Medium Fast","Lapras":"Slow","Ditto":"Medium Fast",
"Krabby":"Medium Fast","Kingler":"Medium Fast","Slowbro":"Medium Fast","Psyduck":"Medium Fast","Golduck":"Medium Fast","Seel":"Medium Fast","Dewgong":"Medium Fast","Omanyte":"Medium Fast","Kabuto":"Medium Fast","Aerodactyl":"Slow","Rapidash":"Medium Fast","Magmar":"Medium Fast","Electabuzz":"Medium Fast","Rhydon":"Slow","Omastar":"Medium Fast","Kabutops":"Medium Fast","Dragonite":"Slow","Moltres":"Slow","Zapdos":"Slow","Articuno":"Slow","Scyther":"Medium Fast","Mewtwo":"Slow","Mew":"Medium Slow"}
Pokemon_Move_PP = {"Tackle":35,"Tail Whip":30,"Growl":40,"Scratch":35,"Gust":35,"Quick Attack":30,"Sand Attack":15,"-":"--","Leech Seed":10,"Bubble":30,"Ember":25,"Peck":35,"Leer":30,"String Shot":40,"Harden":30,"Confusion":25,"Poison Sting":35,"ThunderShock":30,"Thunder Wave":20,"Horn Attack":25,"Fury Attack":20,"Defense Curl":40,"Screech":40,"Bide":10,"Wrap":20,"Pound":35,"Sing":15,"Disable":20,"Leech Life":15,"Supersonic":20,"Poison Powder":35,"Stun Spore":30,"Absorb":20,"Vine Whip":10,"Growth":40,"Water Gun":25,"Hyper Fang":15,"Focus Energy":30,"Rock Throw":15,"Bind":20,"Bite":25,"Smog":20,"Mega Punch":20,"Whirlwind":20,"Teleport":20,"Withdraw":40,"BubbleBeam":20,"Karate Chop":25,"Seismic Toss":20,"Hypnosis":20,"Dig":10,"Sleep Powder":15,"Splash":40,"Roar":20,"Acid":30,"Low Kick":20,"Body Slam":15,"Rest":5,"Cut":30,"SonicBoom":20,"Thunderbolt":15,"Flash":20,"Slash":20,"Selfdestruct":5,"Pay Day":20,"Barrier":20,"Lovely Kiss":10,"DoubleSlap":10,"Bone Club":20,"Headbutt":15,"Rage":20,"Twineedle":20,"Dream Eater":15,"Mirror Move":20,"Confuse Ray":10,"Swift":20,"Minimize":20,"Clamp":10,"Fury Swipes":15,"Swords Dance":30,"Light Screen":30,"Lick":30,"Poison Gas":40,"ViceGrip":30,"Sharpen":30,"Conversion":30,"Psybeam":20,"Agility":30,"Dragon Rage":10,"Hyper Beam":5,"Substitute":10,"Double Team":15,"Reflect":20,"Razor Wind":10,"Horn Drill":5,"Egg Bomb":10,"Mega Kick":5,"Take Down":20,"Submission":20,"Counter":20,"Ice Beam":10,"Rock Slide":10,"Tri Attack":10,"Barrage":20,"Constrict":35,"Thrash":10,"Razor Leaf":25,"Petal Dance":20,"Mega Drain":10,"Double Edge":15,"Comet Punch":15,"Night Shade":15,"Hydro Pump":5,"Amnesia":20,"Stomp":20,"Fly":15,"Sludge":20,"Drill Peck":20,"Surf":15,"Skull Bash":15,"Earthquake":10,"Wing Attack":35,"SmokeScreen":20,"Meditate":40,"Double Kick":30,"Rolling Kick":15,"Psychic":10,"Pin Missile":20,"Slam":20,"Recover":20,"Glare":30,"Toxic":10,"Metronome":10,"Spore":15,"Aurora Beam":20,"Guillotine":5,"Fire Punch":15,"Strength":15,"Mist":30,"Transform":10,"PsyWave":15,"Mimic":10,"Softboiled":10,"SolarBeam":10,"Blizzard":5,"Flamethrower":15,"Fire Blast":5,"Fire Spin":15,"Fissure":5,"Super Fang":10,"Thunder":10,"Haze":30,"Explosion":5,"Acid Armor":40,
"Spike Cannon":15,"Dizzy Punch":10,"Bonemerang":10,"Jump Kick":10,"Hi Jump Kick":10,"Waterfall":15,"Ice Punch":15,"Thunder Punch":15,"Crabhammer":10,"Sky Attack":5}
Pokemon_Move_Type = {"Tackle":"Normal","Tail Whip":"Normal","Growl":"Normal","Scratch":"Normal","Gust":"Normal","Sand Attack":"Normal","-":"--","Leech Seed":"Grass","Bubble":"Water","Ember":"Fire","Peck":"Flying","Leer":"Normal","String Shot":"Bug","Harden":"Normal","Confusion":"Psychic","Poison Sting":"Poison","ThunderShock":"Electric","Thunder Wave":"Electric","Quick Attack":"Normal","Horn Attack":"Normal","Fury Attack":"Normal","Defense Curl":"Normal","Screech":"Normal","Bide":"Normal","Wrap":"Normal","Pound":"Normal","Sing":"Normal","Disable":"Normal","Leech Life":"Bug","Supersonic":"Normal","Poison Powder":"Poison","Stun Spore":"Grass","Absorb":"Grass","Vine Whip":"Grass","Growth":"Normal","Water Gun":"Water","Hyper Fang":"Normal","Focus Energy":"Normal","Rock Throw":"Rock","Bind":"Normal","Bite":"Normal","Smog":"Poison","Mega Punch":"Normal","Whirlwind":"Normal","Teleport":"Psychic","Withdraw":"Water","BubbleBeam":"Water","Karate Chop":"Normal","Seismic Toss":"Fighting","Hypnosis":"Psychic","Dig":"Ground","Sleep Powder":"Grass","Splash":"Normal","Roar":"Normal","Acid":"Poison","Low Kick":"Fighting","Body Slam":"Normal","Rest":"Psychic","Cut":"Normal","SonicBoom":"Normal","Thunderbolt":"Electric","Flash":"Normal","Slash":"Normal","Selfdestruct":"Normal","Pay Day":"Normal","Barrier":"Psychic","Lovely Kiss":"Normal","DoubleSlap":"Normal","Bone Club":"Ground","Headbutt":"Normal","Rage":"Normal","Twineedle":"Bug","Dream Eater":"Psychic","Mirror Move":"Normal","Confuse Ray":"Ghost","Swift":"Normal","Minimize":"Normal","Clamp":"Water","Fury Swipes":"Normal","Swords Dance":"Normal","Light Screen":"Psychic","Lick":"Ghost","Poison Gas":"Poison","ViceGrip":"Normal","Sharpen":"Normal","Conversion":"Normal","Psybeam":"Psychic","Agility":"Psychic","Dragon Rage":"Dragon","Hyper Beam":"Normal","Substitute":"Normal","Double Team":"Normal","Reflect":"Psychic","Razor Wind":"Normal","Horn Drill":"Normal","Egg Bomb":"Normal","Mega Kick":"Normal","Take Down":"Normal","Submission":"Fighting","Counter":"Fighting",
"Ice Beam":"Ice","Rock Slide":"Rock","Tri Attack":"Normal","Barrage":"Normal","Constrict":"Normal","Thrash":"Normal","Razor Leaf":"Grass","Petal Dance":"Grass","Mega Drain":"Grass","Double Edge":"Normal","Comet Punch":"Normal","Night Shade":"Ghost","Hydro Pump":"Water","Amnesia":"Psychic","Stomp":"Normal","Fly":"Flying","Sludge":"Poison","Drill Peck":"Flying","Surf":"Water","Skull Bash":"Normal","Earthquake":"Ground","Wing Attack":"Flying","SmokeScreen":"Normal","Meditate":"Psychic","Double Kick":"Fighting","Rolling Kick":"Fighting","Psychic":"Psychic","Pin Missile":"Bug","Slam":"Normal","Recover":"Normal","Glare":"Normal","Toxic":"Poison","Metronome":"Normal","Spore":"Grass","Aurora Beam":"Ice","Guillotine":"Normal","Fire Punch":"Fire","Strength":"Normal","Mist":"Ice","Transform":"Normal","PsyWave":"Psychic","Mimic":"Normal","Softboiled":"Normal","SolarBeam":"Grass","Blizzard":"Ice","Flamethrower":"Fire","Fire Blast":"Fire","Fire Spin":"Fire","Fissure":"Ground","Super Fang":"Normal","Thunder":"Eletric","Haze":"Ice","Explosion":"Normal","Acid Armor":"Poison","Spike Cannon":"Normal","Dizzy Punch":"Normal","Bonemerang":"Ground","Jump Kick":"Fighting","Hi Jump Kick":"Fighting","Waterfall":"Water","Ice Punch":"Ice","Thunder Punch":"Electric","Crabhammer":"Water","Sky Attack":"Flying"}
Pokemon_Max_Move_PP = {"Tackle":56,"Tail Whip":48,"Growl":64,"Scratch":56,"Gust":56,"Sand Attack":24,"Leech Seed":16,"Bubble":48,"Ember":40,"Peck":56,"Leer":48,"String Shot":64,"Harden":48,"Confusion":40,"Poison Sting":56,"ThunderShock":48,"Thunder Wave":32,"Quick Attack":48,"Horn Attack":40,"Fury Attack":32,"Defense Curl":64,"Screech":64,"Bide":16,"Wrap":32,"Pound":56,"Sing":24,"Disable":32,"Leech Life":21,"Supersonic":32,"Poison Powder":56,"Stun Spore":48,"Absorb":40,"Vine Whip":30,"Growth":52,"Water Gun":40,"Hyper Fang":24,"Focus Energy":48,"Rock Throw":24,"Bind":32,"Bite":40,"Smog":32,"Mega Punch":32,"Whirlwind":32,"Teleport":32,"Withdraw":64,"BubbleBeam":32,"Karate Chop":40,"Seismic Toss":32,"Hypnosis":32,"Dig":16,"Sleep Powder":24,"Splash":64,"Roar":32,"Acid":48,"Low Kick":32,"Body Slam":24,"Rest":8,"Cut":48,"SonicBoom":32,"Thunderbolt":24,"Flash":32,"Slash":32,"Selfdestruct":8,"Pay Day":32,"Barrier":32,"Lovely Kiss":16,"DoubleSlap":16,"Bone Club":32,"Headbutt":24,"Rage":32,"Twineedle":32,"Dream Eater":24,"Mirror Move":32,"Confuse Ray":16,"Swift":32,"Minimize":32,"Clamp":16,"Fury Swipes":24,"Swords Dance":48,"Light Screen":48,"Lick":48,"Poison Gas":64,"ViceGrip":48,"Sharpen":48,"Conversion":48,"Psybeam":32,"Agility":48,"Dragon Rage":16,"Hyper Beam":8,"Substitute":16,"Double Team":24,"Reflect":32,"Razor Wind":16,"Horn Drill":8,"Egg Bomb":16,"Mega Kick":8,"Take Down":32,"Submission":32,"Counter":32,"Ice Beam":16,"Rock Slide":16,"Tri Attack":16,"Barrage":32,"Constrict":56,"Thrash":16,"Razor Leaf":40,"Petal Dance":32,"Mega Drain":16,"Double Edge":24,"Comet Punch":24,"Night Shade":24,"Hydro Pump":8,"Amnesia":32,"Stomp":32,"Fly":24,"Sludge":32,"Drill Peck":32,"Surf":24,"Skull Bash":24,"Earthquake":16,"Wing Attack":56,"SmokeScreen":32,"Meditate":64,"Double Kick":48,"Rolling Kick":24,"Psychic":16,"Pin Missile":32,"Slam":32,"Recover":32,"Glare":48,"Toxic":16,"Metronome":16,"Spore":24,"Aurora Beam":32,"Guillotine":8,"Fire Punch":24,"Strength":24,"Mist":48,"Transform":16,"PsyWave":24,"Mimic":16,"Softboiled":16,"SolarBeam":16,"Blizzard":8,"Flamethrower":24,"Fire Blast":8,"Fire Spin":24,"Fissure":8,"Super Fang":16,"Thunder":16,"Haze":48,"Explosion":8,"Acid Armor":64,
"Spike Cannon":24,"Dizzy Punch":16,"Bonemerang":16,"Jump Kick":16,"Hi Jump Kick":16,"Waterfall":24,"Ice Punch":24,"Thunder Punch":24,"Crabhammer":16,"Sky Attack":8}
Pokemon_EXP = {"Bulbasaur":64,"Charmander":65,"Squirtle":66,"Pidgey":55,"Rattata":57,"Spearow":58,"NidoranF":59,"NidoranM":60,"Caterpie":53,"Metapod":72,"Butterfree":160,"Weedle":52,"Kakuna":71,"Beedrill":159,"Pikachu":82,"Diglett":81,"Sandshrew":93,"Geodude":86,"Onix":108,"Ekans":62,"Jigglypuff":76,"Zubat":54,"Paras":70,"Clefairy":68,"Magnemite":89,"Voltorb":103,"Oddish":78,"Bellsprout":84,"Ivysaur":141,"Wartortle":143,"Charmeleon":142,"Nidorino":118,"Nidorina":117,"Koffing":114,"Raticate":116,"Grimer":90,"Pidgeotto":113,"Abra":73,"Horsea":83,"Goldeen":111,"Shellder":97,"Staryu":106,"Starmie":207,"Mankey":74,"Machop":88,"Slowpoke":99,"Drowzee":102,"Meowth":69,"Magikarp":20,"Farfetch'd":94,"Growlithe":91,"Tentacool":105,"Ponyta":152,"Kadabra":145,"Raichu":122,"Dugtrio":153,"Poliwag":77,"Vulpix":63,"Magneton":161,"Venonat":75,"Mr. Mime":136,"Poliwhirl":131,"Jynx":137,"Cubone":87,"Graveler":134,"Fearow":162,"Arbok":147,"Sandslash":163,"Golbat":171,"Weepinbell":151,"Gloom":132,"Parasect":128,"Hypno":165,"Muk":157,"Pinsir":200,"Dratini":67,"Porygon":130,"Eevee":92,"Vaporeon":196,"Jolteon":197,"Flareon":198,"Gyarados":214,"Vileplume":184,"Exeggcute":98,"Tangela":166,"Victreebel":191,"Nidoking":195,"Nidoqueen":194,"Clefable":129,"Wigglytuff":109,"Ninetales":178,"Arcanine":213,"Poliwrath":185,"Cloyster":203,"Exeggutor":212,"Kangaskhan":175,"Rhyhorn":135,"Gastly":96,"Haunter":126,"Dodrio":158,"Doduo":96,"Marowak":124,"Machoke":146,"Primeape":149,"Snorlax":154,"Lickitung":127,"Chansey":255,"Weezing":173,"Hitmonlee":139,"Tauros":211,"Venomoth":138,"Venusaur":208,"Blastoise":210,"Charizard":209,"Golem":177,"Pidgeot":172,"Electrode":150,"Seadra":155,"Seaking":170,"Alakazam":186,"Tentacruel":205,"Persian":148,"Machamp":198,"Dragonair":144,"Gengar":190,"Hitmonchan":140,"Lapras":219,"Ditto":61,"Krabby":115,"Kingler":206,"Slowbro":164,"Psyduck":80,"Golduck":174,"Seel":100,"Dewgong":176,"Omanyte":120,"Kabuto":119,"Aerodactyl":202,"Rapidash":192,"Magmar":167,"Electabuzz":156,"Rhydon":204,"Omastar":199,"Kabutops":201,"Dragonite":218,"Moltres":217,"Zapdos":216,"Articuno":215,"Scyther":187,"Mewtwo":220,"Mew":64}
Pokemon_Learnsets = {"Bulbasaur":[(1,"Tackle"),(1,"Growl"),(7,"Leech Seed"),(13,"Vine Whip"),(20,"Poison Powder"),(27,"Razor Leaf"),(34,"Growth"),(41,"Sleep Powder"),(48,"SolarBeam")],"Ivysaur":[(22,"Poison Powder"),(30,"Razor Leaf"),(38,"Growth"),(46,"Sleep Powder"),(54,"SolarBeam")],"Squirtle":[(1,"Tackle"),(1,"Tail Whip"),(8,"Bubble"),(15,"Water Gun"),(22,"Bite"),(28,"Withdraw"),(35,"Skull Bash"),(42,"Hydro Pump")],"Wartortle":[(24,"Bite"),(31,"Withdraw"),(39,"Skull Bash"),(47,"Hydro Pump")],"Charmander":[(1,"Scratch"),(1,"Growl"),(9,"Ember"),(15,"Leer"),(22,"Rage"),(30,"Slash"),(38,"Flamethrower"),(46,"Fire Spin")],"Charmeleon":[(24,"Rage"),(33,"Slash"),(42,"Flamethrower"),(56,"Fire Spin")],"Pidgey":[(1,"Gust"),(5,"Sand Attack"),(12,"Quick Attack"),(19,"Whirlwind"),(28,"Wing Attack"),(36,"Agility"),(44,"Mirror Move")],"Rattata":[(1,"Tackle"),(1,"Tail Whip"),(7,"Quick Attack"),(14,"Hyper Fang"),(23,"Focus Energy"),(34,"Super Fang")],"Spearow":[(1,"Peck"),(1,"Growl"),(9,"Leer"),(15,"Fury Attack"),(22,"Mirror Move"),(29,"Drill Peck"),(36,"Agility")],"NidoranF":[(1,"Tackle"),(1,"Growl"),(8,"Scratch"),(14,"Poison Sting"),(21,"Tail Whip"),(29,"Bite"),(36,"Fury Swipes"),(43,"Double Kick")],"NidoranM":[(1,"Tackle"),(1,"Leer"),(8,"Horn Attack"),(14,"Poison Sting"),(21,"Focus Energy"),(29,"Fury Attack"),(36,"Horn Drill"),(43,"Double Kick")],"Caterpie":[(1,"Tackle"),(1,"String Shot")],"Metapod":[(1,"Harden"),(7,"Harden")],"Butterfree":[(10,"Confusion"),(15,"Poison Powder"),(16,"Stun Spore"),(17,"Sleep Powder"),(21,"Supersonic"),(26,"Whirlwind"),(32,"Psybeam")],"Weedle":[(1,"Poison Sting"),(1,"String Shot")],"Kakuna":[(1,"Harden"),(7,"Harden")],"Beedrill":[(12,"Fury Attack"),(16,"Focus Energy"),(20,"Twineedle"),(25,"Rage"),(30,"Pin Missile"),(35,"Agility")],"Pikachu":[(1,"ThunderShock"),(1,"Growl"),(9,"Thunder Wave"),(16,"Quick Attack"),(26,"Swift"),(33,"Agility"),(43,"Thunder")],"Diglett":[(1,"Scratch"),(15,"Growl"),(19,"Dig"),(24,"Sand Attack"),(31,"Slash"),(40,"Earthquake")],"Sandshrew":[(1,"Scratch"),(10,"Sand Attack"),(17,"Slash"),(24,"Poison Sting"),(31,"Swift"),(38,"Fury Swipes")],"Geodude":[(1,"Tackle"),(11,"Defense Curl"),(16,"Rock Throw"),(21,"Selfdestruct"),(26,"Harden"),(31,"Earthquake"),(36,"Explosion")],"Onix":[(1,"Tackle"),(1,"Screech"),(15,"Bind"),(19,"Rock Throw"),(25,"Rage"),(33,"Slam"),(43,"Harden")],"Ekans":[(1,"Wrap"),(1,"Leer"),(10,"Poison Sting"),(17,"Bite"),(24,"Glare"),(31,"Screech"),(38,"Acid")],"Jigglypuff":[(1,"Sing"),(9,"Pound"),(14,"Disable"),(19,"Defense Curl"),(24,"DoubleSlap"),(29,"Rest"),(34,"Body Slam")],"Zubat":[(1,"Leech Life"),(10,"Supersonic"),(15,"Bite"),(21,"Confuse Ray"),(28,"Wing Attack"),(36,"Haze")],"Paras":[(1,"Scratch"),(13,"Stun Spore"),(20,"Leech Life"),(27,"Spore"),(34,"Slash"),(41,"Growth")],"Clefairy":[(1,"Pound"),(1,"Growl"),(13,"Sing"),(18,"DoubleSlap"),(24,"Minimize"),(31,"Metronome"),(48,"Light Screen")],"Magnemite":[(1,"Tackle"),(21,"SonicBoom"),(25,"ThunderShock"),(35,"Thunder Wave"),(41,"Swift"),(47,"Screech")],"Voltorb":[(1,"Tackle"),(1,"Screech"),(17,"SonicBoom"),(22,"Selfdestruct"),(29,"Light Screen"),(36,"Swift"),(43,"Explosion")],
"Oddish":[(1,"Absorb"),(15,"Poison Powder"),(17,"Stun Spore"),(19,"Sleep Powder"),(24,"Acid"),(33,"Petal Dance"),(46,"SolarBeam")],"Bellsprout":[(1,"Vine Whip"),(1,"Growth"),(13,"Wrap"),(15,"Poison Powder"),(18,"Sleep Powder"),(21,"Stun Spore"),(26,"Acid"),(33,"Razor Leaf"),(42,"Slam")],"Nidorino":[(23,"Focus Energy"),(32,"Fury Attack")],"Nidorina":[(23,"Tail Whip"),(32,"Bite")],"Koffing":[(1,"Tackle"),(1,"Smog"),(32,"Sludge"),(37,"SmokeScreen"),(40,"Selfdestruct"),(45,"Haze"),(48,"Explosion")],"Raticate":[(1,"Tackle"),(1,"Tail Whip"),(1,"Quick Attack"),(14,"Hyper Fang"),(27,"Focus Energy"),(41,"Super Fang")],"Grimer":[(1,"Pound"),(1,"Disable"),(30,"Poison Gas"),(33,"Minimize"),(37,"Sludge"),(42,"Harden"),(48,"Screech"),(55,"Acid Armor")],"Pidgeotto":[(21,"Whirlwind"),(31,"Wing Attack"),(40,"Agility"),(49,"Mirror Move")],"Abra":[(1,"Teleport")],"Horsea":[(1,"Bubble"),(19,"SmokeScreen"),(24,"Leer"),(30,"Water Gun"),(37,"Agility"),(45,"Hydro Pump")],"Goldeen":[(1,"Peck"),(1,"Tail Whip"),(19,"Supersonic"),(24,"Horn Attack"),(30,"Fury Attack"),(37,"Waterfall"),(45,"Horn Drill"),(54,"Agility")],"Shellder":[(1,"Tackle"),(1,"Withdraw"),(18,"Supersonic"),(23,"Clamp"),(30,"Aurora Beam"),(39,"Leer"),(50,"Ice Beam")],"Staryu":[(1,"Tackle"),(17,"Water Gun"),(22,"Harden"),(27,"Recover"),(32,"Swift"),(37,"Minimize"),(42,"Light Screen"),(47,"Hydro Pump")],"Starmie":[(1,"Tackle"),(1,"Water Gun"),(1,"Harden")],"Mankey":[(1,"Scratch"),(1,"Leer"),(15,"Karate Chop"),(21,"Fury Swipes"),(27,"Focus Energy"),(33,"Seismic Toss"),(39,"Thrash")],"Machop":[(1,"Karate Chop"),(20,"Low Kick"),(25,"Leer"),(32,"Focus Energy"),(39,"Seismic Toss"),(46,"Submisson")],"Slowpoke":[(1,"Confusion"),(18,"Disable"),(22,"Headbutt"),(27,"Growl"),(33,"Water Gun"),(40,"Amnesia"),(48,"Psychic")],"Drowzee":[(1,"Pound"),(1,"Hypnosis"),(12,"Disable"),(17,"Confusion"),(24,"Headbutt"),(29,"Poison Gas"),(32,"Psychic"),(37,"Meditate")],"Meowth":[(1,"Scratch"),(1,"Growl"),(12,"Bite"),(17,"Pay Day"),(24,"Screech"),(33,"Fury Swipes"),(44,"Slash")],"Magikarp":[(1,"Splash"),(15,"Tackle")],"Farfetch'd":[(1,"Peck"),(1,"Sand Attack"),(7,"Leer"),(15,"Fury Attack"),(23,"Swords Dance"),(31,"Agility"),(39,"Slash")],"Growlithe":[(1,"Bite"),(1,"Roar"),(18,"Ember"),(23,"Leer"),(30,"Take Down"),(39,"Agility"),(50,"Flamethrower")],"Tentacool":[(1,"Acid"),(7,"Supersonic"),(13,"Wrap"),(18,"Poison Sting"),(22,"Water Gun"),(27,"Constrict"),(33,"Barrier"),(40,"Screech"),(48,"Hydro Pump")],
"Ponyta":[(1,"Ember"),(30,"Tail Whip"),(32,"Stomp"),(35,"Growl"),(39,"Fire Spin"),(43,"Take Down"),(48,"Agility")],"Kadabra":[(16,"Confusion"),(20,"Disable"),(27,"Psybeam"),(31,"Recover"),(38,"Psychic"),(42,"Reflect")],"Raichu":[(1,"ThunderShock"),(1,"Growl"),(1,"Thunder Wave")],"Dugtrio":[(1,"Scratch"),(15,"Growl"),(19,"Dig"),(24,"Sand Attack"),(35,"Slash"),(47,"Earthquake")],"Poliwag":[(1,"Bubble"),(16,"Hypnosis"),(19,"Water Gun"),(25,"DoubleSlap"),(31,"Body Slam"),(38,"Amnesia"),(45,"Hydro Pump")],"Vulpix":[(1,"Ember"),(1,"Tail Whip"),(16,"Quick Attack"),(21,"Roar"),(28,"Confuse Ray"),(35,"Flamethrower"),(42,"Fire Spin")],"Magneton":[(21,"SonicBoom"),(25,"ThunderShock"),(29,"Supersonic"),(38,"Thunder Wave"),(46,"Swift"),(54,"Screech")],"Venonat":[(1,"Tackle"),(1,"Disable"),(24,"Poison Powder"),(27,"Leech Life"),(30,"Stun Spore"),(35,"Psybeam"),(38,"Sleep Powder"),(43,"Psychic")],"Mr. Mime":[(1,"Confusion"),(1,"Barrier"),(23,"Light Screen"),(31,"DoubleSlap"),(39,"Meditate"),(47,"Substitute")],"Poliwhirl":[(1,"Bubble"),(16,"Hypnosis"),(19,"Water Gun"),(26,"DoubleSlap"),(33,"Body Slam"),(41,"Amnesia"),(49,"Hydro Pump")],"Jynx":[(1,"Pound"),(1,"Lovely Kiss"),(18,"Lick"),(23,"DoubleSlap"),(31,"Ice Punch"),(39,"Body Slam"),(47,"Thrash"),(58,"Blizzard")],"Cubone":[(1,"Growl"),(1,"Bone Club"),(25,"Leer"),(31,"Focus Energy"),(38,"Thrash"),(43,"Bonemerang"),(46,"Rage")],"Graveler":[(1,"Tackle"),(11,"Defense Curl"),(16,"Rock Throw"),(21,"Selfdestruct"),(29,"Harden"),(36,"Earthquake"),(43,"Explosion")],"Fearow":[(25,"Mirror Move"),(34,"Drill Peck"),(43,"Agility")],"Arbok":[(27,"Glare"),(36,"Screech"),(47,"Acid")],"Sandslash":[(27,"Poison Sting"),(36,"Swift"),(47,"Fury Swipes")],"Golbat":[(32,"Wing Attack"),(43,"Haze")],"Weepinbell":[(23,"Stun Spore"),(29,"Acid"),(38,"Razor Leaf"),(49,"Slam")],"Gloom":[(28,"Acid"),(38,"Petal Dance"),(52,"SolarBeam")],"Parasect":[(1,"Scratch"),(1,"Stun Spore"),(1,"Leech Life"),(30,"Spore"),(39,"Slash"),(48,"Growth")],"Hypno":[(33,"Poison Gas"),(37,"Psychic"),(43,"Meditate")],"Muk":[(30,"Poison Gas"),(33,"Minimize"),(37,"Sludge"),(45,"Harden"),(53,"Screech"),(60,"Acid Armor")],"Pinsir":[(1,"ViceGrip"),(25,"Seismic Toss"),(30,"Guillotine"),(36,"Focus Energy"),(43,"Harden"),(49,"Slash"),(54,"Swords Dance")],"Dratini":[(1,"Wrap"),(1,"Leer"),(10,"Thunder Wave"),(20,"Agility"),(30,"Slam"),(40,"Dragon Rage"),(50,"Hyper Beam")],
"Porygon":[(1,"Tackle"),(1,"Sharpen"),(1,"Conversion"),(23,"Psybeam"),(28,"Recover"),(35,"Agility"),(42,"Tri Attack")],"Eevee":[(1,"Tackle"),(1,"Sand Attack"),(27,"Quick Attack"),(31,"Tail Whip"),(37,"Bite"),(45,"Take Down")],"Vaporeon":[(1,"Tackle"),(1,"Quick Attack"),(1,"Water Gun"),(1,"Sand Attack"),(27,"Quick Attack"),(31,"Water Gun"),(37,"Tail Whip"),(40,"Bite"),(42,"Acid Armor"),(44,"Haze"),(48,"Mist"),(54,"Hydro Pump")],"Jolteon":[(1,"Tackle"),(1,"Sand Attack"),(27,"Quick Attack"),(31,"ThunderShock"),(37,"Tail Whip"),(40,"Thunder Wave"),(42,"Double Kick"),(44,"Agility"),(48,"Pin Missile"),(54,"Thunder")],"Flareon":[(1,"Tackle"),(1,"Sand Attack"),(27,"Quick Attack"),(31,"Ember"),(37,"Tail Whip"),(40,"Bite"),(42,"Leer"),(48,"Rage"),(54,"Flamethrower")],"Gyarados":[(20,"Bite"),(25,"Dragon Rage"),(32,"Leer"),(41,"Hydro Pump"),(52,"Hyper Beam")],"Vileplume":[(50,"Petal Dance")],"Exeggcute":[(1,"Barrage"),(1,"Hypnosis"),(25,"Reflect"),(28,"Leech Seed"),(32,"Stun Spore"),(37,"Poison Powder"),(42,"SolarBeam"),(48,"Sleep Powder")],"Tangela":[(1,"Constrict"),(1,"Bind"),(29,"Absorb"),(32,"Poison Powder"),(36,"Stun Spore"),(39,"Sleep Powder"),(45,"Slam"),(49,"Growth")],"Victreebel":[(30,"Razor Leaf")],"Nidoking":[(23,"Thrash")],"Nidoqueen":[(23,"Body Slam")],"Clefable":[(50,"Metronome")],"Wigglytuff":[(30,"DoubleSlap")],"Ninetales":[(1,"Roar")],"Arcanine":[(1,"Take Down")],"Poliwrath":[(19,"Water Gun")],"Cloyster":[(50,"Spike Cannon")],"Exeggutor":[(28,"Stomp")],"Kangaskhan":[(1,"Comet Punch"),(1,"Rage"),(26,"Bite"),(31,"Tail Whip"),(36,"Mega Punch"),(41,"Leer"),(46,"Dizzy Punch")],"Rhyhorn":[(1,"Horn Attack"),(30,"Stomp"),(35,"Tail Whip"),(40,"Fury Attack"),(45,"Horn Drill"),(50,"Leer"),(55,"Take Down")],"Gastly":[(1,"Lick"),(1,"Confuse Ray"),(1,"Night Shade"),(27,"Hypnosis"),(35,"Dream Eater")],"Haunter":[(1,"Lick"),(1,"Confuse Ray"),(1,"Night Shade"),(29,"Hypnosis"),(38,"Dream Eater")],"Dodrio":[(39,"Rage"),(45,"Tri Attack"),(51,"Agility")],"Doduo":[(1,"Peck"),(20,"Growl"),(24,"Fury Attack"),(30,"Drill Peck"),(36,"Rage"),(40,"Tri Attack"),(44,"Agility")],"Marowak":[(33,"Focus Energy"),(41,"Thrash"),(48,"Bonemerang"),(55,"Rage")],"Machoke":[(36,"Focus Energy"),(44,"Seismic Toss"),(52,"Submission")],"Primeape":[(37,"Seismic Toss"),(46,"Thrash")],
"Snorlax":[(1,"Headbutt"),(1,"Amnesia"),(1,"Rest"),(35,"Body Slam"),(41,"Harden"),(48,"Double Edge"),(56,"Hyper Beam")],"Lickitung":[(1,"Wrap"),(1,"Supersonic"),(7,"Stomp"),(15,"Disable"),(23,"Defense Curl"),(31,"Slam"),(39,"Screech")],"Chansey":[(1,"Pound"),(1,"DoubleSlap"),(24,"Sing"),(30,"Growl"),(38,"Minimize"),(44,"Defense Curl"),(48,"Light Screen"),(54,"Double Edge")],"Weezing":[(1,"Tackle"),(1,"Smog"),(32,"Sludge"),(39,"SmokeScreen"),(43,"Selfdestruct"),(49,"Haze"),(53,"Explosion")],"Hitmonlee":[(1,"Double Kick"),(1,"Meditate"),(33,"Rolling Kick"),(38,"Jump Kick"),(43,"Focus Energy"),(48,"Hi Jump Kick"),(53,"Mega Kick")],"Tauros":[(1,"Tackle"),(21,"Stomp"),(28,"Tail Whip"),(35,"Leer"),(44,"Rage"),(51,"Take Down")],"Venomoth":[(1,"Tackle"),(1,"Disable"),(24,"Poison Powder"),(27,"Leech Life"),(30,"Stun Spore"),(38,"Psybeam"),(43,"Sleep Powder"),(50,"Psychic")],"Venusaur":[(43,"Growth"),(55,"Sleep Powder"),(65,"SolarBeam")],"Blastoise":[(42,"Skull Bash"),(52,"Hydro Pump")],"Charizard":[(36,"Slash"),(46,"Flamethrower"),(55,"Fire Spin")],"Golem":[(36,"Earthquake"),(43,"Explosion")],"Pidgeot":[(44,"Agility"),(54,"Mirror Move")],"Electrode":[(40,"Swift"),(50,"Explosion")],"Seadra":[(41,"Agility"),(52,"Hydro Pump")],"Seaking":[(39,"Waterfall"),(48,"Horn Drill"),(54,"Agility")],"Alakazam":[(38,"Psychic"),(42,"Reflect")],"Tentacruel":[(35,"Barrier"),(43,"Screech"),(50,"Hydro Pump")],"Persian":[(37,"Fury Swipes"),(51,"Slash")],"Machamp":[(36,"Focus Energy"),(44,"Seismic Toss"),(52,"Submission")],"Dragonair":[(35,"Slam"),(45,"Dragon Rage"),(55,"Hyper Beam")],"Gengar":[(38,"Dream Eater")],"Hitmonchan":[(1,"Comet Punch"),(1,"Agility"),(33,"Fire Punch"),(38,"Ice Punch"),(43,"Thunder Punch"),(48,"Mega Punch"),(53,"Counter")],"Lapras":[(1,"Water Gun"),(1,"Growl"),(16,"Sing"),(20,"Mist"),(25,"Body Slam"),(31,"Confuse Ray"),(38,"Ice Beam"),(46,"Hydro Pump")],"Ditto":[(1,"Transform")],"Krabby":[(1,"Bubble"),(1,"Leer"),(20,"ViceGrip"),(25,"Guillotine"),(30,"Stomp"),(35,"Crabhammer"),(40,"Harden")],"Kingler":[(34,"Stomp"),(42,"Crabhammer"),(49,"Harden")],"Slowbro":[(37,"Withdraw"),(44,"Amnesia"),(55,"Psychic")],"Psyduck":[(1,"Scratch"),(28,"Tail Whip"),(31,"Disable"),(36,"Confusion"),(43,"Fury Swipes"),(52,"Hydro Pump")],
"Golduck":[(39,"Confusion"),(48,"Fury Swipes"),(59,"Hydro Pump")],"Seel":[(1,"Headbutt"),(30,"Growl"),(35,"Aurora Beam"),(40,"Rest"),(45,"Take Down"),(50,"Ice Beam")],"Dewgong":[(35,"Aurora Beam"),(44,"Rest"),(50,"Take Down"),(56,"Ice Beam")],"Omanyte":[(1,"Water Gun"),(1,"Withdraw"),(34,"Horn Attack"),(39,"Leer"),(46,"Spike Cannon"),(53,"Hydro Pump")],"Kabuto":[(1,"Scratch"),(1,"Harden"),(34,"Absorb"),(39,"Slash"),(44,"Leer"),(49,"Hydro Pump")],"Aerodactyl":[(1,"Wing Attack"),(1,"Agility"),(33,"Supersonic"),(38,"Bite"),(45,"Take Down"),(54,"Hyper Beam")],"Rapidash":[(47,"Take Down"),(55,"Agility")],"Magmar":[(1,"Ember"),(36,"Leer"),(39,"Confuse Ray"),(43,"Fire Punch"),(48,"SmokeScreen"),(52,"Smog"),(55,"Flamethrower")],"Electabuzz":[(1,"Quick Attack"),(1,"Leer"),(34,"ThunderShock"),(37,"Screech"),(42,"Thunder Punch"),(49,"Light Screen"),(54,"Thunder")],"Rhydon":[(48,"Horn Drill"),(55,"Leer"),(64,"Take Down")],"Omastar":[(44,"Spike Cannon"),(49,"Hydro Pump")],"Kabutops":[(46,"Leer"),(53,"Hydro Pump")],"Dragonite":[(60,"Hyper Beam")],"Moltres":[(51,"Leer"),(55,"Agility"),(60,"Sky Attack")],"Zapdos":[(51,"Thunder"),(55,"Agility"),(60,"Light Screen")],"Articuno":[(51,"Blizzard"),(55,"Agility"),(60,"Mist")],"Scyther":[(1,"Quick Attack"),(17,"Leer"),(20,"Focus Energy"),(24,"Double Team"),(29,"Slash"),(35,"Swords Dance"),(42,"Agility")],"Mewtwo":[(1,"Confusion"),(1,"Disable"),(1,"Swift"),(1,"Psychic"),(63,"Barrier"),(66,"Psychic"),(70,"Recover"),(75,"Mist"),(81,"Amnesia")],"Mew":[(1,"Pound"),(10,"Transform"),(20,"Mega Punch"),(30,"Metronome"),(40,"Psychic")]}
Pokemon_CatchRates = {"Bulbasaur":45,"Charmander":45,"Squirtle":45,"Wartortle":45,"Pidgey":255,"Rattata":255,"Spearow":255,"NidoranF":235,"NidoranM":235,"Caterpie":255,"Metapod":120,"Butterfree":45,"Weedle":255,"Kakuna":120,"Beedrill":45,"Pikachu":190,"Diglett":255,"Sandshrew":255,"Geodude":255,"Onix":45,"Ekans":255,"Jigglypuff":170,"Zubat":255,"Paras":190,"Clefairy":150,"Magnemite":190,"Voltorb":190,"Oddish":255,"Bellsprout":255,"Ivysaur":45,"Charmeleon":45,"Nidorino":120,"Nidorina":120,"Koffing":190,"Raticate":127,"Grimer":190,"Pidgeotto":120,"Abra":200,"Horsea":225,"Goldeen":225,"Shellder":190,"Staryu":225,"Starmie":60,"Mankey":190,"Machop":180,"Slowpoke":190,"Drowzee":190,"Meowth":255,"Magikarp":255,"Farfetch'd":45,"Growlithe":190,"Tentacool":190,"Ponyta":190,"Kadabra":100,"Raichu":75,"Dugtrio":50,"Poliwag":255,"Vulpix":190,"Magneton":60,"Venonat":190,"Mr. Mime":45,"Poliwhirl":120,"Jynx":45,"Cubone":190,"Graveler":120,"Fearow":90,"Arbok":90,"Sandslash":90,"Golbat":90,"Weepinbell":120,"Gloom":120,"Parasect":75,"Hypno":75,"Muk":75,"Pinsir":45,"Dratini":45,"Porygon":45,"Eevee":45,"Vaporeon":45,"Jolteon":45,"Flareon":45,"Gyarados":45,"Vileplume":45,"Exeggcute":90,"Tangela":45,"Victreebel":45,"Nidoking":45,"Nidoqueen":45,"Clefable":25,"Wigglytuff":50,"Ninetales":75,"Arcanine":75,"Poliwrath":45,"Cloyster":60,"Exeggutor":45,"Kangaskhan":45,"Rhyhorn":120,"Gastly":190,"Haunter":90,"Dodrio":45,"Doduo":190,"Marowak":75,"Machoke":90,"Primeape":75,"Snorlax":25,"Lickitung":45,"Chansey":30,"Weezing":60,"Hitmonlee":45,"Tauros":45,"Venomoth":75,"Venusaur":45,"Blastoise":45,"Charizard":45,"Golem":45,"Pidgeot":45,"Electrode":60,"Seadra":75,"Seaking":60,"Alakazam":50,"Tentacruel":60,"Persian":90,"Machamp":45,"Dragonair":45,"Gengar":45,"Hitmonchan":45,"Lapras":45,"Ditto":35,"Krabby":225,"Kingler":60,"Slowbro":75,"Psyduck":190,"Golduck":75,"Seel":190,"Dewgong":75,"Omanyte":45,"Kabuto":45,"Aerodactyl":45,"Rapidash":60,"Magmar":45,"Electabuzz":45,"Rhydon":60,"Omastar":45,"Kabutops":45,"Dragonite":45,"Moltres":3,"Zapdos":3,"Articuno":3,"Scyther":45,"Mewtwo":3,"Mew":45}
Pokemon_Evolutions = {"Bulbasaur":[16,"Ivysaur"],"Ivysaur":[36,"Venusaur"],"Charmander":[16,"Charmeleon"],"Charmeleon":[36,"Charizard"],"Squirtle":[16,"Wartortle"],"Wartortle":[36,"Blastoise"],"Pidgey":[18,"Pidgeotto"],"Rattata":[20,"Raticate"],"Spearow":[20,"Fearow"],"NidoranF":[16,"Nidorina"],"NidoranM":[16,"Nidorino"],"Caterpie":[7,"Metapod"],"Metapod":[10,"Butterfree"],"Butterfree":[101,""],"Weedle":[7,"Kakuna"],"Kakuna":[10,"Beedrill"],"Beedrill":[101,""],"Pikachu":[101,""],"Diglett":[26,"Dugtrio"],"Sandshrew":[22,"Sandslash"],"Geodude":[25,"Graveler"],"Onix":[101,""],"Ekans":[22,"Arbok"],"Jigglypuff":[101,"Wigglytuff"],"Zubat":[22,"Golbat"],"Paras":[24,"Parasect"],"Clefairy":[101,"Clefable"],"Magnemite":[30,"Magneton"],"Voltorb":[30,"Electrode"],"Oddish":[21,"Gloom"],"Bellsprout":[21,"Weepinbell"],"Nidorino":[101,"Nidoking"],"Nidorina":[101,"Nidoqueen"],"Koffing":[35,"Weezing"],"Raticate":[101,""],"Grimer":[38,"Muk"],"Pidgeotto":[36,"Pidgeot"],"Abra":[16,"Kadabra"],"Horsea":[32,"Seadra"],"Goldeen":[33,"Seaking"],"Shellder":[101,"Cloyster"],"Staryu":[101,"Starmie"],"Starmie":[101,""],"Mankey":[28,"Primeape"],"Machop":[28,"Machoke"],"Slowpoke":[37,"Slowbro"],"Drowzee":[26,"Hypno"],"Meowth":[28,"Persian"],"Magikarp":[20,"Gyarados"],"Farfetch'd":[101,""],"Growlithe":[101,"Arcanine"],"Tentacool":[30,"Tentacruel"],'Ponyta':[40,"Rapidash"],"Kadabra":[101,"Alakazam"],"Raichu":[101,""],"Dugtrio":[101,""],"Poliwag":[25,"Poliwhirl"],"Vulpix":[101,"Ninetales"],"Magneton":[101,""],"Venonat":[31,"Venomoth"],"Mr. Mime":[101,""],"Poliwhirl":[101,"Poliwrath"],"Jynx":[101,""],"Cubone":[28,"Marowak"],"Graveler":[36,"Golem"],"Fearow":[101,""],"Arbok":[101,""],"Sandslash":[101,""],"Golbat":[101,""],"Weepinbell":[101,"Victreebel"],"Gloom":[101,"Vileplume"],"Parasect":[101,""],"Hypno":[101,""],"Muk":[101,""],"Pinsir":[101,""],"Dratini":[30,"Dragonair"],"Porygon":[101,""],"Eevee":[101,""],"Vaporeon":[101,""],"Jolteon":[101,""],"Flareon":[101,""],"Gyarados":[101,""],"Vileplume":[101,""],
"Exeggcute":[101,"Exeggutor"],"Tangela":[101,""],"Victreebel":[101,""],"Nidoking":[101,""],"Nidoqueen":[101,""],"Clefable":[101,""],"Wigglytuff":[101,""],"Ninetales":[101,""],"Arcanine":[101,""],"Poliwrath":[101,""],"Cloyster":[101,""],"Exeggutor":[101,""],"Kangaskhan":[101,""],"Rhyhorn":[42,"Rhydon"],"Gastly":[25,"Haunter"],"Haunter":[36,"Gengar"],"Doduo":[31,"Dodrio"],"Dodrio":[101,""],"Marowak":[101,""],"Machoke":[36,"Machamp"],"Primeape":[101,""],"Snorlax":[101,""],"Lickitung":[101,""],"Chansey":[101,""],"Weezing":[101,""],"Hitmonlee":[101,""],"Tauros":[101,""],"Venomoth":[101,""],"Venusaur":[101,""],"Blastoise":[101,""],"Charizard":[101,""],"Golem":[101,""],"Pidgeot":[101,""],"Electrode":[101,""],"Seadra":[101,""],"Seaking":[101,""],"Alakazam":[101,""],"Tentacruel":[101,""],"Persian":[101,""],"Machamp":[101,""],"Dragonair":[55,"Dragonite"],"Gengar":[101,""],"Hitmonchan":[101,""],"Lapras":[101,""],"Ditto":[101,""],"Krabby":[28,"Kingler"],"Kingler":[101,""],"Slowbro":[101,""],"Psyduck":[33,"Golduck"],"Golduck":[101,""],"Seel":[34,"Dewgong"],"Dewgong":[101,""],"Omanyte":[40,"Omastar"],"Kabuto":[40,"Kabutops"],"Aerodactyl":[101,""],"Rapidash":[101,""],"Magmar":[101,""],"Electabuzz":[101,""],"Rhydon":[101,""],"Omastar":[101,""],"Kabutops":[101,""],"Dragonite":[101,""],"Moltres":[101,""],"Zapdos":[101,""],"Articuno":[101,""],"Scyther":[101,""],"Mewtwo":[101,""],"Mew":[101,""]}
def Two_D_ListCheck(List:list,item:str) -> bool:
Check = False
for i in range(len(List)):
if item in List[i]:
Check = True
break
return Check
class EvolutionStones:
def __init__(self,Name,Pokemon):
self.Name = Name
self.Pokemon = Pokemon
PokeStones = [EvolutionStones("Moon Stone",["Nidorina","Nidorino","Clefairy","Jigglypuff"]),EvolutionStones("Fire Stone",["Vulpix","Growlithe","Eevee"]),EvolutionStones("Thunder Stone",["Pikachu","Eevee"]),EvolutionStones("Water Stone",["Poliwhirl","Eevee","Shellder","Staryu"]),EvolutionStones("Leaf Stone",["Gloom","Weepinbell","Exeggcute"])]
def Get_Stone(Name:str):
for i in PokeStones:
if i.Name == Name: return i
class PokemonMoves:
def __init__(self):
self.Type = ''
self.Crit = False
self.TypeDamage = 1
self.HMMoves = ["Cut","Fly","Surf","Strength"]
self.SpecialMoves = ["Water","Grass","Fire","Ice","Electric","Psychic","Dragon"]
self.NormalDamagingList = ["Tackle","Scratch","Gust","Peck","Horn Attack","Pound","Vine Whip","Water Gun","Rock Throw","Mega Punch","Seismic Toss","Splash","Cut","SonicBoom","Pay Day","Rage","Swift","ViceGrip","Dragon Rage","Egg Bomb","Mega Kick","Rock Slide","Tri Attack","Night Shade","Hydro Pump","Drill Peck","Surf","Earthquake","Wing Attack","Slam","Strength","PsyWave","Guillotine","Horn Drill","Fissure","Super Fang","Dizzy Punch","Waterfall"]
self.EnemyStatChangingList = ["Growl","Tail Whip","Sand Attack","Leer","String Shot","Screech","Flash","SmokeScreen"]
self.SelfStatChangingList = ["Harden","Defense Curl","Growth","Withdraw","Barrier","Minimize","Swords Dance","Sharpen","Agility","Double Team","Amnesia","Meditate","Acid Armor"]
self.StatusDamagingList = ["Ember","Confusion","Poison Sting","ThunderShock","Smog","Body Slam","Thunderbolt","Twineedle","Lick","Psybeam","Ice Beam","Sludge","Fire Punch","Blizzard","Flamethrower","Fire Blast","Thunder","Ice Punch","Thunder Punch"]
self.StatusList = ["Thunder Wave","Sing","Supersonic","Poison Powder","Stun Spore","Hypnosis","Sleep Powder","Lovely Kiss","Confuse Ray","Poison Gas","Glare","Toxic","Spore"]
self.EnemyStatDamagingList = ["Bubble","BubbleBeam","Acid","Constrict","Psychic","Aurora Beam"]
self.FieldAffectingList = ["Leech Seed"]
self.DrainingAttacksList = ["Leech Life","Absorb","Dream Eater","Mega Drain"]
self.PriorityDamagingList = ["Quick Attack","Counter"]
self.MultiturnMovesList = ["Bide","Dig","Hyper Beam","Razor Wind","Skull Bash","SolarBeam","Fly","Sky Attack"]
self.MultihitList = ["Fury Attack","DoubleSlap","Fury Swipes","Barrage","Comet Punch","Double Kick","Spike Cannon","Bonemerang"]
self.TrappingMoves = ["Wrap","Bind","Clamp","Fire Spin"]
self.FlinchingMoves = ["Hyper Fang","Bite","Low Kick","Bone Club","Stomp","Headbutt","Rolling Kick"]
self.WildBattleMoves = ["Whirlwind","Teleport","Roar"]
self.HighCritMoves = ["Karate Chop","Slash","Razor Leaf","Crabhammer"]
self.SelfFaintingMoves = ["Selfdestruct","Explosion"]
self.RampageMoves = ["Thrash","Petal Dance"]
self.RecoilMoves = ["Struggle","Take Down","Submission","Double Edge","Jump Kick","Hi Jump Kick"]
self.HealingMoves = ["Recover","Softboiled"]
self.UnAffectedFlyMoves = ["Recover","Softboiled","Teleport","Focus Energy","Light Screen","Reflect","Rest","Metronome","Mirror Move","Substitute","Transform","Mist","Haze"]
def Physical_Damage_Calculation(self,Attacker,Defender,Power:int,MoveType:str,Move:str):
STAB = 1
TYPE1 = self.Type_Calculation(MoveType,Defender.Type[0])
TYPE2 = self.Type_Calculation(MoveType,Defender.Type[1])
if Defender.Type[1] == "":TYPE2 = 1
if Move == "Counter":
if TYPE1 == 0:TYPE1 = 1
CRIT = 1
RANDOM = round(random.randint(217,255)/255,2)
if MoveType in Attacker.Type:
STAB = 1.5
self.Crit = self.Crit_Calculation(Attacker)
if self.Crit:
A = Attacker.Atk
D = Defender.DEF
CRIT = 2
if not self.Crit:
A = Attacker.GetBattleAttack()
D = Defender.DEF*Defender.DEFModifier
CRIT = 1
if Attacker.ReflectUp:A *= 2**Attacker.ReflectDamage
if A > 1024: A = 1024
if Attacker.Atk > 255 or Defender.DEF > 255:
A = floor(A/4)
D = floor(D/4)
if Move in ("Selfdestruct","Explosion"):
D = D//2
Damage = ((((2 * Attacker.Level * CRIT)/5 + 2) * Power * (A/D))/50 + 2) * STAB * TYPE1 * TYPE2 * RANDOM
return round(Damage),self.Crit,TYPE2*TYPE1
def Special_Damage_Calculation(self,Attacker,Defender,Power:int,MoveType:str,Move:str):
STAB = 1
TYPE1 = self.Type_Calculation(MoveType,Defender.Type[0])
TYPE2 = self.Type_Calculation(MoveType,Defender.Type[1])
if Defender.Type[1] == "":TYPE2 = 1
CRIT = 1
RANDOM = round(random.randint(217,255)/255,2)
if MoveType in Attacker.Type:
STAB = 1.5
self.Crit = self.Crit_Calculation(Attacker)
if self.Crit:
A = Attacker.SPECIAL
D = Defender.SPECIAL
CRIT = 2
if not self.Crit:
A = Attacker.SPECIAL*Attacker.SPECIALModifier
D = Defender.SPECIAL*Defender.SPECIALModifier
CRIT = 1
if Attacker.LightScreenUp:A *= 2**Attacker.LightScreenDamage
if A > 1024: A = 1024
if Attacker.SPECIAL > 255 or Defender.SPECIAL > 255:
A = floor(A/4)
D = floor(D/4)
Damage = ((((2 * Attacker.Level * CRIT)/5 + 2) * Power * (A/D))/50 + 2) * STAB * TYPE1 * TYPE2 * RANDOM
return round(Damage),self.Crit,TYPE2*TYPE1
def Confusion_Damage_Calculation(self,Attacker):
STAB = 1
TYPE1 = 1
TYPE2 = 1
CRIT = 1
RANDOM = round(random.randint(217,255)/255,2)
A = Attacker.GetBattleAttack()
D = Attacker.DEF*Attacker.DEFModifier
if Attacker.Atk > 255:
A = floor(A/4)
D = floor(D/4)
Damage = ((((2 * Attacker.Level * CRIT)/5 + 2) * 40 * (A/D))/50 + 2) * STAB * TYPE1 * TYPE2 * RANDOM
return round(Damage)
def Accuracy_Calculation(self,Attacker,Defender,MoveAccuracy:int):
if Defender.Dig:return False
A = MoveAccuracy/100
T = (A*255) * Attacker.Accuracy * Defender.Evasion
R = random.randint(0,255)
if T == 255 and R == 255: return True
return R < T
def Type_Calculation(self,Movetype:str,Defendertype:str):
if Movetype == "Grass":
if Defendertype in ("Water","Rock","Ground"):
return 2
elif Defendertype in ("Fire","Grass","Poison","Flying","Bug","Dragon"):
return 0.5
else:
return 1
elif Movetype == "Fire":
if Defendertype in ("Ice","Bug","Grass"):
return 2
elif Defendertype in ("Water","Rock","Fire","Dragon"):
return 0.5
else:
return 1
elif Movetype == "Water":
if Defendertype in ("Fire","Rock","Ground"):
return 2
elif Defendertype in ("Water","Grass","Dragon"):
return 0.5
else:
return 1
elif Movetype == "Normal":
if Defendertype == "Rock":
return 0.5
elif Defendertype == "Ghost":
return 0
else:
return 1
elif Movetype == "Electric":
if Defendertype in ("Water","Flying"):
return 2
elif Defendertype in ("Electric","Grass","Dragon"):
return 0.5
elif Defendertype == "Ground":
return 0
else:
return 1
elif Movetype == "Ice":
if Defendertype in ("Grass","Flying","Dragon","Ground"):
return 2
elif Defendertype in ("Ice","Water"):
return 0.5
else:
return 1
elif Movetype == "Fighting":
if Defendertype in ("Normal","Rock","Ice"):
return 2
elif Defendertype in ("Flying","Bug","Poison","Psychic"):
return 0.5
elif Defendertype in ("Ghost"):
return 0
else:
return 1
elif Movetype == "Poison":
if Defendertype in ("Bug","Grass"):
return 2
elif Defendertype in ("Poison","Ground","Dragon","Rock","Ghost"):
return 0.5
else:
return 1
elif Movetype == "Ground":
if Defendertype in ("Electric","Fire","Rock","Poison"):
return 2
elif Defendertype in ("Bug","Grass"):
return 0.5
elif Defendertype in ("Flying"):
return 0
else:
return 1
elif Movetype == "Flying":
if Defendertype in ("Bug","Grass","Fighting"):
return 2
elif Defendertype in ("Electric","Rock"):
return 0.5
else:
return 1
elif Movetype == "Psychic":
if Defendertype in ("Poison","Fighting"):
return 2
elif Defendertype in ("Psychic"):
return 0.5
else:
return 1
elif Movetype == "Bug":
if Defendertype in ("Psychic","Grass","Poison"):
return 2
elif Defendertype in ("Flying","Fire","Fighting","Ghost"):
return 0.5
else:
return 1
elif Movetype == "Rock":
if Defendertype in ("Fire","Flying","Bug","Ice"):
return 2
elif Defendertype in ("Ground","Fighting"):
return 0.5
else:
return 1
elif Movetype == "Ghost":
if Defendertype in ("Ghost","Psychic"):
return 2
elif Defendertype in ("Normal"):
return 0
else:
return 1
elif Movetype == "Dragon":
if Defendertype in ("Dragon"):
return 2
else:
return 1
else: return 1
def Crit_Calculation(self,Attacker) -> bool:
Threshold = round(Attacker.SPEED/2)
if Attacker.Attack in self.HighCritMoves: Threshold = min(8 *round(Attacker.SPEED/2),255)
if Attacker.FocusEnergy:Threshold *= 4
if Threshold > 255: Threshold = 255
Crit = random.randint(0,255)
return Crit < Threshold or Threshold == 255
def Tackle(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,95)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,35,"Normal","Tackle")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Slam(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,75)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,85,"Normal","Slam")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Strength(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,80,"Normal","Strength")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Dizzy_Punch(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,70,"Normal","Dizzy Punch")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Tri_Attack(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,80,"Normal","Tri Attack")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tri_Attack_Animation
def Swift(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,60,"Normal","Swift")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
return Damage,Text1,Text2,Attacker.Swift_Animation
def Rage(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,20,"Normal","Rage")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0:
Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Splash(self,Attacker,Defender):
return 0,"No Effect","",Attacker.Tackle_Animation
def Scratch(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,40,"Normal","Scratch")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Scratch_Animation
def Gust(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,40,"Normal","Gust")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Gust_Animation
def Peck(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,35,"Flying","Gust")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Peck_Animation
def Horn_Attack(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,65,"Normal","Horn Attack")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Horn_Attack_Animation
def Pound(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,40,"Normal","Pound")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Vine_Whip(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,35,"Grass","Vine Whip")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Vine_Whip_Animation
def PsyWave(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,80)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,random.randint(1,int(1.5*Attacker.Level)),"Psychic","PsyWave")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.PsyWave_Animation
def Cut(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,95)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,50,"Normal","Cut")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Scratch_Animation
def SonicBoom(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,90)
if Hit:
Damage = 20
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Roar_Animation
def Rock_Slide(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,90)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,75,"Rock","Rock Slide")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Rock_Slide_Animation
def Earthquake(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,100,"Ground","Earthquake")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Earthquake_Animation
def Dragon_Rage(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage = 40
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Dragon_Rage_Animation
def Super_Fang(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,90)
if Hit:
Damage = Defender.HP//2
if Damage < 1:Damage = 1
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Hyper_Fang_Animation
def Seismic_Toss(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage = Attacker.Level
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Night_Shade(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage = Attacker.Level
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Night_Shade_Animation
def Mega_Kick(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,75)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,120,"Normal","Mega Kick")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Wing_Attack(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,35,"Flying","Wing Attack")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Horn_Drill(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,30)
if Hit and Attacker.GetBattleSpeed() > Defender.GetBattleSpeed():
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,65535,"Normal","Horn Drill")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Horn_Attack_Animation
def Guillotine(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,30)
if Hit and Attacker.GetBattleSpeed() > Defender.GetBattleSpeed():
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,65535,"Normal","Guillotine")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Fissure(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,30)
if Hit and Attacker.GetBattleSpeed() > Defender.GetBattleSpeed():
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,65535,"Ground","Fissure")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Rock_Slide_Animation
def Quick_Attack(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,40,"Normal","Quick Attack")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,1,Attacker.Quick_Attack_Animation
def Counter(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit and Attacker.CounterDamage > 0:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,Attacker.CounterDamage,"Fighting","Counter")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,-5,Attacker.Tackle_Animation
def Water_Gun(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,40,"Water","Water Gun")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Water_Gun_Animation
def Waterfall(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,80,"Water","Waterfall")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Waterfall_Animation
def Hydro_Pump(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,80)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,110,"Water","Hydro Pump")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Hydro_Pump_Animation
def Surf(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Special_Damage_Calculation(Attacker,Defender,95,"Water","Surf")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Surf_Animation
def Rock_Throw(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,65)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,50,"Rock","Rock Throw")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Rock_Throw_Animation
def Egg_Bomb(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,75)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,100,"Normal","Egg Bomb")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Egg_Bomb_Animation
def Mega_Punch(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,85)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,80,"Normal","Mega Punch")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Tackle_Animation
def Pay_Day(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Text3 = ''
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,40,"Normal","Pay Day")
if Effect == 2: Text1 = "It was super Effective"
elif Effect == 1: Text1 = ''
elif Effect == 0:
Text2 = ''
Text1 = "It had no effect!"
elif Effect < 1: Text1 = "It wasn't very effective"
if Crit and Effect > 0: Text2 = "It was a critical Hit!!"
if not Crit or Effect == 0 : Text2 = ''
else:
Damage = 0
Text1 = "It Missed"
Text2 = ''
return Damage,Text1,Text2,Attacker.Pay_Day_Animation
def Struggle(self,Attacker,Defender):
Text1 = ""
Text2 = ''
Text3 = ""
Hit = self.Accuracy_Calculation(Attacker,Defender,100)
Recoil = 0
if Hit:
Damage,Crit,Effect = self.Physical_Damage_Calculation(Attacker,Defender,50,"Normal","Struggle")
if Effect == 2: Text1 = "It was super Effective"
if Effect == 1: Text1 = ''
if Effect == 0: