Skip to content

BBQ Farmer: near the Auto Battle target, stop when the quest leaves the board (C10, behavior change) - #32

Closed
dayfine wants to merge 6 commits into
bbq/auto-battle-kill-countfrom
bbq/auto-battle-quest-done-check
Closed

dayfine wants to merge 6 commits into
bbq/auto-battle-kill-countfrom
bbq/auto-battle-quest-done-check

Conversation

@dayfine

@dayfine dayfine commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Depends on #31 (kill count) → #21 → #18 → #17 → #15 → #51 (PokemonAutomation#1754). Base: bbq/auto-battle-kill-count; the diff shows only this change.

Part of PokemonAutomation/ComputerControl#263.

The heard kill count runs about one short of the game's, so in R3b's Auto Battle 10 the quest was already done at 9 heard kills and the fifth pass and its heal (~100 s) were wasted (C10). After a pass that ends within 2 kills of the target, run_auto_battle() now reads the quest panel through a new quest_on_board() step, which uses the existing read_quests() (~5 s), and stops with QuestDone if the quest is gone; far from the target nothing changes. Behavior change: passes near the target add a board read, and an attempt can end before the heard kills reach the target. Four new PokemonSV::BBQAutoBattle scenarios script the board (quest gone, quest still there, far from the target, high HP); the native BBQ runner passes 33 of 33.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

@dayfine
dayfine force-pushed the bbq/auto-battle-kill-count branch from 784fd59 to de521c7 Compare October 23, 2026 04:19
@dayfine
dayfine force-pushed the bbq/auto-battle-quest-done-check branch from 7fc417b to a5c19f0 Compare October 23, 2026 04:19
…d (C10)

The heard kill count runs about one short of the game's: a kill whose
sound is missed still counts in game. In R3b, 9 kills were heard after
pass 4 but the game had completed the quest, so pass 5 and its heal
(~100 s) were wasted.

After a pass that ends within 2 kills of the target, read the quest panel
at Central Plaza (the reader the post-quest check uses, ~5 s) before
healing. If the quest is gone, stop. Far from the target nothing changes.

Behavior change: a board read after passes that end near the target; an
attempt can end before the heard kills reach the target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
@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-quest-done-check 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