Main Menu
Main Page
Forums
Recent changes
Random page
Help

Databases
GlitchDex
AttackDex
ItemDex
StatDex
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 data 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: Black Curtains of Rustboro (Emerald)  (Read 5734 times)

0 Members and 1 Guest are viewing this topic.

VaeporSage

  • Custom Title
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Personal Text
    • View Profile
Black Curtains of Rustboro (Emerald)
« on: March 10, 2012, 11:53:51 am »
Reading through glitch threads on Serebii.net yesterday, I came across this odd discovery: after a certain point in the game (this point is unknown specifically, though some claim that the pause after saving at the Battle Tower is a potential trigger) the windows in Rustboro City Trainer's School develop strange black glitch curtains. I just uploaded a video of it in my game.

http://www.youtube.com/watch?v=fj3ErvCdOXs

Has anyone here heard of it, and/or understand why the curtains appear?

Pawny

  • ༼ つ ◕‿◕ ༽つ
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • I'm sharp! :3
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #1 on: March 10, 2012, 12:47:07 pm »
I was searching through my savefiles, and found it in one of them, which was in VBA-Link, where I used to battle my brothers. But we abused GS Pokémon generators a lot, and as some of them weren't completed (missing either Master Code, Anti-DMA, or both), so this game had several Bad EGGs, a specific spot in Box 1 which turned any Pokémon input there into Bad EGGs, sometimes after a battle was done, some of my Pokémon were severely corrupted, and in the end, the box became inaccessible at all, BSoDing every time I open it. So it's probably related to savefile corruption. I'll try to take a better look into my less-corrupted savefiles from VBA-Link, maybe one of them is less corrupted so I can take a better look at it.

EDIT: found a less/almost no damaged savefile, but it still has a few Bad EGGs and several GS generated Pokémon and some illegal movesets (they themselves probably don't matter though). But I doubt the Cloning glitch has to do with it since I have a game with several cloned Pokémon and there's no curtains there. This one, however, has been massively cheated, and got some slight corruptions, like the Bad EGGs, and the symbols being messed (I got Gold symbols I didn't have, and one of my Silver symbol simply vanished).

Anyways, here's a more accurate taken from VBA:

And here's my savefile if anyone wanna investigate: http://www.mediafire.com/?96hsg6mez9zcpkw
« Last Edit: March 10, 2012, 02:00:17 pm by Pawny »
Hug me~!

blahpy

  • Yeah! Pomeg Berry!
  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #2 on: March 10, 2012, 03:14:07 pm »
Wow great job uncovering these Vae, there always seems to be more to learn :o

VaeporSage

  • Custom Title
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Personal Text
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #3 on: March 10, 2012, 04:43:09 pm »
@Pawny: My savefile is uncorrupted; the only thing out of the ordinary to have happened to my Emerald cartridge was the one time I found a shiny Tentacool - I found an exactly identical shiny Tentacool (same nature, stats, level, gender, even IVs) a week later. I have cloned countless times on my game - I'd say I've cloned at least 500 Pokemon and 3,000 items at this stage.

@blahpy: Another thing I found but couldn't record footage of is that hatching an Egg in a n area with no background music causes the Egg-hatching music to linger until you exit. Maybe someone else could upload a video of that or get back to me on whether or not it's true - these came from Serebii.net, after all, a haven of glitching illiteracy.

Pawny

  • ༼ つ ◕‿◕ ༽つ
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • I'm sharp! :3
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #4 on: March 10, 2012, 06:33:35 pm »
Oh wow, that's a lot. Maybe that cloning glitch has a very small chance of corrupting a small part of the save file, idk. You never cheated, right?
Hug me~!

VaeporSage

  • Custom Title
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Personal Text
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #5 on: March 11, 2012, 04:55:03 am »
@Pawny: No, I've never used Action Replay/GameShark etc. Evidently, the cloning glitch isn't to blame; a couple of commenters on the Serebii thread also said that they'd never cloned but still had the curtains, just like in on of your games.

The glitch is exclusive to Emerald, so perhaps it's due to some other aspect of the game that only exists in Emerald. I'm beginning to think that the curtains were a beta decoration, but were taken out for some reason and left in the coding.

blahpy

  • Yeah! Pomeg Berry!
  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #6 on: March 11, 2012, 10:43:53 pm »
@Pawny: My savefile is uncorrupted; the only thing out of the ordinary to have happened to my Emerald cartridge was the one time I found a shiny Tentacool - I found an exactly identical shiny Tentacool (same nature, stats, level, gender, even IVs) a week later. I have cloned countless times on my game - I'd say I've cloned at least 500 Pokemon and 3,000 items at this stage.

Actually, this occurence is rather common in all Emerald games (including real copies).

It happens due to a thing in the RNG algorithm, and it can also cause some players to have extreme luck at finding shiny Pokémon (although they will always have the same values, as you stated). I don't really know the in-depth technicalities of it, however.

Pawny

  • ༼ つ ◕‿◕ ༽つ
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • I'm sharp! :3
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #7 on: March 12, 2012, 05:51:19 am »
Oh, that'd explain why I had two shiny Wingulls among my small list of random shinies. But I can't confirm it since I was too noob and didn't catch the first one LOL.
Hug me~!

VaeporSage

  • Custom Title
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • Personal Text
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #8 on: March 12, 2012, 03:32:27 pm »
Well, that's a relief. When it happened to me, I was worried that my game could have been damaged in some way.

About the curtains: could it have anything to do with Scott? Scott appears in the Trainer's School when you first enter it, and Scott leads you to the Battle Frontier - people who have acquired the curtains seem to have reached that point in the game.
« Last Edit: March 16, 2012, 10:13:32 am by VaeporSage »

Pawny

  • ༼ つ ◕‿◕ ༽つ
  • Member+
  • *
  • Offline Offline
  • Gender: Female
  • I'm sharp! :3
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #9 on: March 12, 2012, 04:12:20 pm »
Idk, but it could have something to do with the Frontier Symbols, since it apparently was the only visible effect of the corruption other than the Bad EGGs and the curtain itself.
Hug me~!

Princess Torchic ❤

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • ⛄🦋
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #10 on: June 03, 2015, 07:52:47 am »
Metarkai solved part of the mystery guys! The curtains are influenced by the data of Pokémon at slots 4-6 of box 8 of the PC! Earlier slots represent pixels higher up, later ones represent pixels lower down.

Removing Pokémon 4-6 removed the curtains, or if I just had slot 6; then only a lower part of the window was corrupted.



If you use the anti-DMA code B2809E31 3CEF5320 1C7B3231 B494738C; then memory addresses 0202DAE4-0202DB43 always represent curtain pixel data. Each byte will control the layout of up to four pixels on the screen.

I think it may be the case that whatever value for each byte, you always have pixels opposite each other (it would make sense for programming a curtain, I suppose). Metarkai didn't know if it's possible to change the colours.

I think that potentially you may be able to create nice art.

It still seems to be a mystery why these curtains exist and why box Pokémon matter though. In Pokémon Ruby, none of the box slots affect the windows but perhaps some range of addresses memory or ROM still does.
« Last Edit: June 03, 2015, 07:54:09 am by Torchickens »
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

I like to collect interesting video games. ^_^
https://www.vgcollect.com/Torchickens

Give love, receive love, repeat. But in order to love others you must first love yourself unconditionally, even if it means abandoning pressure from projects or taking time off work and empathise with the self as you are your own best friend. The key often is simply to follow your heart, your urges and have faith they are valid; use them to do what you want to do as long as it doesn't harm anyone, and/or sympathise and respect it as we all have bad days (even the prettiest rose has thorns but is still beautiful).

SatoMew

  • Member+
  • *
  • Offline Offline
  • Gender: Female
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #11 on: June 03, 2015, 01:36:10 pm »
Actually, this occurence is rather common in all Emerald games (including real copies).

It happens due to a thing in the RNG algorithm, and it can also cause some players to have extreme luck at finding shiny Pokémon (although they will always have the same values, as you stated). I don't really know the in-depth technicalities of it, however.

Smogon has various articles about Emerald's PRNG: http://www.smogon.com/ingame/rng/

It still seems to be a mystery why these curtains exist

Are they part of any standard tileset?

Princess Torchic ❤

  • Administrator
  • *****
  • Offline Offline
  • Gender: Female
  • ⛄🦋
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #12 on: June 03, 2015, 04:13:21 pm »
I don't know much about GBA graphics, but I couldn't spot any curtain related tiles in the tile viewer. The curtains do not appear in map viewer either even when they are on the screen.
Hi! I identify as female.  She/her pronouns, please.

Online I most often use the username Torchickens or Chickasaurus.

Ah.. koucha ga oishii ♪





Thank you Aeriixion for the cute sprite above! :) Roelof also made different variations of the sprite (which I animated).

Contact:
If you like, please contact me by private message here on the forums as I no longer check other places very often.

YouTube: http://www.youtube.com/user/ChickasaurusGL

I like to collect interesting video games. ^_^
https://www.vgcollect.com/Torchickens

Give love, receive love, repeat. But in order to love others you must first love yourself unconditionally, even if it means abandoning pressure from projects or taking time off work and empathise with the self as you are your own best friend. The key often is simply to follow your heart, your urges and have faith they are valid; use them to do what you want to do as long as it doesn't harm anyone, and/or sympathise and respect it as we all have bad days (even the prettiest rose has thorns but is still beautiful).

TheZZAZZGlitch

  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Unknown opcode fc at 801a
    • View Profile
Re: Black Curtains of Rustboro (Emerald)
« Reply #13 on: June 04, 2015, 02:42:47 am »
The glitch seems to cause empty tiles with IDs higher than 790 to be overwritten with Pokemon box data:



Normally these tiles are unused, but for some reason window sides in Trainer School have tiles 791-793 laid on top of them. Maybe they were intended to have curtains at some point:



Which causes the garbled graphics to become visible.

This happens with all tilesets with empty tiles in that range. Makes me wonder if there are more locations with noticeable effects of this corruption.
qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF qÁF

Krys3000

  • The frenchie
  • Distinguished Member
  • *
  • Offline Offline
  • Gender: Male
  • Head admin of the PRAMA Initiative
    • View Profile
    • PRAMA Initiative - Main french Pokémon glitch website
Re: Black Curtains of Rustboro (Emerald)
« Reply #14 on: June 04, 2015, 08:25:52 am »
Yeah ! This glitch was rediscussed lately on PRAMA (where it was posted originally by VaePomeg), and it seemed to have motivated Metarkrai who asked on PRAMA's chat for save files to investigate it... When he came back on it and announced this, we were all like "wtf where is the logic in this"  ;D

It's cool it's finally solved, at least partly !




Admin of the PRAMA Initiative, the main french Pokémon glitch website
http://www.prama-initiative.com
“Anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.'” - Isaac Asimov