• 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.

[ASM & Hex] Respawn coordinates in FR?

Dr. Seuss

Will finish GS Chronicles, I swear!
  • 535
    Posts
    11
    Years
    The issue is the following: When you lost a battle in FR instead of going to the front door of the last PC visted you go inside the PC or your House and a script starts. The issue is that I was able to locate the script that starts after you lose a battle, but I'm not able to modify the coordiates you respawn. This picture will explain everything:

    [PokeCommunity.com] Respawn coordinates in FR?


    As you can see, The X and Y coordinates are the original ones. My PC is bigger than the original one and I need to respawn at a custom coordinates. Does somebody know the offsets of the XY coordiantes of the respawning code?
     
    Last edited:
    You can use JPANs engine's sethealingplace routines to set the map, bank, and reswpan coordinates. If you dont want the entire engine you can use the tool to add just the respawn code.
     
    One thing that also might work is to first locate where the script starts in a hex editor, and look at the areas near/past the beginning and end of the script for the coordinates (in hexadecimal of course). For example, take a look at the coordinates that Advance Map shows for the re-spawn tile, and try to find matching values just outside the boundaries of the script and change them from there. It sounds a bit like you may have already tried this though, but it's the only other solution I can come up with right now.
     
    Last edited:
    Back
    Top