Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
TrainerDex
TypeDex
UnownDex
More

Major Glitches
Trainer escape glitch
Old man trick
Celebi Egg trick
Select glitches (Japan)
SRAM glitch
CoolTrainer♀ corruption
LOL glitch
Rival LOL glitch
Super Glitch
ZZAZZ glitch
Pomeg corruption glitch (Glitzer Popping)
Tweaking
Elite Four door glitch (Japan)
Pokémon merge glitch
Pokémon cloning
Time Capsule exploit
Arbitrary code execution
Coin Case glitches
More

Other Glitch Categories
Glitches by generation
Glitches between two generations
Japan-only/language specific glitches
Music glitches
Natural glitches
Non-core series glitches
Non-Pokémon glitches
Officially acknowledged glitches
Recurring glitches
Dead glitches

References
Pokémon GameShark codes
The Big HEX List
Glitch Pokémon cries
GB programming
Curiosities
Debugging features
Easter eggs
Error traps
Glitch areas
Glitch myths
Non-glitch exploits
Placeholder texts
Pokémon glitch terminology
Unused content and prerelease information

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: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)  (Read 666 times)

0 Members and 1 Guest are viewing this topic.

Harvey27

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • I always like to learn new things
    • View Profile
Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« on: August 13, 2017, 09:12:46 pm »
Hello everyone, I hope you are well. Well, I make this post because I need help about emulating the event of Egg Ticket on my departure (which will attach in this post) Pokemon Crystal (JP), so I have understood, you need to make a change in starting to get it, But I have not the slightest idea how to do it, so I came to ask for help from someone who can do me this favor, I would greatly appreciate it, I have been looking for this event for a long time. Sorry for the inconvenience and I thank you from the heart who can help me and read this post.
« Last Edit: August 13, 2017, 09:15:57 pm by Harvey27 »
Hi, my name is Juan Harvey, I hope you're well. I am a very reserved and shy person with new people that I know, I like to learn and I have a lot of interest in the programming, although I just begin to learn. I like pokemon since I was a kid and I like to collect pokemon with rare tutor movements, exclusive moves, etc. I hope to be of your liking and to be able to help you in what I can.

Parzival

  • DO NOT TOUCH SPAGOOT
  • GCLF Member
  • *
  • Online Online
  • aaaaaaaaaaaaaaaaaaaaaa
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #1 on: August 13, 2017, 10:02:08 pm »
Hello everyone, I hope you are well. Well, I make this post because I need help about emulating the event of Egg Ticket on my departure (which will attach in this post) Pokemon Crystal (JP), so I have understood, you need to make a change in starting to get it, But I have not the slightest idea how to do it, so I came to ask for help from someone who can do me this favor, I would greatly appreciate it, I have been looking for this event for a long time. Sorry for the inconvenience and I thank you from the heart who can help me and read this post.
IIRC you can set events in SRAM to take effect when you next boot up, but I don't know the offsets or values in the J version.
Ask Torchickens or ISSOtm.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.


ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #2 on: August 14, 2017, 04:54:59 pm »
Normally, there is a flag in the save file that controls whether the event is active or not. I don't think the JP version of Crystal has been disassembled, so you'd need to figure which offset the flags are stored at.
For the next part, I'd assume flags are laid out in the same way in the JP and US versions, so the flag would be at the same distance (from the base offset figured earlier). Then you just set the bit, and modify the checksums to avoid a "yer file is darn corrupted, sonny !".

Another solution is to simply edit the flag in the game's WRAM while it's running (which should be as simple as a GameShark code).
Again, this should be figured out fairly simply, I think memory in the JP and US versions is laid out quite similarly.
"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 !)

Harvey27

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • I always like to learn new things
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #3 on: August 14, 2017, 08:11:43 pm »
Normally, there is a flag in the save file that controls whether the event is active or not. I don't think the JP version of Crystal has been disassembled, so you'd need to figure which offset the flags are stored at.
For the next part, I'd assume flags are laid out in the same way in the JP and US versions, so the flag would be at the same distance (from the base offset figured earlier). Then you just set the bit, and modify the checksums to avoid a "yer file is darn corrupted, sonny !".

Another solution is to simply edit the flag in the game's WRAM while it's running (which should be as simple as a GameShark code).
Again, this should be figured out fairly simply, I think memory in the JP and US versions is laid out quite similarly.

The truth is that I already tried to modify the save file of Pokemon Crystal (JP) with respect to the post made in this place, first doing a backup of the save file, but it corrupted the game, later I went with several people who knew about this, Asking if they help me, because one of them does not like it so much, let this search pause, but the truth, I would like to have it, but I do not know how to do it, I have not found any gameshark code of the Egg Ticket and therefore the only thing I have as a reference Is the post, but I really have no idea how to do it, so I thought of doing this post to get a help, if you wish, you can keep the save file, but in truth, I do not want to damage the game again Since I have it quite advanced, apologize for how long this response is.
Hi, my name is Juan Harvey, I hope you're well. I am a very reserved and shy person with new people that I know, I like to learn and I have a lot of interest in the programming, although I just begin to learn. I like pokemon since I was a kid and I like to collect pokemon with rare tutor movements, exclusive moves, etc. I hope to be of your liking and to be able to help you in what I can.

Parzival

  • DO NOT TOUCH SPAGOOT
  • GCLF Member
  • *
  • Online Online
  • aaaaaaaaaaaaaaaaaaaaaa
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #4 on: August 14, 2017, 09:48:34 pm »
Normally, there is a flag in the save file that controls whether the event is active or not. I don't think the JP version of Crystal has been disassembled, so you'd need to figure which offset the flags are stored at.
For the next part, I'd assume flags are laid out in the same way in the JP and US versions, so the flag would be at the same distance (from the base offset figured earlier). Then you just set the bit, and modify the checksums to avoid a "yer file is darn corrupted, sonny !".

Another solution is to simply edit the flag in the game's WRAM while it's running (which should be as simple as a GameShark code).
Again, this should be figured out fairly simply, I think memory in the JP and US versions is laid out quite similarly.

The truth is that I already tried to modify the save file of Pokemon Crystal (JP) with respect to the post made in this place, first doing a backup of the save file, but it corrupted the game, later I went with several people who knew about this, Asking if they help me, because one of them does not like it so much, let this search pause, but the truth, I would like to have it, but I do not know how to do it, I have not found any gameshark code of the Egg Ticket and therefore the only thing I have as a reference Is the post, but I really have no idea how to do it, so I thought of doing this post to get a help, if you wish, you can keep the save file, but in truth, I do not want to damage the game again Since I have it quite advanced, apologize for how long this response is.
If it marked it as corrupted, you forgot to re-sum the save.
Set the bit with a GS code, then save and reset and let the game do it for you.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.


ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #5 on: August 15, 2017, 04:29:52 am »
@harvey :
The thing with the game's save file is that there's a system to check if they have been tampered with. Thus, when modifying your save file, you need to change a few other bytes to make it valid to the game's save file loader.
The other option relies on the fact that the "main" data (ie. all saved data but Pokémon boxes) is transferred to WRAM when loading your save, and back to SRAM when saving.
Thus, you can :
1. load your valid save file
2. edit the byte in WRAM (RAM, if you want) containing the bit controlling the event
3. save your game (optional, since the event will be active, but for the sake of safety it's a good idea)
4. you got it !
Because there's no protection against modifying WRAM (and for a good reason : the game always modifies WRAM because it's its "workspace" !), you can freely edit it and have the game's saving code perform the checksum calculation for you by clicking that "SAVE" option !
"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 !)

Harvey27

  • GCLF Member
  • Offline Offline
  • Gender: Male
  • I always like to learn new things
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #6 on: August 15, 2017, 10:21:27 pm »
I do not want to be rude, I want to tell you that I really do not know how to modify the save files or understand the indications they give me since I do not know the subject, I would like to learn, besides not understanding English perfectly since my native language is The Spanish, then I go slowly learning to defend myself better in this language; But for the moment I have no way to divide my time, so I know that what I will ask next is very brazen of me, so I ask if there is any possibility that someone who knows how to modify my game to get the Egg Ticket can To make the necessary modification to obtain it, even if I do not have to pay such a favor, I can wait, if they can not, at least I appreciate the help they gave me, as I gradually lose more of the courage and hope that I can get that rare pokemon that So anxious. Thank you for taking the time to help me and I admire your great work in everything done on this page, especially the Egg Ticket (With the Mobile Adapter GB System).
Hi, my name is Juan Harvey, I hope you're well. I am a very reserved and shy person with new people that I know, I like to learn and I have a lot of interest in the programming, although I just begin to learn. I like pokemon since I was a kid and I like to collect pokemon with rare tutor movements, exclusive moves, etc. I hope to be of your liking and to be able to help you in what I can.

Háčky

  • Distinguished Member
  • *
  • Offline Offline
  • Pick which packet as an error?
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #7 on: August 15, 2017, 11:39:25 pm »
Editing the save file won’t help because the Egg Ticket event is not in the game. There is nothing in the Japanese ROM that defines which Pokémon you can receive from it or what their chance of being shiny is. The only way to redeem the Egg Ticket is to connect to an emulated Mobile System GB with an emulated Mobile Adapter GB in order to download a file which contains the Pokémon’s data. The proof-of-concept Python script I wrote last year links to BGB and emulates enough of the Mobile Adapter GB and Mobile System GB to allow the Egg Ticket to be redeemed. (It assumes that the Pokémon available using the Egg Ticket were the same ones, with the same probabilities, as in the English version’s Odd Egg event; I don’t know for sure that this assumption is correct.)

Parzival

  • DO NOT TOUCH SPAGOOT
  • GCLF Member
  • *
  • Online Online
  • aaaaaaaaaaaaaaaaaaaaaa
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #8 on: August 16, 2017, 12:21:48 pm »
(It assumes that the Pokémon available using the Egg Ticket were the same ones, with the same probabilities, as in the English version’s Odd Egg event; I don’t know for sure that this assumption is correct.)
From (ECCH) Bulbapedia:
Quote
In the Japanese version of Pokémon Crystal, there is a 50% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and a 50% chance it will not (IVs 0/0/0/0).
In the international versions of Pokémon Crystal, there is a 14% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and an 86% chance it will not (IVs 0/0/0/0), but the chance of any particular Pokémon species hatching from the Egg and the chance of any given species being Shiny are not uniform.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.


Háčky

  • Distinguished Member
  • *
  • Offline Offline
  • Pick which packet as an error?
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #9 on: August 16, 2017, 03:13:33 pm »
(It assumes that the Pokémon available using the Egg Ticket were the same ones, with the same probabilities, as in the English version’s Odd Egg event; I don’t know for sure that this assumption is correct.)
From (ECCH) Bulbapedia:
Quote
In the Japanese version of Pokémon Crystal, there is a 50% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and a 50% chance it will not (IVs 0/0/0/0).
In the international versions of Pokémon Crystal, there is a 14% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and an 86% chance it will not (IVs 0/0/0/0), but the chance of any particular Pokémon species hatching from the Egg and the chance of any given species being Shiny are not uniform.

Bulbapedia originally said that the Odd Egg had a 50% chance of being shiny in all versions, then that it was 50% for the Japanese event but 12.5% in the English version, then reverted back to 50% for all versions until someone finally came up with the correct 14% figure from the localizations. I have no reason to believe that the 50% figure is anything more than someone’s guess that’s been propagated as fact.

Parzival

  • DO NOT TOUCH SPAGOOT
  • GCLF Member
  • *
  • Online Online
  • aaaaaaaaaaaaaaaaaaaaaa
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #10 on: August 16, 2017, 03:28:33 pm »
(It assumes that the Pokémon available using the Egg Ticket were the same ones, with the same probabilities, as in the English version’s Odd Egg event; I don’t know for sure that this assumption is correct.)
From (ECCH) Bulbapedia:
Quote
In the Japanese version of Pokémon Crystal, there is a 50% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and a 50% chance it will not (IVs 0/0/0/0).
In the international versions of Pokémon Crystal, there is a 14% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and an 86% chance it will not (IVs 0/0/0/0), but the chance of any particular Pokémon species hatching from the Egg and the chance of any given species being Shiny are not uniform.

Bulbapedia originally said that the Odd Egg had a 50% chance of being shiny in all versions, then that it was 50% for the Japanese event but 12.5% in the English version, then reverted back to 50% for all versions until someone finally came up with the correct 14% figure from the localizations. I have no reason to believe that the 50% figure is anything more than someone’s guess that’s been propagated as fact.
f**k it. At least we can say we tried.
Ask me about betrayal.
Ask me about depression.
Ask me about death.
Ask me about destruction.
Ask me about hardship.
I've been through s**t.
If you need to talk to someone, my PM inbox is always open.


ISSOtm

  • The French Lord of Laziness (and a huge The Legend Of Zelda fan)
  • Wiki Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Pewter City (B)rocks !
    • View Profile
    • My Little Website
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #11 on: August 16, 2017, 05:32:27 pm »
@Háčky So you run the Python script, launch BGB, connect and transfer ?
Nice.
"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 !)

SnorlaxMonster

  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Probably on Bulbapedia
    • View Profile
Re: Help to emulate the Egg Ticket Event in Pokemon Crystal (JP)
« Reply #12 on: September 21, 2017, 05:51:41 am »
(It assumes that the Pokémon available using the Egg Ticket were the same ones, with the same probabilities, as in the English version’s Odd Egg event; I don’t know for sure that this assumption is correct.)
From (ECCH) Bulbapedia:
Quote
In the Japanese version of Pokémon Crystal, there is a 50% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and a 50% chance it will not (IVs 0/0/0/0).
In the international versions of Pokémon Crystal, there is a 14% chance the hatched Pokémon will be Shiny (IVs 2/10/10/10) and an 86% chance it will not (IVs 0/0/0/0), but the chance of any particular Pokémon species hatching from the Egg and the chance of any given species being Shiny are not uniform.

Bulbapedia originally said that the Odd Egg had a 50% chance of being shiny in all versions, then that it was 50% for the Japanese event but 12.5% in the English version, then reverted back to 50% for all versions until someone finally came up with the correct 14% figure from the localizations. I have no reason to believe that the 50% figure is anything more than someone’s guess that’s been propagated as fact.
To the best of my knowledge, the 50% figure was originally determined by Meowth346 of Pokémon Forever. Since he did have the exact properties of the Odd Egg in 2001, I don't think it was purely guesswork. (That page also appears to be the basis for the UPC page, unless it's the other way around.)

I have been in contact with Meowth lately, so I'll see if he can remember anything about how he came to that conclusion (but since it was 15 years ago, I imagine it's going to be difficult).
« Last Edit: September 21, 2017, 05:52:47 am by SnorlaxMonster »