• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script✓] sethealingplace 0x1 sends me to map 0 bank 0 x 0 y 0

  • 222
    Posts
    7
    Years
    • Seen Nov 18, 2023
    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.

    [PokeCommunity.com] sethealingplace 0x1 sends me to map 0 bank 0 x 0 y 0


    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?
     
    Last edited:
    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?
     
    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).
     
    Back
    Top