When entering the transitions from the left or right, no lags are observed, however, when entering from the top or bottom, the game pauses for a few moments. Why is this happening?
The code to transitions.
if place_meeting(x, y, Obj_player)
{
room_goto(rm)
Obj_player.x = Obj_player.x -...