sWall 0 -1 -3 0 Wall <undefined> 1 603 7 0 0 -1 2 self 0 0 1 ///Initialize event_inherited(); high = y; bottom = y + sprite_height; 1 603 7 0 0 -1 2 self 0 0 1 ///Raise when all torches are lit var c = instance_number(Torch); var l = 0; if(y == ystart && high != y) { with(Torch) { l += lit; } if(l == c) { Controller.shake = 3 * room_speed; state_set(S_TORCHES, 2); state_set(S_BROWNTORCH, 3); } } if(l == c || (y < ystart && y > high)) { y -= min(y - high, (ystart - high) / (3 * room_speed)); image_yscale = (bottom - y) / sprite_get_height(sprite_index); } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0 0,0 8,8