Example #1
0
 // Display the currently selected method and odds
 public void setMethodDisplay()
 {
     if (this.method != "")
     {
         try
         {
             methodDisplayBtn.Text = "1/" + Odds.getOdds(method, count, shinyCharm) + "\n" + method;
         }
         catch (Exception e) { Console.WriteLine(e.Message); }
     }
 }
Example #2
0
        // Check if current method requires updating odds dynamically, update them if so
        public void updateOdds()
        {
            string[] dynamicMethods =
            {
                "SoS Calls", "Catch Combo (No Lure)", "Catch Combo (With Lure)", "Chain Fishing", "Dex Nav", "Poke Radar (Gen 4)", "Poke Radar (Gen 6)"
            };

            if (dynamicMethods.Contains(method))
            {
                setOdds(Odds.getOdds(method, count, shinyCharm));
                setMethodDisplay();
            }
        }
Example #3
0
 private void radar2Btn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Poke Radar (Gen 6)", mainForm.count, shinyCharm));
     mainForm.setMethod("Poke Radar (Gen 6)");
 }
Example #4
0
 private void adventureBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Dynamax Adventures", mainForm.count, shinyCharm));
     mainForm.setMethod("Dynamax Adventures");
 }
Example #5
0
 private void hordeBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Hordes", mainForm.count, shinyCharm));
     mainForm.setMethod("Hordes");
 }
Example #6
0
 private void chainFishBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Chain Fishing", mainForm.count, shinyCharm));
     mainForm.setMethod("Chain Fishing");
 }
Example #7
0
 private void dexNavBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Dex Nav", mainForm.count, shinyCharm));
     mainForm.setMethod("Dex Nav");
 }
Example #8
0
 private void combo2Btn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Catch Combo (No Lure)", mainForm.count, shinyCharm));
     mainForm.setMethod("Catch Combo (No Lure)");
 }
Example #9
0
 private void sosBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("SoS Calls", mainForm.count, shinyCharm));
     mainForm.setMethod("SoS Calls");
 }
Example #10
0
 private void newMasudaBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Masuda (Gen 6+)", mainForm.count, shinyCharm));
     mainForm.setMethod("Masuda (Gen 6+)");
 }
Example #11
0
 private void friendSafariBtn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("Friend Safari", mainForm.count, shinyCharm));
     mainForm.setMethod("Friend Safari");
 }
Example #12
0
 private void sr1Btn_Click(object sender, EventArgs e)
 {
     mainForm.setOdds(Odds.getOdds("SRs (Gen 1-5)", mainForm.count, shinyCharm));
     mainForm.setMethod("SRs (Gen 1-5)");
 }
Example #13
0
 public void setShinyCharm(bool charm)
 {
     shinyCharm = charm;
     setOdds(Odds.getOdds(method, count, shinyCharm));
     setMethodDisplay();
 }