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

[ext_resource type="PackedScene" uid="uid://dwdwqpx62nqrg" path="res://Scenes/Levels/SMB1/World5/5-1a.tscn" id="1_r4vm7"]
[ext_resource type="Script" uid="uid://bjs5mlc3xrxud" path="res://Scripts/Parts/DiscoLevel.gd" id="2_ewsfm"]

[node name="5-1A" instance=ExtResource("1_r4vm7")]

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

[node name="DiscoLevel" type="Node" parent="." index="9"]
script = ExtResource("2_ewsfm")
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@150866" to="Tiles/@AnimatableBody2D@150866/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150866" to="Tiles/@AnimatableBody2D@150866/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150866" to="Tiles/@AnimatableBody2D@150866" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150866" to="Tiles/@AnimatableBody2D@150866/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150866" to="Tiles/@AnimatableBody2D@150866" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150866" to="Tiles/@AnimatableBody2D@150866/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150867" to="Tiles/@AnimatableBody2D@150867/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150868" to="Tiles/@AnimatableBody2D@150868/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150869" to="Tiles/@AnimatableBody2D@150869/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150870" to="Tiles/@AnimatableBody2D@150870/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150871" to="Tiles/@AnimatableBody2D@150871/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150872" to="Tiles/@AnimatableBody2D@150872/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150873" to="Tiles/@AnimatableBody2D@150873/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150874" to="Tiles/@AnimatableBody2D@150874/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150875" to="Tiles/@AnimatableBody2D@150875/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150876" to="Tiles/@AnimatableBody2D@150876/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150877" to="Tiles/@AnimatableBody2D@150877/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150878" to="Tiles/@AnimatableBody2D@150878/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@150879" to="Tiles/@Node2D@150879/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150880" to="Tiles/@Node2D@150880/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150881" to="Tiles/@Node2D@150881/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150882" to="Tiles/@Node2D@150882/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150883" to="Tiles/@AnimatableBody2D@150883/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150884" to="Tiles/@AnimatableBody2D@150884/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150885" to="Tiles/@AnimatableBody2D@150885/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150886" to="Tiles/@AnimatableBody2D@150886/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150887" to="Tiles/@AnimatableBody2D@150887/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150888" to="Tiles/@AnimatableBody2D@150888/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@150889" to="Tiles/@AnimatableBody2D@150889/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@150890" to="Tiles/@Node2D@150890/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150891" to="Tiles/@Node2D@150891/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150892" to="Tiles/@Node2D@150892/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150893" to="Tiles/@Node2D@150893/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@150894" to="Tiles/@Node2D@150894/LevelPersistance" method="set_as_active"]
