if (sprite_index == spr_board_door_left) { if (sprite_index == spr_board_door_left_glacier) { image_index = 3; image_speed = 0; } }