[gd_scene load_steps=6 format=4 uid="uid://0meyhqly8ow0"]

[ext_resource type="PackedScene" uid="uid://d3lsxfuwgmtdt" path="res://Scenes/Levels/SMB1/World1/1-1a.tscn" id="1_ye3m7"]
[ext_resource type="PackedScene" uid="uid://cor5javglnirw" path="res://Scenes/Prefabs/Blocks/BrickBlocks/PowerUpBrickBlock.tscn" id="2_nndok"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="3_fbsuq"]
[ext_resource type="PackedScene" uid="uid://dsa8lpl7n8ge0" path="res://Scenes/Prefabs/Blocks/BrickBlocks/BrickBlock.tscn" id="4_oqoee"]
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="5_n2nsl"]

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

[node name="Tiles" parent="." index="1"]
tile_map_data = PackedByteArray("[encoded data, 6212 characters]")

[node name="PipeArea" parent="." index="4"]
pipe_id = 3
target_level = "uid://iinenbioxht"

[node name="Blocks" type="Node" parent="." index="6"]

[node name="BrickBlock" parent="Blocks" index="0" instance=ExtResource("2_nndok")]
position = Vector2(88, -56)

[node name="ChallengeNodes" type="Node" parent="." index="7" node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("3_fbsuq")
nodes_to_delete = [NodePath("../Blocks")]
metadata/_custom_type_script = "uid://cgm3opb5qudc1"

[node name="BrickBlock" parent="ChallengeNodes" index="0" instance=ExtResource("4_oqoee")]
position = Vector2(88, -56)
item = ExtResource("5_n2nsl")
metadata/r_coin_id = 4

[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@57986" to="Tiles/@AnimatableBody2D@57986/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57986" to="Tiles/@AnimatableBody2D@57986/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57986" to="Tiles/@AnimatableBody2D@57986" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57986" to="Tiles/@AnimatableBody2D@57986/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57986" to="Tiles/@AnimatableBody2D@57986" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57986" to="Tiles/@AnimatableBody2D@57986/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@57987" to="Tiles/@Node2D@57987/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@57988" to="Tiles/@Node2D@57988/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@57989" to="Tiles/@Node2D@57989/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@57990" to="Tiles/@Node2D@57990/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@57991" to="Tiles/@Node2D@57991/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57992" to="Tiles/@AnimatableBody2D@57992/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57993" to="Tiles/@AnimatableBody2D@57993/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@57994" to="Tiles/@Node2D@57994/LevelPersistance" method="set_as_active"]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57995" to="Tiles/@AnimatableBody2D@57995/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57996" to="Tiles/@AnimatableBody2D@57996/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57997" to="Tiles/@AnimatableBody2D@57997/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57998" to="Tiles/@AnimatableBody2D@57998/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@57999" to="Tiles/@AnimatableBody2D@57999/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58000" to="Tiles/@AnimatableBody2D@58000/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58001" to="Tiles/@AnimatableBody2D@58001/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58002" to="Tiles/@AnimatableBody2D@58002/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58003" to="Tiles/@AnimatableBody2D@58003/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58004" to="Tiles/@AnimatableBody2D@58004/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58005" to="Tiles/@AnimatableBody2D@58005/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58006" to="Tiles/@AnimatableBody2D@58006/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58007" to="Tiles/@AnimatableBody2D@58007/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@58008" to="Tiles/@AnimatableBody2D@58008/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/@Node2D@58009" to="Tiles/@Node2D@58009/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58010" to="Tiles/@Node2D@58010/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58011" to="Tiles/@Node2D@58011/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58012" to="Tiles/@Node2D@58012/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58013" to="Tiles/@Node2D@58013/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58014" to="Tiles/@Node2D@58014/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58015" to="Tiles/@Node2D@58015/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58016" to="Tiles/@Node2D@58016/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@58017" to="Tiles/@Node2D@58017/LevelPersistance" method="set_as_active"]
