Skip to content

FRLG Shiny Hunt Fishing Refactor#1297

Open
Dalton-V wants to merge 1 commit into
PokemonAutomation:mainfrom
Dalton-V:frlg-fishing-refactor
Open

FRLG Shiny Hunt Fishing Refactor#1297
Dalton-V wants to merge 1 commit into
PokemonAutomation:mainfrom
Dalton-V:frlg-fishing-refactor

Conversation

@Dalton-V

@Dalton-V Dalton-V commented Jun 21, 2026

Copy link
Copy Markdown
Member

Why:
For the upcoming Held Item Farmer - Safari Zone (Dragon Fang) I needed to use a fishing encounter loop. I figured a shared method for fishing encounters would be nice. Realized that the current state of Fishing Shiny Hunt has a lot of redundant code and some things that don't make sense.

Some things that didn't make sense:

AdvanceWhiteDialogWatcher
//dialog with red arrow ("Oh! A bite!")
There are no normal red arrow dialogs in the fishing loop. Also "Oh! A bite!" is not a dialog that appears in this game.

BITE_WAIT_MS
// Adaptive delay before pressing A after casting rod.
// Adjusted dynamically to maximize encounter success.
There is no reason to have logic for when to press buttons for fishing in FRLG.
If there is white dialog, you press B.
If you detect a black screen or the battle, the pokemon was hooked and the battle is started.
If nothing is detected press SELECT and try again.

GO_HOME_WHEN_DONE
Was not using the helper method run_end_of_program

Also noticed that there were no status notifications and the error stat was visible when zero.

Need to do a bit more testing prior to moving out of draft. Got a shiny using the new logic in the held item farmer (added into the lucky egg farmer, need to update the stats still...):
image

After testing this new fishing loop encounters ~21% more pokemon per hour.

@Dalton-V Dalton-V force-pushed the frlg-fishing-refactor branch from ed14e81 to 6bd1bda Compare June 21, 2026 16:45
@Dalton-V Dalton-V marked this pull request as ready for review June 22, 2026 03:56
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.

1 participant