Skip to content

Commit a388b4e

Browse files
author
Gin
committed
add egg auto
1 parent 59154c6 commit a388b4e

File tree

8 files changed

+108
-13
lines changed

8 files changed

+108
-13
lines changed

Wiki/Programs/PokemonSV/AutoHost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For speed and convenience of [Fast Code Entry (FCE)](FastCodeEntry.md) users, th
5050
3. Every time you go online, your game will be hard-saved. This cannot be reversed by loading the backup save.
5151
4. If you go online and the event differs from what you currently are on, all raids will be rolled over.*
5252

53-
*This means that you will not be able to preserve a raid beyond the current event (or lack of event). Though further research is needed to confirm this.
53+
\*This means that you will not be able to preserve a raid beyond the current event (or lack of event). Though further research is needed to confirm this.
5454

5555

5656

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Egg Autonomous
2+
3+
*This program is still in development. It is not yet available to the public.*
4+
5+
## Program Description
6+
7+
A fully autonomous bot that uses visual feedback to fetch and hatch eggs. It will automatically detect and keep shinies and can also be configured to keep specific gender and IV spreads. It combines the functionalities of [Egg Fetcher](EggFetcher.md) and [Egg Hatcher](EggHatcher.md).
8+
9+
At every iteration, this program collects 30 eggs and then hatch them. It keeps the hatched Pokémon that meets the requirement in a box and releases the rest. It can reset the game if there is no Pokémon to keep in those 30 eggs, thereby saving the ingredients of the Egg Power Lv 2 Sandwich. It can run completely unattended for many days without intervention.
10+
11+
<img src="images/EggAuto-0.png">
12+
<img src="images/EggAuto-1.png">
13+
<img src="images/EggAuto-2.png">
14+
15+
16+
### Setup of Settings
17+
18+
1. Text Speed: Fast
19+
2. Give Nicknames: Off
20+
3. In-game Auto Save: Off, if you want the program to reset the game to save sandwich ingredients.
21+
22+
### Box Setup
23+
24+
1. Prepare three boxes.
25+
- 1.1. Left box: place a Flame Body Pokémon at first row and first column of the left box. This Pokémon will be used to hatch the eggs. Make sure the second box column from the left is empty. This column will be used to hold your fetcher party when the program is hatching eggs.
26+
- 1.2. Middle box: leave it empty.
27+
- 1.3. Right box: this is the box to hold Pokémon you would like to keep. Give it enough space.
28+
2. Set the current box as the middle box.
29+
3. All three boxes need to use the defaul wallpaper, Wallpaper 1.
30+
4. If you want to select keep Pokémon with certain IV spreads, you need to unlock IV judge functionality and set the current box view to be judge view.
31+
32+
### Instructions
33+
34+
1. You have picniced at least once to clear in-game picnic guide.
35+
2. You have a party of two or more Pokémon that can produce eggs. Usually one Ditto and another Pokémon. Eggs collected will not fill empty spots in the party. They will be sent to the current box directly.
36+
3. Making a sandwich gives 100 exp to each party Pokémon. Make sure when the program is running, none of your party Pokémon will evolve by sandwich exp.
37+
4. You have unlocked Great Peanut Butter Sandwich recipe (recipe ID 17). The program will make the sandwich to gain Egg Power Lv 2. Without Egg Power, it will be very slow to produce eggs in the picnic basket.
38+
5. You have bought enough ingredients for making the chosen number of sandwiches. Each Great Peanut Butter Sandwich costs one butter, one peanut butter, one banana and one pick. Any pick is fine: the program will always choose the first pick in the pick selection list. You can buy lots of silver picks for the cheap price.
39+
6. Fly to Zero Gate flying spot (see image below).
40+
7. Start the program in game.
41+
42+
<img src="images/ZeroGate.png">
43+
44+
### Notes on Egg mechanism
45+
46+
- If there is only one Pokémon in your party holding an item and that item is a Destiny Knot, all the item-free Pokémon can only pair with that Destiny Knot holder to generate eggs. So you can bring multiple native Pokémon to all pair with a single foreign 6IV Ditto that holds a Destiny Knot to generate Masuda-method eggs with good IVs.
47+
48+
- If more than one Pokémon holds Destiny Knot and the rest holds nothing, only the Pokémon with Destiny Knots will pair among themselves. So if you bring two Ditto with Destiny Knots and some other Pokémon without items, you will never get eggs as Ditto won't produce eggs with another Ditto.
49+
50+
For more investigation on Scarlet & Violet egg mechanism and how to optimize egg fetching, visit https://rotomlabs.net/article/breeding-scarlet-violet.
51+
52+
53+
54+
## Options
55+
56+
### Go Home when Done:
57+
58+
After the program finishes, go to the Switch Home to idle.
59+
60+
### Max Sandwiches:
61+
62+
How many Great Peanut Butter Sandwiches you can make before running out of ingredients.
63+
64+
### Game Language:
65+
66+
The language you are playing in. This is required only if you are doing IV filtering via the [Actions Table](#actions-table).
67+
68+
### Max Keepers:
69+
70+
Stop the program once it has kept this many babies.
71+
72+
### Auto-Saving:
73+
74+
You can set it to automatically save the game to recover from crashes, save ingredients or allow eggs to be unhatched.
75+
76+
**No auto-saving**: No error/crash recovery. If you find no kept Pokémon after end of the program, you can reset the game to recover sandwich ingredients. But if you want to keep any Pokémon, you will need to save the game afterwards and all the used ingredients are not recoverable.
77+
78+
**Save before picnic and after keeping a baby**: Allows for error/crash recovery. The program will reset the game if no kept Pokémon after one fetching-hatching iteration to recover the sandwich ingredients. Ingredients are only permanently spent when the program saves the game after a baby is kept.
79+
80+
**Save before every batch**: Allows you to unhatch eggs. Ingredients permanently spent after every picnic as the program will save before hatching each batch of five eggs. Unhatching eggs can be useful for obtaining breeding parents by rehatching a perfect egg in a game with a different language.
81+
To collect (unhatched) eggs with the desired stats, set this option to "Save before every batch".
82+
Then set the Action Table below to "Stop Program" on the desired stats.
83+
Once the program stops on the baby with the desired stats, you can manually reset the game and it will revert to an egg in your party.
84+
85+
### Actions Table:
86+
87+
This tables lets you specify the actions to perform on babies that meet a certain criteria.
88+
89+
By default, there is one action which is to keep all shinies. (deposit them into the right box)
90+
But you can add more actions to keep babies of certain gender and IV spreads. This is useful if you are still selectively breeding for perfect parents.
91+
92+
93+
## Credits
94+
95+
- **Author:** Gin
96+
97+
<hr>
98+
99+
**Discord Server:**
100+
101+
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
102+
103+

Wiki/Programs/PokemonSV/EggFetcher.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Make sandwiches and collect eggs.
1717
### Instructions
1818

1919
1. You have picniced at least once to clear in-game picnic guide.
20-
2. You have a party of two or more Pokémon that can produce eggs. Usually one Ditto with one or more other Pokémon. Eggs collected will not fill empty spots in the party. They will be sent to boxes directly.
20+
2. You have a party of two or more Pokémon that can produce eggs. Usually one Ditto and another Pokémon. Eggs collected will not fill empty spots in the party. They will be sent to the current box directly.
2121
3. Making a sandwich gives 100 exp to each party Pokémon. Make sure when the program is running, none of your party Pokémon will evolve by sandwich exp.
2222
4. You have unlocked Great Peanut Butter Sandwich recipe (recipe ID 17). The program will make the sandwich to gain Egg Power Lv 2. Without Egg Power, it will be very slow to produce eggs in the picnic basket.
2323
5. You have bought enough ingredients for making the chosen number of sandwiches. Each Great Peanut Butter Sandwich costs one butter, one peanut butter, one banana and one pick. Any pick is fine: the program will always choose the first pick in the pick selection list. You can buy lots of silver picks for the cheap price.
@@ -33,17 +33,7 @@ Make sandwiches and collect eggs.
3333

3434
- If more than one Pokémon holds Destiny Knot and the rest holds nothing, only the Pokémon with Destiny Knots will pair among themselves. So if you bring two Ditto with Destiny Knots and some other Pokémon without items, you will never get eggs as Ditto won't produce eggs with another Ditto.
3535

36-
37-
<!-- There are two findings regarding egg mechanism:
38-
39-
- Bring Pokémon from same species and from different OTs will increase egg production rate.
40-
41-
- Bring Pokémon from different languages will increase shiny chances (the Masuda method).
42-
43-
Since there is no way to control which two Pokémon in your party will produce an egg together, you will need a special party setting to maximize shiny hunting efficiency.
44-
Use shiny hunting pikachu as an example, you can bring three foreign language Ditto and three native pikachu with same gender.
45-
The same gender requirement is to prevent them from breeding among themselves, producing eggs without the Masuda method.
46-
Alternatively, you can bring three foreign language male pikachu and three native female pikachu as a party. -->
36+
For more investigation on Scarlet & Violet egg mechanism and how to optimize egg fetching, visit https://rotomlabs.net/article/breeding-scarlet-violet.
4737

4838

4939
## Options

Wiki/Programs/PokemonSV/EggHatcher.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
Hatch boxes of Pokémon.
88

9+
<img src="images/EggHatcher-0.png">
10+
911
### Setup of Settings
1012

1113
1. Text Speed: Fast
1.54 MB
Loading
2.08 MB
Loading
1.58 MB
Loading
2.29 MB
Loading

0 commit comments

Comments
 (0)