Skip to content

SwSh Egg program refactor - #1336

Merged
Mysticial merged 20 commits into
PokemonAutomation:mainfrom
jw098:egg
Jul 25, 2026
Merged

SwSh Egg program refactor#1336
Mysticial merged 20 commits into
PokemonAutomation:mainfrom
jw098:egg

Conversation

@jw098

@jw098 jw098 commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@jw098
jw098 marked this pull request as draft July 24, 2026 06:15
@jw098
jw098 marked this pull request as ready for review July 25, 2026 04:26
@Mysticial
Mysticial merged commit 030dec4 into PokemonAutomation:main Jul 25, 2026
7 checks passed
@jw098
jw098 deleted the egg branch July 25, 2026 06:29
Developer-Butters pushed a commit to Developer-Butters/Arduino-Source that referenced this pull request Jul 28, 2026
* turn  run_batch() into state machine

* add NUM_EGGS_IN_PARTY, which affects number of eggs fetched on the first batch

* add SwSh::save_game()

* add watchers to confirm starting conditions for routines

* refactor talk_to_lady_to_fetch_egg

* refactor run_bike_loop

* fix bike loop routine

* add EmptySlotDetector. add check_box()

* run check_box() at the start of the program, and after every process_hatched_pokemon()

* fix initialization of num_eggs_retrieved and total_eggs_to_fetch

* add recovery routine if never spoke to lady. reset position.

* update logging

* check eggs in box, before process_hatched_pokemon()

* Change box view to judge or stats

* add parameter for number of expected eggs/empty slots

* update logging

* update comments

* change view to judge at beginning of program

* counting eggs and empty slots are split into separate functions

* update error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants