I have it set up so that when the animation of a door opening ends (a specific instance of a door object) this code is executed:
obj_player.x=X obj_player.y=Y room_goto(RM)
X, Y and RM are all local variables defined in the creation code of the instance. The first two lines execute every single time without fail, but every once in a while the room fails to change. Is there any specific reason for this, or any better way I can go about doing this?