[gd_scene load_steps=3 format=3 uid="uid://cjkb2lb3iik3y"]

[ext_resource type="PackedScene" uid="uid://d4cv1xal40u3i" path="res://Scenes/Levels/SMB1/World4/4-1a.tscn" id="1_a54ju"]
[ext_resource type="Script" uid="uid://bjs5mlc3xrxud" path="res://Scripts/Parts/DiscoLevel.gd" id="2_t1i06"]

[node name="4-1A" instance=ExtResource("1_a54ju")]

[node name="PipeArea" parent="." index="4"]
target_level = "uid://btgl18msmj7mj"

[node name="DiscoLevel" type="Node" parent="." index="7"]
script = ExtResource("2_t1i06")
combo_meter_rate = 0.5
max_combo = 3
metadata/_custom_type_script = "uid://bjs5mlc3xrxud"

[connection signal="block_destroyed" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/BrickBlock" to="Tiles/BrickBlock/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/BrickBlock" to="Tiles/BrickBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89323" to="Tiles/@AnimatableBody2D@89323/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89324" to="Tiles/@Node2D@89324/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89325" to="Tiles/@Node2D@89325/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89326" to="Tiles/@Node2D@89326/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89327" to="Tiles/@Node2D@89327/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89328" to="Tiles/@Node2D@89328/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89329" to="Tiles/@AnimatableBody2D@89329/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89330" to="Tiles/@AnimatableBody2D@89330/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@89331" to="Tiles/@Node2D@89331/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89332" to="Tiles/@AnimatableBody2D@89332/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89333" to="Tiles/@AnimatableBody2D@89333/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89334" to="Tiles/@AnimatableBody2D@89334/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89335" to="Tiles/@AnimatableBody2D@89335/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89336" to="Tiles/@AnimatableBody2D@89336/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89337" to="Tiles/@AnimatableBody2D@89337/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89338" to="Tiles/@AnimatableBody2D@89338/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@89339" to="Tiles/@Node2D@89339/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89340" to="Tiles/@Node2D@89340/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@89341" to="Tiles/@AnimatableBody2D@89341/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@89342" to="Tiles/@Node2D@89342/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89343" to="Tiles/@Node2D@89343/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89344" to="Tiles/@Node2D@89344/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89345" to="Tiles/@Node2D@89345/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89346" to="Tiles/@Node2D@89346/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89347" to="Tiles/@Node2D@89347/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@89348" to="Tiles/@Node2D@89348/LevelPersistance" method="set_as_active"]
