if (sprite_index != -4)
layer_set_visible("sequence_layer_2", false)
else
layer_set_visible("sequence_layer_2", true)