The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Flags reset when leaving the room

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 July 16th, 2020 (7:13 PM).
MiinionX MiinionX is offline
 
Join Date: Sep 2018
Posts: 10
Hello there,

In a Romhack of Firered I'm making, I am having Copycat give Fairium Z alongside teaching Mimic, but I also want the player to be able to refuse Mimic and come back for it later (which I do using a flag, in specific 0x8). The script works currently but for some reason gets cleared when leaving Copycat's room. Any ideas on why?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old July 16th, 2020 (7:18 PM).
duckdavis duckdavis is offline
 
Join Date: Mar 2007
Age: 28
Nature: Relaxed
Posts: 148
Have you tried using a different flag? I'm not sure how the game handles 0x8.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old July 16th, 2020 (7:32 PM).
MiinionX MiinionX is offline
 
Join Date: Sep 2018
Posts: 10
Upon trying the same script with 0x4E the script seemed to work but the game thought the flag was already on
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old July 16th, 2020 (7:34 PM).
duckdavis duckdavis is offline
 
Join Date: Mar 2007
Age: 28
Nature: Relaxed
Posts: 148
Just be careful which flags you use. Reference the list of flags here
https://www.pokecommunity.com/showthread.php?t=302347
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old July 16th, 2020 (7:44 PM).
MiinionX MiinionX is offline
 
Join Date: Sep 2018
Posts: 10
So there are no unused flags in game then?
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old July 16th, 2020 (7:53 PM).
MiinionX MiinionX is offline
 
Join Date: Sep 2018
Posts: 10
So anything not mentioned here is fair game?
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old July 16th, 2020 (8:54 PM).
duckdavis duckdavis is offline
 
Join Date: Mar 2007
Age: 28
Nature: Relaxed
Posts: 148
Not necessarily. From what you said, 0x8 didn't work and that's not mentioned here. I know for a fact that 200 through 229 is fair game at the very least.
__________________
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:15 AM.