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 I Glitch Discussion

(0xC2)'s arbitrary Pokédex data in Japanese Yellow - Page 1

(0xC2)'s arbitrary Pokédex data in Japanese Yellow

Posted by: Torchickens
Date: 2018-04-10 17:43:03
I found this on a 2ch discussion thread about Pokémon glitches
https://2ch.vet/re_nozomi_poke_1477904768_2_100

Basically somebody found one of my videos
(https://www.youtube.com/watch?v=_yBGAVUm0dk) and applied it to Japanese Yellow.



第代だどま任て
でだと
http://www.youtube.com/watch?v=_yBGAVUm0dk

容の捏までなVCで可だっではな
のにとC2hて獲


17
18

の足
獲に表示にはつてな要
5の種64でっ32の場32大きにははぶになは
の転可になまで場


What the post is saying basically is if you catch (0xC2) (possible with Trainer escape glitch and a Special stat of 194) and do not have Rapidash set as seen in the Pokédex, its Pokédex entry will appear. Its category will be based on the second character of Pokémon 17 in the Pokémon storage system (beginning at DEC5) and the data that follows.

This is what you get for the quoted example.

[img]https://i.imgur.com/KRXn8ak.png[/img]

裏 means "secret trick" but is actually a cultural phrase. In this case is now the 'secret trick' Pokémon and has the word "" (bug as in a software bug) in the main text of its Pokédex entry.

According to my research for (hex:F9) in English Yellow, the source is F403 (copy of D403) and using the 08 text command character five bytes after the category name's first 0x50 byte could execute arbitrary code.

However, I don't know if the poster was ever able to execute arbitrary code, and placing the 08 five bytes after the category name's 0x50 for doesn't want to work for me for some reason (in fact the main entry text box text occupies this region but it ignored the text command character).

I tested this in v1.0 so there is a chance it could work differently in v1.1, v1.2 or v1.3. However the 2ch poster said it works on Virtual Console Yellow which could be v1.1+(?)

Re: (0xC2)'s arbitrary Pokédex data in Japanese Yellow

Posted by: ISSOtm
Date: 2018-04-11 08:02:12
This might be due to Pokédex entries being printed using a certain control char, which probably ignores all other control chars (since text is printed differently).
I might be wrong though, I haven't looked into it.