Added the constant for what level eggs hatch at. (#272)

* Started adding the egg-hatch level constants.

Added the offsets for Ruby & Sapphire so far. These addresses are all the same, apart from v1.1 increasing all of them by 0x20.

Credits: Jambo51 and VersekrDark (with the help of ModExe Ruby)

The anchor name could change.

* Added the lines for FireRed, LeafGreen, & Emerald.

I also specified the domain of valid levels in the comments. According to the PokéCommunity thread (linked in the Pull Request description), the game bugs out when choosing a constant greater than 100.

Credits: Jambo51 & Wobbu
This commit is contained in:
ShinyTillDawn 2025-07-16 23:04:53 -04:00 committed by GitHub
parent c8771895d2
commit ffcfbf7fd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -534,3 +534,13 @@ BPGE0.scripts.seagallop.count-1 147124
BPRE1.scripts.seagallop.count-1 1471C0
BPGE1.scripts.seagallop.count-1 14719C
# What level Pokémon eggs hatch at
AXVE0.scripts.daycare.hatchlevel 042068,042132,042954,0A080C # You can change the level at which eggs hatch. Choose a level between 1 and 100.
AXPE0.scripts.daycare.hatchlevel 042068,042132,042954,0A080C # You can change the level at which eggs hatch. Choose a level between 1 and 100.
AXVE1.scripts.daycare.hatchlevel 042088,042152,042974,0A082C # You can change the level at which eggs hatch. Choose a level between 1 and 100.
AXPE1.scripts.daycare.hatchlevel 042088,042152,042974,0A082C # You can change the level at which eggs hatch. Choose a level between 1 and 100.
BPRE0.scripts.daycare.hatchlevel 04623E,046CBE,1375B0 # You can change the level at which eggs hatch. Choose a level between 1 and 100.
BPGE0.scripts.daycare.hatchlevel 04623E,046CBE,137588 # You can change the level at which eggs hatch. Choose a level between 1 and 100.
BPRE1.scripts.daycare.hatchlevel 046252,046CD2,137628 # You can change the level at which eggs hatch. Choose a level between 1 and 100.
BPGE1.scripts.daycare.hatchlevel 046252,046CD2,137600 # You can change the level at which eggs hatch. Choose a level between 1 and 100.
BPEE0.scripts.daycare.hatchlevel 070A38,071414,1C3200 # You can change the level at which eggs hatch. Choose a level between 1 and 100.