The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Fortree Gym's rotating doors (Emerald)

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 August 17th, 2015 (3:05 PM). Edited August 18th, 2015 by DraconianWing.
DraconianWing's Avatar
DraconianWing DraconianWing is offline
 
Join Date: Aug 2012
Location: Fallarbor Town
Age: 23
Gender: Male
Nature: Mild
Posts: 959
After going around and reading up on some amazing tutorials (most notably Le pug's tile insertion tutorial here: http://www.pokecommunity.com/showthread.php?t=314480) I have learned a fair bit about mapping, block creation and tile palettes; I have taken an Emerald ROM and played around with the palettes through AdvanceMap's block editor to make the game more visually similar to the ORAS games in terms of colors. However, after modifications have been made, I have noticed that a bug has been created. Upon entering Fortree's gym, the rotating doors that provide the obstacles appear invisible. Walking through them still creates the swinging noise and they still block the player when "stuck." They can be made to reappear by going to the start menu and entering another screen (like PokeDex, Party, and PokeNav)

Hackers who have experience in Emerald, is this a common problem? And is there anything that can be done to fix this glitch? I have checked a clean Emerald ROM in AdvanceMap and noticed that the doors don't seem to be accessible via the mapping tool (I might be wrong though)
__________________
"All dreams are but another reality. Never forget..."
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 18th, 2015 (5:06 PM).
Le pug's Avatar
Le pug Le pug is offline
Creator of Pokémon: Discovery / Fat Kid
 
Join Date: Aug 2013
Location: Le bed
Age: 30
Gender: Male
Nature: Bold
Posts: 870
Quote:
Originally Posted by DraconianWing View Post
After going around and reading up on some amazing tutorials (most notably Le pug's tile insertion tutorial here: http://www.pokecommunity.com/showthread.php?t=314480) I have learned a fair bit about mapping, block creation and tile palettes; I have taken an Emerald ROM and played around with the palettes through AdvanceMap's block editor to make the game more visually similar to the ORAS games in terms of colors. However, after modifications have been made, I have noticed that a bug has been created. Upon entering Fortree's gym, the rotating doors that provide the obstacles appear invisible. Walking through them still creates the swinging noise and they still block the player when "stuck." They can be made to reappear by going to the start menu and entering another screen (like PokeDex, Party, and PokeNav)

Hackers who have experience in Emerald, is this a common problem? And is there anything that can be done to fix this glitch? I have checked a clean Emerald ROM in AdvanceMap and noticed that the doors don't seem to be accessible via the mapping tool (I might be wrong though)
The rotating doors are a work of two specials (aka asm br0000). special 0xCC and 0xCD. CC is what makes them rotate and CD is what makes them appear correctly. If you open up XSE you should see at 0x2165C4 this:
'---------------
#org 0x2165C4
special 0xCD
end

and at 0x2165B6 you should see:
'---------------
#org 0x2165B6
special 0xCC
end

simple right? Make sure the level scripts are correct too for the map. 0x2165C4 should be tied into var 0x4000 with a variable 0x4000.


Let me know if any of that is the issue.
__________________
Retired. Thank you guys for a wonderful five years.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 18th, 2015 (9:37 PM). Edited August 18th, 2015 by DraconianWing.
DraconianWing's Avatar
DraconianWing DraconianWing is offline
 
Join Date: Aug 2012
Location: Fallarbor Town
Age: 23
Gender: Male
Nature: Mild
Posts: 959
Quote:
Originally Posted by Le pug View Post
The rotating doors are a work of two specials (aka asm br0000). special 0xCC and 0xCD. CC is what makes them rotate and CD is what makes them appear correctly. If you open up XSE you should see at 0x2165C4 this:
'---------------
#org 0x2165C4
special 0xCD
end

and at 0x2165B6 you should see:
'---------------
#org 0x2165B6
special 0xCC
end

simple right? Make sure the level scripts are correct too for the map. 0x2165C4 should be tied into var 0x4000 with a variable 0x4000.


Let me know if any of that is the issue.
The script at 0x2165C4 was pointing at 0xE7 instead of 0xCD. Everything else was the way it should be. Changing it to 0xCD fixed it right up. However, it turns out that the ROM I was practicing on had already been IPS patched (It was Tlachtli's Sigma Emerald a3) so unless he had another purpose for that script, this is a potential bugfix that I think he should be informed about, if he is still working on the hack.

Anyway, thank you for the help Le pug! It is much appreciated :) You can see the results in the screenshots I have attached.
Attached Images
File Type: png cap1.PNG‎ (78.2 KB, 14 views) (Save to Dropbox)
File Type: png cap2.PNG‎ (51.8 KB, 11 views) (Save to Dropbox)
__________________
"All dreams are but another reality. Never forget..."
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:09 AM.