Skip to content

Commit

Permalink
Detect combat in autoAdvBypass (#1528)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimich authored Dec 12, 2024
1 parent 29d7613 commit 8512855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RELEASE/scripts/autoscend/auto_adventure.ash
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ boolean autoAdvBypass(int urlGetFlags, string[int] url, location loc, string opt
}

// handle the initial combat or choice the easy way.
string combatPage = "<b>Combat";
string combatPage = ">Combat";
if(in_pokefam()) {
combatPage = "<b>Fight!";
combatPage = ">Fight!";
}
if (contains_text(page, combatPage)) {
auto_log_info("autoAdvBypass has encountered a combat! (param: '" + option + "')", "green");
Expand Down

0 comments on commit 8512855

Please sign in to comment.