Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation II Glitch Discussion

Odd Egg Event Flag Memory Adress? - Page 1

Odd Egg Event Flag Memory Adress?

Posted by: Inkblot
Date: 2018-02-01 09:25:49
Does anyone know what the memory address is that determines if the odd egg had been accepted yet? I want to know so I could use ACE to set it so that I can get another one.

EDIT: I know I can use the cloning glitch to get as many as I want, But If you are too late with the timing the game will save and you will be unable to continue to reset for it. So I just want this as a safety net, and so I don't have to use a program to backup my save in case I do fail.

Re: Odd Egg Event Flag Memory Adress?

Posted by: Krys3000
Date: 2018-02-01 09:37:35
I'm not sure, but maybe this is not an individual flag address, but a bit of the address that controls the Day Care Man.

$DEF5
Bit 1 is set if a Pokémon has been given to the man
Bit 6 is set if an Egg is ready
Bit 7 is always set after the first talk with the Daycare man

We could try to affect other bits and see if the Odd Egg event is available again


EDIT: Nevermind, it's flag $DAD9 in fact. Bit 6 is set when you have the Egg, so you just need to put it back to 00 to have another Egg.

Re: Odd Egg Event Flag Memory Adress?

Posted by: Inkblot
Date: 2018-02-01 10:15:28

I'm not sure, but maybe this is not an individual flag address, but a bit of the address that controls the Day Care Man.

$DEF5
Bit 1 is set if a Pokémon has been given to the man
Bit 6 is set if an Egg is ready
Bit 7 is always set after the first talk with the Daycare man

We could try to affect other bits and see if the Odd Egg event is available again


EDIT: Nevermind, it's flag $DAD9 in fact. Bit 6 is set when you have the Egg, so you just need to put it back to 00 to have another Egg.


Thank you! This will definitely help!

Re: Odd Egg Event Flag Memory Adress?

Posted by: ISSOtm
Date: 2018-02-01 11:41:59
What are the side effects of setting this address to zero ? You're resetting 7 other bits, after all…

Re: Odd Egg Event Flag Memory Adress?

Posted by: Krys3000
Date: 2018-02-01 16:53:21
In my game, the value was at 40, but I don't know if the other bits are unused or if I didn't do whatever the other bits are controlling.

I agree that it would seem a little strange that at least bit 7 is unused. I've seen several G/S/C addresses for which only bit 7 and 6, or bit 7 to 4, are used, but I've never seen a case like this before.