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

New Pokemon Center crashes after healing

  • 8
    Posts
    3
    Years
    • Seen Dec 20, 2023
    Hello,

    In the process of working on a romhack, I added a Pokemon Center in a custom town map. However, every time I talk to the nurse and heal my party, the graphics glitch out and the game crashes after the last line of dialogue. As far as I can tell, the code is the same as any other Pokemon Center (Oldale or Dewford), and I've added the healspot in both heal_locations.h (both files) and region_map.c. Are there any extra steps that are needed to keep the nurse script from crashing?
     
    Hello,

    In the process of working on a romhack, I added a Pokemon Center in a custom town map. However, every time I talk to the nurse and heal my party, the graphics glitch out and the game crashes after the last line of dialogue. As far as I can tell, the code is the same as any other Pokemon Center (Oldale or Dewford), and I've added the healspot in both heal_locations.h (both files) and region_map.c. Are there any extra steps that are needed to keep the nurse script from crashing?

    IIRC that happens if your map doesn't run CableClub_OnResume as a map script. This modification should fix it.
     
    Back
    Top