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

Safari Zone: Mysterious hidden texts - Page 2

Re: Safari Zone: Mysterious hidden texts

Posted by: Háčky
Date: 2016-12-23 14:50:52

TCRF says that there is an untranslated data corruption error used by the Cable Club in Red and Green.

https://github.com/YamaArashi/pokered-jp/blob/master/engine/cable_club.asm#L310-L318

Does it even exist in the English versions and, if so, is it returned as mojibake?

That message and its associated code only exist in the original Red/Green ROMs, not in Rev. A or any later games.

Re: Safari Zone: Mysterious hidden texts

Posted by: Torchickens
Date: 2016-12-23 14:53:31


TCRF says that there is an untranslated data corruption error used by the Cable Club in Red and Green.

https://github.com/YamaArashi/pokered-jp/blob/master/engine/cable_club.asm#L310-L318

Does it even exist in the English versions and, if so, is it returned as mojibake?

That message and its associated code only exist in the original Red/Green ROMs, not in Rev. A or any later games.


That's really interesting Háčky. I didn't know there were differences in text between rev 1.0 and rev A. Is the message used in any way (possibly by trading an unstable hybrid glitch Pokémon)? I think probably not if it only exists in one revision but I'm curious.

Re: Safari Zone: Mysterious hidden texts

Posted by: Háčky
Date: 2016-12-23 14:58:22



TCRF says that there is an untranslated data corruption error used by the Cable Club in Red and Green.

https://github.com/YamaArashi/pokered-jp/blob/master/engine/cable_club.asm#L310-L318

Does it even exist in the English versions and, if so, is it returned as mojibake?

That message and its associated code only exist in the original Red/Green ROMs, not in Rev. A or any later games.


That's really interesting Háčky. I didn't know there were differences in text between rev 1.0 and rev A. Is the message used in any way (possibly by trading an unstable hybrid glitch Pokémon)? I think probably not if it only exists in one revision but I'm curious.

It looks like the message is shown if either players name starts with $60 (bold A). I dont know why that would be the case, and I guess Game Freak didnt either :P

ld a, [wPlayerName]
cp $60
jr nz, .playerDataNotCorrupted
ld de, OneselfString
jr .corrupted
.playerDataNotCorrupted
ld a, [wLinkEnemyTrainerName]
cp $60
jr nz, .parterDataNotCorrupted
ld de, PartnerString
.corrupted
call CopyStringToCF4B
ld hl, DataCorruptedString
call PrintText
jr @ ; spin

Re: Safari Zone: Mysterious hidden texts

Posted by: Stackout
Date: 2016-12-23 15:29:07
About interesting trade oddities, and hidden texts, there's the nice error regarding evolution of Pokémon received via an NPC trade.

If you're unwilling to click through (the comments describe it nicely), basically, the first characters of the species names of the received Pokémon are checked with "G" (for Graveler), and what was meant to be Haunter… but this code was localised before the localised Pokémon names were finalised, so it checks for a species name starting "SP" (Haunter's prototype name being "Spectre").

(Actually, looking at that image with prototype names.. none of them seem to be more than seven characters long. Maybe the entire reason the names were changed in the first place was because the space was found to increase names from a maximum of seven characters to eleven characters in length! In fact, Graveler's prototype name was just missing its ending "r". This wouldn't matter for Haunter though, its species name being the same length as the one it replaced.)

Re: Safari Zone: Mysterious hidden texts

Posted by: Torchickens
Date: 2016-12-23 17:48:22




TCRF says that there is an untranslated data corruption error used by the Cable Club in Red and Green.

https://github.com/YamaArashi/pokered-jp/blob/master/engine/cable_club.asm#L310-L318

Does it even exist in the English versions and, if so, is it returned as mojibake?

That message and its associated code only exist in the original Red/Green ROMs, not in Rev. A or any later games.


That's really interesting Háčky. I didn't know there were differences in text between rev 1.0 and rev A. Is the message used in any way (possibly by trading an unstable hybrid glitch Pokémon)? I think probably not if it only exists in one revision but I'm curious.

It looks like the message is shown if either players name starts with $60 (bold A). I dont know why that would be the case, and I guess Game Freak didnt either :P

ld a, [wPlayerName]
cp $60
jr nz, .playerDataNotCorrupted
ld de, OneselfString
jr .corrupted
.playerDataNotCorrupted
ld a, [wLinkEnemyTrainerName]
cp $60
jr nz, .parterDataNotCorrupted
ld de, PartnerString
.corrupted
call CopyStringToCF4B
ld hl, DataCorruptedString
call PrintText
jr @ ; spin



Wow, that is really odd. Thanks Háčky! :D I'd love to work out how to set that up without arbitrary code execution so you have a name beginning with the hex:60 character.

I'm going to try this on v1.0 and Rev A now and see what happens. (Maybe the function was removed in Rev A but I want to find out whether it wasn't and the game tries to load it without the text).

Edit: Between two v1.0 games the text "ぶの てま!できって なてくだ" ("My data is corrupted! Please turn off the power and try again.") appeared during a communications message (before the trade list was brought up) and interestingly continuously appeared after the text box closed. Note my none of the player's names was ぶ (a Japanese word meaning "myself"). I wonder now whether this was a leftover debugging message.
Edit 2: If one player doesn't have the hex:60 in their name, it is possible to see "て てま!できって なてくだ" て means partner.

[img]http://i.imgur.com/sKdl1jr.png[/img]

Edit 2: All known revisions of the other Japanese Generation I games seem to allow a trade and cause nothing to happen when the name begins with hex:60. On Japanese Yellow Rev B I encountered a strange communication error at one time but it might be unrelated.

[img]http://i.imgur.com/sGzX6KN.png[/img]

Re: Safari Zone: Mysterious hidden texts

Posted by: SatoMew
Date: 2016-12-23 19:00:12
Like Torchickens posted, this is what happens:

- both players have [tt]60[/tt] as the first character in their name

[img]https://i.imgur.com/o5G6kzx.png[/img] [img]https://i.imgur.com/j0xYAsC.png[/img]

- either player has [tt]60[/tt] as the first character in their name

[img]https://i.imgur.com/o5G6kzx.png[/img] [img]https://i.imgur.com/YdNxX2K.png[/img]

In both cases, this causes the games to enter a seemingly endless loop.

When I connected Red v1.0 with Yellow v1.3, the error was shown by Red once before reloading the normal please-wait message screen.

As to Yellow, I could start a battle and get the Red player's Pokémon to hit mine after I hit it. After that, it gets stuck in the please-wait message after I choose a move. On a second try, I ran from the battle and it worked.

Trading works in a similar fashion on Yellow's side. Initiating and cancelling a trade leaves you stuck with the please-wait message. Attempting to close the trade screen doesn't work on the first try as you're returned to it and the second try then causes a stuck please-wait message.

[img]https://i.imgur.com/n3EG9DB.png[/img] [img]https://i.imgur.com/e8Q4kHS.png[/img] [img]https://i.imgur.com/dqeo3a5.png[/img] [img]https://i.imgur.com/ixHG1O7.png[/img]

Re: Safari Zone: Mysterious hidden texts

Posted by: Torchickens
Date: 2016-12-23 19:33:47
SatoMew, were the error messages above from after choosing to battle in the Colosseum? I ask because although I tested all Japanese versions I only tested trying to connect in the Trade Corner. Thanks!

Re: Safari Zone: Mysterious hidden texts

Posted by: SatoMew
Date: 2016-12-23 19:43:57

SatoMew, were the error messages above from after choosing to battle in the Colosseum? I ask because although I tested all Japanese versions I only tested trying to connect in the Trade Corner. Thanks!


Yes, I only tested the Colosseum between Red v1.0 and Green v1.0. Strangely, できってなてくだ is not shown after ぶのてま!  or てのてま!. The games simply keep reloading the same screen again and again.

Re: Safari Zone: Mysterious hidden texts

Posted by: Torchickens
Date: 2017-01-16 18:09:43
Thanks for your input! I now have a video about the error messages.

https://www.youtube.com/watch?v=kPZFUyeShOk

I suddenly realized something about hex:60. It might be relevant that there is apparently code so that all characters below hex:60 (hex:60 specifically) apart from control characters have a dakuten ( ) or handakuten  ( ) .

https://hax.iimarck.us/post/8858/#p8858

This could be unrelated however.

Re: Safari Zone: Mysterious hidden texts

Posted by: Unused Trainer
Date: 2017-01-17 04:18:11
Nice unused-beta finding!