- 11
- Posts
- 4
- Years
- Seen Nov 8, 2022
I'm working on an emerald rom hack. I've come across a bug where it's hard to wrap my head around:
I was walking in Roxannes gym. Then I checked my pokemon and as soon as I closed the menu, the protagonist got a different hair colour and I was controlling an other trainer instead. I was able to walk around and even interact with other NPCs and my team was still the same, but the overworld was now broken. (In the sense that it can soft lock you.) The protagonist is in the way of the exit.) When I leave the building everything gets back to normal.
I've been able to figure out since, that it has something to do with events: If I removed that trainer-event from the map, everything is normal. Also whenever I hide that trainer outside the sight of the player, (Technically it needs to be about 2 steps further away than that.) I don't get the problem either. On the other hand, if I add an event to another map, the protagonist gets weird hair again.
In this case I could find a work around. But I suspect that this problem will resurface at some point in the future. (So far I've not added any events and I'm not sure whether I'll do that in the future.) And I've got no idea where it comes from or how to solve it: While I changed several things compared to the vanilla game, everything worked fine up until this point. Therefore I can't trace it back to anything. Moreover in this gym I haven't done much as of writing this. I only gave that trainer a different pokemon. So no idea why this problem surfaced at this point in time.
I was walking in Roxannes gym. Then I checked my pokemon and as soon as I closed the menu, the protagonist got a different hair colour and I was controlling an other trainer instead. I was able to walk around and even interact with other NPCs and my team was still the same, but the overworld was now broken. (In the sense that it can soft lock you.) The protagonist is in the way of the exit.) When I leave the building everything gets back to normal.
I've been able to figure out since, that it has something to do with events: If I removed that trainer-event from the map, everything is normal. Also whenever I hide that trainer outside the sight of the player, (Technically it needs to be about 2 steps further away than that.) I don't get the problem either. On the other hand, if I add an event to another map, the protagonist gets weird hair again.
In this case I could find a work around. But I suspect that this problem will resurface at some point in the future. (So far I've not added any events and I'm not sure whether I'll do that in the future.) And I've got no idea where it comes from or how to solve it: While I changed several things compared to the vanilla game, everything worked fine up until this point. Therefore I can't trace it back to anything. Moreover in this gym I haven't done much as of writing this. I only gave that trainer a different pokemon. So no idea why this problem surfaced at this point in time.
Last edited: