Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
AreaDex
DexDex
ItemDex
TMHMDex
TypeDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
SRAM glitch
Buffer overflow techniques
Pomeg glitch data corruption (Glitzer Popping)
Tweaking
Pokémon cloning
Select glitches (Japan)
Time Capsule exploit
Arbitrary code execution
More

Other Glitch Categories
Glitches by generation
Japan-only/language specific glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Recurring glitches
More

References
Pokémon GameShark codes
The Big HEX List
GB programming
Curiosities
Debugging features
Error traps
Non-glitch exploits
Pokémon glitch terminology
Unused content and prerelease information
More

Useful Tools
8F Helper
GBz80 to Items
Old man trick name generator
PATH (Prama's Advanced Tweaking Heaven)
Save file editors
Special stat/Pokémon converter
Trainer escape Trainer Pokémon finder

Affiliates
Legendary Star Blob 2 (Hakuda)
Pokémon Speedruns wiki
PRAMA Initiative
Become an affiliate!

Technical
Site Source Code

Search Wiki

 

Search Forums

 

Author Topic: Odd Egg Event Flag Memory Adress?  (Read 184 times)

0 Members and 1 Guest are viewing this topic.

Inkblot

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Odd Egg Event Flag Memory Adress?
« on: February 01, 2018, 09:25:49 am »
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.
« Last Edit: February 01, 2018, 09:28:04 am by Inkblot »

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Odd Egg Event Flag Memory Adress?
« Reply #1 on: February 01, 2018, 09:37:35 am »
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.
« Last Edit: February 01, 2018, 09:51:06 am by Krys3000 »

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov

Inkblot

  • GCLF Member
  • Offline Offline
  • CHARIZRAD 'M ROXORX or is it.
    • View Profile
Re: Odd Egg Event Flag Memory Adress?
« Reply #2 on: February 01, 2018, 10:15:28 am »
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!

ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Staff
  • *****
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Odd Egg Event Flag Memory Adress?
« Reply #3 on: February 01, 2018, 11:41:59 am »
What are the side effects of setting this address to zero ? You're resetting 7 other bits, after all...
"THOU SHALL NOT PASS !!"  RIVAL's effect, Gandalf.

Proudly glitching Pokémon Red and Yellow on a Black & White GB, Pocket GB, GB Color, GBA SP and new 3DS.

My Twitter (beware, I'm French)
My YouTube (same warning)

Here is an online tool to build 8F setups : GBz80 to Items !

They see me layzin', they ha-tin'...
Heavy contributor of the global augmentation of entropy (my room's is too damn high !)

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Odd Egg Event Flag Memory Adress?
« Reply #4 on: February 01, 2018, 04:53:21 pm »
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.

Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov