The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Setting what a Pokémon's eggs will hatch into?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old July 30th, 2018 (11:32 PM). Edited July 31st, 2018 by Topaz Light.
Topaz Light's Avatar
Topaz Light Topaz Light is offline
 
Join Date: Mar 2016
Location: SPECIAL AREA
Gender: Other
Nature: Gentle
Posts: 119
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?
__________________
Who has lost his tail?
The forgotten one of the ship that sails the cosmos.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 31st, 2018 (1:52 AM). Edited July 31st, 2018 by BirdstarCat13.
BirdstarCat13 BirdstarCat13 is offline
 
Join Date: Nov 2017
Gender: Male
Posts: 476
Bottom of the evolution line of the female, ie a male Delcatty and female Wailord will yield a Wailmer.
__________________
-------------------------
I hate signatures that are just a line of text without any clear division. You weirdos know who you are ;)
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 31st, 2018 (2:16 AM).
Topaz Light's Avatar
Topaz Light Topaz Light is offline
 
Join Date: Mar 2016
Location: SPECIAL AREA
Gender: Other
Nature: Gentle
Posts: 119
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.
__________________
Who has lost his tail?
The forgotten one of the ship that sails the cosmos.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 31st, 2018 (3:41 AM).
BirdstarCat13 BirdstarCat13 is offline
 
Join Date: Nov 2017
Gender: Male
Posts: 476
Quote:
Originally Posted by Topaz Light View Post
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.
__________________
-------------------------
I hate signatures that are just a line of text without any clear division. You weirdos know who you are ;)
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old July 31st, 2018 (1:10 PM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
Quote:
Originally Posted by Topaz Light View Post
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.
__________________
Binary is dead.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old July 31st, 2018 (2:39 PM).
Noodlewhiz's Avatar
Noodlewhiz Noodlewhiz is offline
 
Join Date: Apr 2017
Posts: 71
Quote:
Originally Posted by BirdstarCat13 View Post
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.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old July 31st, 2018 (3:13 PM).
Topaz Light's Avatar
Topaz Light Topaz Light is offline
 
Join Date: Mar 2016
Location: SPECIAL AREA
Gender: Other
Nature: Gentle
Posts: 119
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!
__________________
Who has lost his tail?
The forgotten one of the ship that sails the cosmos.
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old August 1st, 2018 (5:24 AM).
BirdstarCat13 BirdstarCat13 is offline
 
Join Date: Nov 2017
Gender: Male
Posts: 476
Quote:
Originally Posted by Topaz Light View Post
...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 :)
__________________
-------------------------
I hate signatures that are just a line of text without any clear division. You weirdos know who you are ;)
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old August 1st, 2018 (5:33 AM).
DizzyEgg's Avatar
DizzyEgg DizzyEgg is offline
 
Join Date: Feb 2014
Location: Poland
Age: 25
Gender: Male
Nature: Quiet
Posts: 794
Quote:
Originally Posted by Noodlewhiz View Post
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.
__________________
Support Pokeemerald!

Pokeemerald starter pack:
Emerald Expansion
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old August 1st, 2018 (4:27 PM).
Topaz Light's Avatar
Topaz Light Topaz Light is offline
 
Join Date: Mar 2016
Location: SPECIAL AREA
Gender: Other
Nature: Gentle
Posts: 119
Quote:
Originally Posted by BirdstarCat13 View Post
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.
__________________
Who has lost his tail?
The forgotten one of the ship that sails the cosmos.
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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