Skip to content

Commit

Permalink
Reset number label + quicker fleeing from REs when soaring
Browse files Browse the repository at this point in the history
Adds a little text box showing the current number of soft resets when
using a bot. Also makes the soaring bot flee from random encounters a
little quicker
  • Loading branch information
MichiS97 committed May 17, 2017
1 parent 4ae3493 commit d980bee
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 19 deletions.
3 changes: 2 additions & 1 deletion PKMN-NTR/Bot/Bot_SoftReset6.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ public async void RunBot()
case srbotstates.softreset:
resetNo++;
Report("Bot: Sof-reset #" + resetNo.ToString());
Program.gCmdWindow.resetNoBox.Text = resetNo.ToString();
waitTaskbool = Program.helper.waitSoftReset();
if (await waitTaskbool)
{
Expand Down Expand Up @@ -867,7 +868,7 @@ public async void RunBot()

case srbotstates.flee1:
Report("Bot: Fleeing from random encounter, pressing down");
await Task.Delay(30 * commanddelay);
await Task.Delay(20 * commanddelay); //30?
waitTaskbool = Program.helper.waitbutton(LookupTable.DpadDOWN);
if (await waitTaskbool)
{
Expand Down
60 changes: 42 additions & 18 deletions PKMN-NTR/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d980bee

Please sign in to comment.