-
Notifications
You must be signed in to change notification settings - Fork 98
Description
As I am writing this from my phone while travelling this issue is still incomplete. I will continue to add details as I have time. If someone with github permissions reads this feel free to assign it to me. I plan on working on this program starting 3/23
Game
Pokemon Fire Red & Leaf Green
Type
New program.
A number of users have mentioned wanting a program to automatically catch Chancy in the Safari Zone. Then check for the Lucky Egg held item resetting if not found.
Supporting Code Needed
- Need a HeldItemDetector.
- Need to verify the different dialogue boxes.
- Need a PartyMemberDetector to verify that there is empty slots for the captured Chansey.
Discord User Jack Mutsers has provided a lot of resources that I will attach here.
Setup Requirements
1. Empty your party so that you only have 2 Pokémon:
Slot 1: A Pokémon level 34 or higher
- This prevents encounters while walking to the Chansey location.
Slot 2: A Pokémon exactly level 26
Recommended options:
- For increased encounter rate:
- Starmie / Staryu with the "Illuminate" ability
- Diglett / Dugtrio with the "Arena Trap" ability
- For increased held item chance (1/5 instead of 1/20):
- Butterfree with the "Compound Eyes" ability (its only ability)
2. Stand one step away from the Safari Zone entrance employee.
3. Use a Max Repel.
4. Save the game in this state so it can be quickly reset automatically.
Encounter Loop
I haven't physically done the loop yet so I might change this as I test for reliablity.
-
Move up for 75 ms.
-
Wait 500 ms.
-
Alternate movement until an encounter occurs:
- Move left for 75 ms.
- Move up for 75 ms.
-
When entering combat, wait until the Pokémon sprite becomes visible.
-
Press A for 100 ms.
-
Check if the encountered Pokémon matches the Chansey image or OCR Pokemon Name.
If it is NOT Chansey:
- Move down for 75 ms.
- Move right for 75 ms.
- Press A for 100 ms (run/exit battle).
- Wait until combat has ended.
-
After Flee:
- Check if the character is still in the grass inside the Safari Zone:
- If yes, restart from Step 1.
- Check if the character is inside the Safari Zone entrance building:
- If yes, check for held items on caught Chansey.
- Hopefully there is an obvious text box for returning to the building.
- Check if the character is still in the grass inside the Safari Zone:
-
Checking captured Chansey:
- Press X for 75 ms.
- Move to the second option in the list.
- Scan for Chansey sprites.
If no Chansey is found:
- Restart the game (A + B + X + Y).
- Wait 1 second.
- Press A for 100 ms.
- Wait 500 ms.
- Press A for 100 ms.
- Press B repeatedly for 1.5 seconds.
- Restart the program.
-
If a Chansey is found:
- Check for the held item icon.
If no held item is present:
- Restart the game (A + B + X + Y).
- Wait 1 second.
- Press A for 100 ms.
- Wait 500 ms.
- Press A for 100 ms.
- Press B repeatedly for 1.5 seconds.
- Restart the program.
-
If the held item is found, stop the program.