- 351
- Posts
- 5
- Years
- Seen today
I'm having a bizarre issue with a PokeCrystal hack I'm working on. Whenever I use the in-game saving function, close the ROM, reload, and chose to continue, I will always load into a specific location, directly in front of the Pokemon Center in the "first city" map. This is the first SPAWN constant beyond the initial SPAWN_HOME and SPAWN_DEBUG constants. This occurs even if I save the game immediately upon starting, without even leaving the initial Player Bedroom map.
The Player Data seems to be saving into/loading from sram fine, as the player name will remain unchanged, it's just the map location info that isn't loading properly. I'm assuming that there's some routine that loads a default spawn if no map data can be loaded, and I can't quite figure out where it might be. Any help/advice would be greatly appreciated, thanks.
The Player Data seems to be saving into/loading from sram fine, as the player name will remain unchanged, it's just the map location info that isn't loading properly. I'm assuming that there's some routine that loads a default spawn if no map data can be loaded, and I can't quite figure out where it might be. Any help/advice would be greatly appreciated, thanks.