Heya everyone,
I'm using wandering monsters in my game, using the method layed out by The Infamous Bon Bon. They work perfectly fine most of the time but there is oneglitch that has been popping up again and again and I'm not sure what the root of the problem is.
I first noticed it happen when the player entered the map directly adjacent to a monster - a battle would start and once the player defeated the monster the victory fanfare would play and they would be awarded their experience etc - and then a second time, then again and again, about ten times maybe before exiting the battle. Upon returning to the map, the monster would still be there and the same thing would happen all over again forever.
I later found that the same thing happened when a player saved, quit and loaded the game while next to a monster, and now I have found that if two monsters attack the player at the same time, the second one will trigger the glitch.
Basicly, the monster is a three page event. Page one deals with chasing the player. Touching the player triggers a self switch which activates page two: this deals with combat. Winning or escaping triggers page three which takes the monster off the field.
Is this infinite battle loop a common problem with an simple solution? I'm at a loss. I can post some screenshots of the events if any clarification is needed. I hope this isn't all too vague.
Thanks for any help.
I'm using wandering monsters in my game, using the method layed out by The Infamous Bon Bon. They work perfectly fine most of the time but there is oneglitch that has been popping up again and again and I'm not sure what the root of the problem is.
I first noticed it happen when the player entered the map directly adjacent to a monster - a battle would start and once the player defeated the monster the victory fanfare would play and they would be awarded their experience etc - and then a second time, then again and again, about ten times maybe before exiting the battle. Upon returning to the map, the monster would still be there and the same thing would happen all over again forever.
I later found that the same thing happened when a player saved, quit and loaded the game while next to a monster, and now I have found that if two monsters attack the player at the same time, the second one will trigger the glitch.
Basicly, the monster is a three page event. Page one deals with chasing the player. Touching the player triggers a self switch which activates page two: this deals with combat. Winning or escaping triggers page three which takes the monster off the field.
Is this infinite battle loop a common problem with an simple solution? I'm at a loss. I can post some screenshots of the events if any clarification is needed. I hope this isn't all too vague.
Thanks for any help.




