Skip to content

BBQ Farmer: stop Auto Battle at the kill target and skip the last heal (behavior change) - #17

Closed
dayfine wants to merge 6 commits into
bbq/auto-battle-seamfrom
bbq/auto-battle-stop-at-target
Closed

dayfine wants to merge 6 commits into
bbq/auto-battle-seamfrom
bbq/auto-battle-stop-at-target

Conversation

@dayfine

@dayfine dayfine commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Depends on #15 (Auto Battle seam), which depends on #51 (PokemonAutomation#1754). Base: bbq/auto-battle-seam; the diff shows only this change. Child (fork): #18.

Part of PokemonAutomation/ComputerControl#263.

The pass that reaches the kill target kept clearing until no kill had been heard for 6 s, then healed and re-flew before the loop ended: 71 s after the tenth kill in one run. run_auto_battle() now passes the target to clear(), so the clear ends once the kills reach it, and that pass returns to Central Plaza without healing (behavior change, Auto Battle quests only). In the tests' model this saves 34 s per quest; every PokemonSV::BBQAutoBattle scenario that reaches its target now ends with fly clear return, and the native BBQ runner passes 15 of 15. The early stop inside use_lets_go_to_clear_in_front() needs a controller and audio, so it still needs a live Auto Battle 10 and 30.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

run_auto_battle() passes the kill target to clear(), so the clear ends
as soon as the kills reach it, and on the pass that reaches it returns
to Central Plaza without healing or re-flying. In the tests' model this
saves 34 s per quest (the 6 s tail, the heal and the re-fly).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
@dayfine
dayfine force-pushed the bbq/auto-battle-seam branch from da1ffc8 to 0181f81 Compare October 28, 2026 08:07
@dayfine
dayfine force-pushed the bbq/auto-battle-stop-at-target branch from caaf791 to fda42de Compare October 28, 2026 08:07
@dayfine dayfine added farmer Farming programs game:sv Scarlet/Violet labels Nov 1, 2026
@dayfine

dayfine commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

Superseded by consolidated Tree 2 PR #273.

@dayfine dayfine closed this Nov 9, 2026
@dayfine
dayfine deleted the bbq/auto-battle-stop-at-target branch November 13, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

farmer Farming programs game:sv Scarlet/Violet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant