The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script sethealingplace 0x1 sends me to map 0 bank 0 x 0 y 0

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 June 26th, 2018 (10:38 AM). Edited June 26th, 2018 by hjk321.
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
I have a map script in the first room setting the healing place to the players house (0x1). I know it's executing correctly, because the mom script plays upon white out.



I'm using JPAN's engine which clears out scripts and person events. Does this have something to do with it?

Additionally, I read here that the mom script is at 0x081A8D97 but XSE doesn't allow an offset that long. How do I edit this script?
__________________
Binary is dead.
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 26th, 2018 (12:30 PM).
kalarie kalarie is offline
 
Join Date: Jun 2008
Posts: 760
Yes it has to do with JPANS engine. It rewrote how the sethealingsplaces work. Check the hacked engine manual, it's explained pretty well how to use it.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old June 26th, 2018 (1:06 PM).
hjk321's Avatar
hjk321 hjk321 is offline
 
Join Date: Sep 2017
Posts: 219
Quote:
Originally Posted by kalarie View Post
Yes it has to do with JPANS engine. It rewrote how the sethealingsplaces work. Check the hacked engine manual, it's explained pretty well how to use it.
Okay thanks! But how do I edit the default heal scripts, since the offsets given are too big for the rom?
__________________
Binary is dead.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old June 26th, 2018 (1:21 PM).
AkameTheBulbasaur's Avatar
AkameTheBulbasaur AkameTheBulbasaur is offline
Akame Marukawa of Iyotono
 
Join Date: May 2013
Location: A place :D
Age: 25
Gender: Male
Nature: Docile
Posts: 408
Quote:
Originally Posted by hjk321 View Post
Okay thanks! But how do I edit the default heal scripts, since the offsets given are too big for the rom?
You don't include the 08 at the beginning. It's there to tell you that this address is part of the ROM (as opposed to the RAM or something else like that). So if the offset listed as 08AABBCC, you'd just go to AABBCC.

To be honest it's kind of redundant in this case because you normally can't edit RAM addresses in a hex editor. If FireRed were bigger, then it would be necessary to have the 08, since some addresses would need 09 because is bigger than 16 mb.

But it isn't, so just pretend the 08 doesn't exist for your purposes here. It's good to know what the 08 is because sometimes people will write the addresses that way (and in some cases it is necessary to specify that it's a ROM address).
__________________
"The human sacrificed himself, to save the Pokemon. I pitted them against each other, but not until they set aside their differences did I see the true power they all share deep inside. I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are." -Mewtwo
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
Thread Tools

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:14 AM.