The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other [RED] [GEN 1] Hall of Fame Room Battle Screen Glitching/VRAM Corruption?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old March 14th, 2016 (4:08 PM). Edited March 14th, 2016 by epseta.
epseta's Avatar
epseta epseta is offline
Don't let your memes be dreams.
 
Join Date: Apr 2015
Location: Realm 6.2
Gender: Male
Posts: 8
Hello.

I've set up the Hall of Fame room so that you automatically walk in and battle the final boss. This is what it look should look like after his pre-battle speech:
before.PNG

But when the text box goes away and the battle transition is about to occur, this happens:
after.PNG
The trainer's supposed to look like that, in case you're wondering.

Can anyone help me figure out what's going on and how to fix it?
Here's what I know:
The corruption occurs when DisplayTextID at 0:2920 is called. The text box appears and prints out text correctly. It only begins when it goes away.
I ran it through in bgb and found that when 0:1848 (CopyVideoData, I think) is called a second time (which would be right after the text box disappears), the background becomes garbled.
The battle plays out as normal.
After defeating the trainer and going back to the Hall of Fame room, the tiles are no longer corrupted.

Thanks for any info you can give me, as this problem is really stumping me.

epseta

solved, figured it out. I had set some sprites as invisible by setting $C110, $C120, etc. as $00, and that somehow caused the corruption. Wow I feel stupid...
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:08 AM.