Glitch City Laboratories Forums

Lab γ: Video Games and Glitches Discussion => Pokémon Glitch Discussion => Generation I Glitch Discussion => Topic started by: foodship9 on June 03, 2019, 09:48:19 am

Title: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: foodship9 on June 03, 2019, 09:48:19 am
I was reading a glitch playthrough of pokemon blue and it seems like whenever this pokemon's name is on screen, the letter q appears on the screen. I noticed that q is in this pokemon's name bytes (32 4E 6D 4E B0 4E 12 4F D4 4F 50) and it seems like the q is always printed four lines below where the name should be printed. Is this because the first four characters are interpreted as new lines since they are out of bounds for normal display characters?
Title: Re: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: Evie the Mother Hen ☽ ❤ on June 03, 2019, 10:04:19 am
I was reading a glitch playthrough of pokemon blue and it seems like whenever this pokemon's name is on screen, the letter q appears on the screen. I noticed that q is in this pokemon's name bytes (32 4E 6D 4E B0 4E 12 4F D4 4F 50) and it seems like the q is always printed four lines below where the name should be printed. Is this because the first four characters are interpreted as new lines since they are out of bounds for normal display characters?

Hmm, sorry I don't know. I'll try to look into this when possible. :)
Title: Re: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: Sherkel on June 03, 2019, 12:27:32 pm
4E is the line break character, so with the two of those in the name combined with how message boxes look, it would make sense if the "q" appears four lines below.
Title: Re: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: TheZZAZZGlitch on June 03, 2019, 12:36:40 pm
0xEB's name is very interesting, because it features a lot of 0x4E and 0x4F control characters.

0x4E is the new line character. It moves the cursor two lines down. Why two lines? That's how textboxes are laid out!

(https://i.imgur.com/xfZaJp7.png)

0x4F is a similar control character, but this one puts the cursor always at specific coordinates x=1, y=16.

The name is really: <garbage tile 0x32><new line><another garbage tile 0x6D><new line>q<new line><yet another garbage tile 0x12><move cursor to x=1,y=16><yet yet another glitchy tile 0xD4><move cursor to x=1,y=16 again>.

An interesting thing is that tile 0xD4 is empty, so it's invisible under normal circumstances. But there are some places where it can be seen. For example, try selecting 0xEB in the party screen and choose "SWITCH". The text in the textbox below will change to "Move Pokémon where?". Now cancel out. The "W" in "where" will disappear for a split second! That's because it got overwritten by the invisible tile 0xD4. Now you can't unsee it.

Lastly, here's a small map to finish it off :p

(https://i.imgur.com/SvnMwth.png)
Title: Re: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: foodship9 on June 04, 2019, 08:25:49 am
Thanks for the explanation ZZAZZ! I wonder what kind of fun effects you could achieve by intentionally using these characters in pokemon or trainer names using gameshark or item pack manipulation.
Title: Re: Why does glitch Pokemon (0xEB) print the letter "q" on screen?
Post by: Parzival on June 04, 2019, 09:20:45 pm
infinite name, glitchy names, save corruption...

See the wiki page on Super Glitch (https://glitchcity.info/wiki/Super_Glitch_(Generation_I)) and The BIG HEX list (https://glitchcity.info/wiki/The%20Big%20HEX%20List) to mess with names.

A RAM map, BGB's debugger, the above two pages and lots of time will get you pretty close to understanding everything you need to know about names. And text in general, for that matter!

Also [uurl=https://youtu.be/E-CQS5B2sjY]here's[/url] some (https://youtu.be/nKpzsp9s0QQ) videos (https://youtu.be/EOVM_UnfOEw) loosely (https://youtu.be/Zk-H6-jVY90) related (https://youtu.be/Q2_aczBkpxM) to the topic that may help too.