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.

Pokémon Discussion

Decoration data in Crystal - Page 1

Decoration data in Crystal

Posted by: etony33
Date: 2019-11-21 17:51:37
Longtime lurker here, first time poster. This stuff has always intrigued me.

Anyway, since I don't have access to Mystery Gift, I'm attempting to simulate it by picking random numbers and adding the items and/or decorations to my game via codes. I'm using the 01??03D0 code and just doing some trial and error. While FF gives them all, it seems that different values pertain to a different set of decorations (e.g. 013303D0 gave me only the Pink Bed and nothing else). Is this correct? Does anyone know how this works exactly? (Stupid question, I'm sure you do know).

Re: Decoration data in Crystal

Posted by: etony33
Date: 2019-11-22 09:02:27
EDIT: I mostly figured it out. These values are to be added together to determine which combination you have (e.g. 0166CADA would give you Voltorb, Grimer, Oddish, Magikarp, and Staryu dolls, and not Weedle, Shellder, or Gengar)

The one part I haven't figured out is the big dolls. I'm still experiencing minor graphical glitches with them, which means I've yet to pinpoint the correct value, other than that 017FCCDA gives you Big Onix and Big Lapras without any graphical glitch.

So, the Gameshark code is 01xxC6DA, 01xxC7DA, etc., where adding the hex values together gives a specific combination of decorations.

C6:
10: Feathery
20: Pink
40: Polkadot
80: Pikachu

C7:
01: Red Carpet
02: Blue Carpet
04: Yellow Carpet
08: Green Carpet
10: Magna Plant
20: Tropicplant
40: Jumboplant

C8:
01: Pikachu poster
02: Clefairy poster
04: Jigglypuff poster
08: NES
10: SNES
20: N64
40: Virtual Boy
80: Pikachu doll


C9:
01: Surf Pikachu doll
02: Clefairy doll
04: Jigglypuff doll
08: Bulbasaur doll
10: Charmander doll
20: Squirtle doll
40: Poliwag doll
80: Diglett doll

CA:
01: Staryu
02: Magikarp
04: Oddish
08: Gengar
10: Shellder
20: Grimer
40: Voltorb
80: Weedle

CB:
01: Unown
02: Geodude
04: Machop
08: Tentacool
20: Gold
40: Silver




I had to chance to play around with it a bit this morning.

I already had the Clefairy and Charmander doll from my mother buying them. I had the following results (note that these were added to the dolls I already had):

0100CBDA: Nothing
0101CBDA: Unown doll
0102CBDA: Geodude doll
0103CBDA: Unown doll, Geodude doll
0104CBDA: Machop doll
0105CBDA: Machop doll, Unown doll
0106CBDA: Machop doll, Geodude doll
0107CBDA: Machop doll, Unown doll, Geodude doll
0108CBDA: Tentacool doll
..
010FCBDA: Tentacool, Machop, Geodude, Unown

0110CBDA: Nothing
0111CBDA: Unown
..
0120CBDA: Gold trophy
0121CBDA: Gold trophy, Unown doll
..
0140CBDA: Silver trophy
014BCBDA: Silver trophy, Tentacool doll, Geodude doll, Unown doll

This seems to confirm my suspicions on how this works. I'll continue working on it, but in the meantime, if any of you has done this already, I'd love to hear your results.

Re: Decoration data in Crystal

Posted by: Parzival
Date: 2019-11-22 15:22:09
This is a bitfield, so each bit is whether or not one or another thing's unlocked, yes.

Re: Decoration data in Crystal

Posted by: Sherkel
Date: 2019-11-22 20:46:35
Yep, it goes through a set of flags to see which you've obtained, like whether you've gotten your starter, beaten Suicune, and stuff like that, in this order.

C6:
10: Feathery
20: Pink
40: Polkadot
80: Pikachu

Note how that's:
0b00010000
0b00100000
0b01000000
0b10000000

So 0b11110000 (0xF0) should give you all four. (The lower four bits seem to be the four Ruins of Alph puzzles.)

C9:
01: Surf Pikachu doll
02: Clefairy doll
04: Jigglypuff doll
08: Bulbasaur doll
10: Charmander doll
20: Squirtle doll
40: Poliwag doll
80: Diglett doll

And likewise, 20, 21, 23, and so forth, up to 27 (128, 0x80).

There are 46 of them, ending with the Big Lapras doll, so that should span six bytes, with four bits running over into the one before and two into the one after.

Re: Decoration data in Crystal

Posted by: Parzival
Date: 2019-11-23 00:46:07

Yep, it goes through a set of flags to see which you've obtained, like whether you've gotten your starter, beaten Suicune, and stuff like that, in this order.

C6:
10: Feathery
20: Pink
40: Polkadot
80: Pikachu

Note how that's:
0b00010000
0b00100000
0b01000000
0b10000000

So 0b11110000 (0xF0) should give you all four. (The lower four bits seem to be the four Ruins of Alph puzzles.)

C9:
01: Surf Pikachu doll
02: Clefairy doll
04: Jigglypuff doll
08: Bulbasaur doll
10: Charmander doll
20: Squirtle doll
40: Poliwag doll
80: Diglett doll

And likewise, 20, 21, 23, and so forth, up to 27 (128, 0x80).

There are 46 of them, ending with the Big Lapras doll, so that should span six bytes, with four bits running over into the one before and two into the one after.
wait Ruins of Alph has 4 puzzles?

Re: Decoration data in Crystal

Posted by: Bert
Date: 2019-11-23 03:28:22

wait Ruins of Alph has 4 puzzles?


Omanyte, Kabuto, Ho-Oh and Aerodactyl.

Re: Decoration data in Crystal

Posted by: Parzival
Date: 2019-11-23 23:02:21


wait Ruins of Alph has 4 puzzles?


Omanyte, Kabuto, Ho-Oh and Aerodactyl.
god iit's been forever since i played GSC, so much so that the most recent time I got that far was on my original playthrough of SoulSilver!

Re: Decoration data in Crystal

Posted by: Torchickens
Date: 2020-03-06 11:16:24
Glitch decorations are also in an unfinished PosterDex on the wiki https://glitchcity.info/wiki/PosterDex Near complete data (however these were gathered empirically; we may not know if any are from RAM) are at https://forums.glitchcity.info/index.php?topic=6202.0 and https://forums.glitchcity.info/index.php?topic=6205.0