The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Setting what a Pokémon's eggs will hatch into? (https://www.pokecommunity.com/showthread.php?t=412129)

Topaz Light July 30th, 2018 11:32 PM

Setting what a Pokémon's eggs will hatch into?
 
This is a little bit preemptive, but since it's going to be relevant to my hack, I was wondering how the Generation III games determine what Pokémon will be placed in an egg laid by any given Pokémon, since this obviously is a different species from that of the Pokémon laying the egg the majority of the time. I get the impression it would be a little convoluted to set it up to trace the Pokémon's evolution line backwards to find the earliest stage, but neither datacrystal nor Bulbapedia's Pokémon base stats data structure page seem to have any info on how that's determined.

What precautions, if any, do I need to take to make sure that eggs laid by newly-added Pokémon will hatch into the proper base form Pokémon?

BirdstarCat13 July 31st, 2018 1:52 AM

Bottom of the evolution line of the female, ie a male Delcatty and female Wailord will yield a Wailmer.

Topaz Light July 31st, 2018 2:16 AM

I mean, I know the end result of how it works; what I'm asking is, is there anything special I'd need to do, when hacking, in order to ensure that newly-added Pokémon would function that way as well?

Like, I know that it does work that way, but how is it working that way programmed, I guess is what I'm asking.

BirdstarCat13 July 31st, 2018 3:41 AM

Quote:

Originally Posted by Topaz Light (Post 9908504)
I mean, I know the end result of how it works; what I'm asking is, is there anything special I'd need to do, when hacking, in order to ensure that newly-added Pokémon would function that way as well?

Like, I know that it does work that way, but how is it working that way programmed, I guess is what I'm asking.

I literally just told you.

It takes the bottom of th evolution line of the female.

hjk321 July 31st, 2018 1:10 PM

Quote:

Originally Posted by Topaz Light (Post 9908504)
I mean, I know the end result of how it works; what I'm asking is, is there anything special I'd need to do, when hacking, in order to ensure that newly-added Pokémon would function that way as well?

Like, I know that it does work that way, but how is it working that way programmed, I guess is what I'm asking.

As long as you properly code the evolutions in a compatible pokemon editing program it *should* do it automatically.

Noodlewhiz July 31st, 2018 2:39 PM

Quote:

Originally Posted by BirdstarCat13 (Post 9908512)
I literally just told you.

It takes the bottom of th evolution line of the female.

He wants to know how the game knows HOW to do that.

I've always generally wondered that myself and would like to know, as well.

Topaz Light July 31st, 2018 3:13 PM

Okay, so what I'm getting here is that the game will just trace the evolution line back to the base form by itself and I don't need to go out of my way to set that up to work correctly; it comes as a set with the evolution data.

Thanks a bunch!

BirdstarCat13 August 1st, 2018 5:24 AM

Quote:

Originally Posted by Topaz Light (Post 9908772)
...the game will just trace the evolution line back to the base form by itself and I don't need to go out of my way to set that up to work correctly...

Yes, that's precisely what I said :)

DizzyEgg August 1st, 2018 5:33 AM

Quote:

Originally Posted by Noodlewhiz (Post 9908748)
He wants to know how the game knows HOW to do that.

I've always generally wondered that myself and would like to know, as well.

Each Egg has species assigned to it at the moment it is created. Its changeable btw, so you could change what it will hatch into in a script.

Topaz Light August 1st, 2018 4:27 PM

Quote:

Originally Posted by BirdstarCat13 (Post 9909047)
Yes, that's precisely what I said :)

My apologies; I was misinterpreting that as you just telling me how the end result works in gameplay, which I'm fully aware of and isn't what I was asking.

It's good to know the game just does that automatically, though! I guess I was kinda expecting each Pokémon to have the species ID of what an egg laid by it would hatch into somewhere in its data block or something.


All times are GMT -8. The time now is 9:11 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.