TJSJ

PokeAttempt / mon_wild Script

Jan 18th, 2020
703
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. global.MonWildRate = irandom_range(0,100);
  2. switch(global.Weather) {
  3.     case "Normal":
  4.         if global.MonWildRate <= 100 && global.MonWildRate > 40 { // 60% chance
  5.             global.MonFoundInWild = choose(0,0,0,20,13,12,7);
  6.             // Uralida 0, Firmarnut 20, Ninirandu 13, Ruberingo 12, Sonic 7
  7.             }
  8.         if global.MonWildRate <= 40 && global.MonWildRate > 15 { // 25% chance
  9.             global.MonFoundInWild = choose(1,2,3,26,26,8,8,17,19);
  10.             // Cinnamon Bun 1, Glazed Donut 2, Pizza 3, Cockatery 26, Melotiel 8, Bullet Bill 17, Chain Chomp 19
  11.             }
  12.         if global.MonWildRate <= 15 && global.MonWildRate > 5 { // 10% chance
  13.             global.MonFoundInWild = choose(21,21,11,11,10,15,6,31);
  14.             // Stumpar 21, Feidheat 11, Oceagle 10, Mournada 15, Baldi 6, Mr. Mod 31
  15.             }
  16.         if global.MonWildRate <= 5 && global.MonWildRate >= 0 { // 5% chance
  17.             global.MonFoundInWild = choose(5,6,16,28,29,31);
  18.             // Shrek 5, Bowser 16, Petey Piranha 28, Angry Sun 29
  19.             }
  20.         break;
  21.     case "Rain":
  22.         if global.MonWildRate <= 100 && global.MonWildRate > 40 { // 60% chance
  23.             global.MonFoundInWild = choose(0,27,27,10,10,15);
  24.             // Uralida 0, Blooper 27, Oceagle 10, Mournada 15
  25.             }
  26.         if global.MonWildRate <= 40 && global.MonWildRate > 15 { // 25% chance
  27.             global.MonFoundInWild = choose(15,12,13,21,20);
  28.             // Mournada 15, Ruberingo 12, Ninirandu 13, Stumpar 21, Firmarnut 20
  29.             }
  30.         if global.MonWildRate <= 15 && global.MonWildRate > 5 { // 10% chance
  31.             global.MonFoundInWild = choose(32,4,5);
  32.             // Lancer 32, Uncle Kyle 4, Shrek 5
  33.             }
  34.         if global.MonWildRate <= 5 && global.MonWildRate >= 0 { // 5% chance
  35.             global.MonFoundInWild = choose(34);
  36.             // Spade King 34
  37.             }
  38.         break;
  39.     case "Heavy Rain":
  40.         if global.MonWildRate <= 100 && global.MonWildRate > 40 { // 60% chance
  41.             global.MonFoundInWild = choose(27,10,32);
  42.             // Blooper 27, Oceagle 10, Lancer 32
  43.             }
  44.         if global.MonWildRate <= 40 && global.MonWildRate > 15 { // 25% chance
  45.             global.MonFoundInWild = choose(18,23,22,34);
  46.             // Boo 18, Gengar 23, Dry Bones 22, Spade King 34
  47.             }
  48.         if global.MonWildRate <= 15 && global.MonWildRate > 5 { // 10% chance
  49.             global.MonFoundInWild = choose(15,15,15,15,12,13,24,25);
  50.             // Mournada 15, Ruberingo 12, Ninirandu 13, Princess Shroob 24, Fooful 25
  51.             }
  52.         if global.MonWildRate <= 5 && global.MonWildRate >= 0 { // 5% chance
  53.             global.MonFoundInWild = choose(30);
  54.             // Bill Cipher 30
  55.             }
  56.         break;
  57.     case "Snow":
  58.         if global.MonWildRate <= 100 && global.MonWildRate > 40 { // 60% chance
  59.             global.MonFoundInWild = choose(0,0,8,26,15,15,4);
  60.             // Uralida 0, Melotiel 8, Cockatery 26, Mournada 15, Uncle Kyle 4
  61.             }
  62.         if global.MonWildRate <= 40 && global.MonWildRate > 15 { // 25% chance
  63.             global.MonFoundInWild = choose(1,2,3,15,11,21);
  64.             // Cinnamon Bun 1, Glazed Donut 2, Pizza 3, Mournada 15, Feidheat 11, Stumpar 21
  65.             }
  66.         if global.MonWildRate <= 15 && global.MonWildRate > 5 { // 10% chance
  67.             global.MonFoundInWild = choose(14,32);
  68.             // Sansbob 14, Lancer 32
  69.             }
  70.         if global.MonWildRate <= 5 && global.MonWildRate >= 0 { // 5% chance
  71.             global.MonFoundInWild = choose(33);
  72.             // Polaraven 33
  73.             }
  74.         break;
  75.     case "Blizzard":
  76.         if global.MonWildRate <= 100 && global.MonWildRate > 40 { // 60% chance
  77.             global.MonFoundInWild = choose(14,14,14,15,15,32,11);
  78.             // Sansbob 14, Mournada 15, Lancer 32, Feidheat 11
  79.             }
  80.         if global.MonWildRate <= 40 && global.MonWildRate > 15 { // 25% chance
  81.             global.MonFoundInWild = choose(33,33,11,15);
  82.             // Polaraven 33, Feidheat 11, Fooful 25
  83.             }
  84.         if global.MonWildRate <= 15 && global.MonWildRate > 5 { // 10% chance
  85.             global.MonFoundInWild = choose(15,15,15,15,12,13,24,25);
  86.             // Mournada 15, Ruberingo 12, Ninirandu 13, Princess Shroob 24, Fooful 25
  87.             }
  88.         if global.MonWildRate <= 5 && global.MonWildRate >= 0 { // 5% chance
  89.             global.MonFoundInWild = choose(9);
  90.             // Ultra Violet 9
  91.             }
  92.         break;
  93.     }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×