I'm currently working on a chase system, so that when the player enters a room, it checks to see if a monster is chasing them. If one is, it checks the players coordinates, then sets the monster event to a point based on them.
Part of the time this works. However, most of the time it doesn't move the monster event, and it's just stuck in the wall where it's default position is. In the case of the event that I'm going to link below, if the player enters the room from the top (player y == 9) the monster event will work fine and be set to the correct position. However, any set position events below that one don't work; if the player is entering from the right or the left of the screen for example.
event page:
I'm sure it's just something stupid that I'm missing, but does anyone know what I'm doing wrong?
Thanks!