[gd_scene load_steps=18 format=4 uid="uid://bai8yq7658vif"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_bhdk2"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Underwater.json" id="2_4j3as"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_83sws"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_dj0k6"]
[ext_resource type="PackedScene" uid="uid://b6drci0vml1as" path="res://Scenes/Prefabs/Entities/Enemies/Blooper.tscn" id="7_ifswk"]
[ext_resource type="PackedScene" uid="uid://d04e1qv3si8j" path="res://Scenes/Prefabs/Entities/Enemies/RedCheepCheep.tscn" id="8_2ohtr"]
[ext_resource type="PackedScene" uid="uid://bdirphnfabey8" path="res://Scenes/Prefabs/Entities/Enemies/GreenCheepCheep.tscn" id="9_qlqef"]
[ext_resource type="PackedScene" uid="uid://b7560x2o4qeuo" path="res://Scenes/Prefabs/LevelObjects/WaterCurrentArea.tscn" id="10_xbqug"]
[ext_resource type="PackedScene" uid="uid://e3wkbwtm7sh" path="res://Scenes/Parts/WaterArea.tscn" id="12_17bpp"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="13_20miu"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="14_4j3as"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="14_83sws"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="15_dj0k6"]
[ext_resource type="PackedScene" uid="uid://ds5iugeocqd6a" path="res://Scenes/Prefabs/LevelObjects/HardCameraRightLimit.tscn" id="17_60i58"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="17_xbqug"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="18_kyftl"]
[ext_resource type="PackedScene" uid="uid://chjxyhlwohmi6" path="res://Scenes/Prefabs/Entities/Items/Coin.tscn" id="19_17bpp"]

[node name="2-2SP" type="Node"]
script = ExtResource("1_bhdk2")
music = ExtResource("2_4j3as")
theme = "Underwater"
campaign = "SMBS"
world_id = 2
level_id = 2
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="Tiles" parent="." instance=ExtResource("4_83sws")]
tile_map_data = PackedByteArray("[encoded data, 14004 characters]")

[node name="Player" parent="." instance=ExtResource("5_dj0k6")]
position = Vector2(-216, -136)

[node name="Water" parent="." instance=ExtResource("4_83sws")]
visibility_layer = 2
z_index = -4096
z_as_relative = false
tile_map_data = PackedByteArray("[encoded data, 42692 characters]")

[node name="Enemies" type="Node" parent="."]

[node name="Blooper" parent="Enemies" instance=ExtResource("7_ifswk")]
position = Vector2(32, -80)

[node name="Blooper2" parent="Enemies" instance=ExtResource("7_ifswk")]
position = Vector2(312, -128)

[node name="Blooper3" parent="Enemies" instance=ExtResource("7_ifswk")]
position = Vector2(848, -16)

[node name="Blooper4" parent="Enemies" instance=ExtResource("7_ifswk")]
position = Vector2(1128, -80)

[node name="Blooper5" parent="Enemies" instance=ExtResource("7_ifswk")]
position = Vector2(2136, -16)

[node name="CheepCheep" parent="Enemies" instance=ExtResource("8_2ohtr")]
position = Vector2(528, 0)

[node name="CheepCheep2" parent="Enemies" instance=ExtResource("8_2ohtr")]
position = Vector2(1648, -112)

[node name="CheepCheep3" parent="Enemies" instance=ExtResource("8_2ohtr")]
position = Vector2(2560, -48)

[node name="CheepCheep4" parent="Enemies" instance=ExtResource("8_2ohtr")]
position = Vector2(2608, -80)

[node name="CheepCheep5" parent="Enemies" instance=ExtResource("8_2ohtr")]
position = Vector2(2776, -96)

[node name="CheepCheep6" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(472, -48)

[node name="CheepCheep7" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(568, -40)

[node name="CheepCheep8" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(1560, -128)

[node name="CheepCheep9" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(1584, -96)

[node name="CheepCheep10" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(2144, -72)

[node name="CheepCheep11" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(2520, -16)

[node name="CheepCheep12" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(2712, -112)

[node name="CheepCheep13" parent="Enemies" instance=ExtResource("9_qlqef")]
position = Vector2(2752, -64)

[node name="WaterCurrentArea" parent="." instance=ExtResource("10_xbqug")]
position = Vector2(736, -168)
scale = Vector2(0.798063, 1)

[node name="WaterCurrentArea2" parent="." instance=ExtResource("10_xbqug")]
position = Vector2(1368, -136)
scale = Vector2(0.610351, 0.845224)

[node name="WaterCurrentArea3" parent="." instance=ExtResource("10_xbqug")]
position = Vector2(1824, -72)
scale = Vector2(1.74707, 0.83159)

[node name="WaterCurrentArea4" parent="." instance=ExtResource("10_xbqug")]
position = Vector2(2264, -152)
scale = Vector2(1.36231, 0.807172)

[node name="WaterArea" parent="." instance=ExtResource("12_17bpp")]
visible = false
position = Vector2(1208, -56)
scale = Vector2(999, 999)

[node name="DropShadow" parent="." instance=ExtResource("13_20miu")]

[node name="PipeArea" parent="." instance=ExtResource("14_4j3as")]
position = Vector2(2848, -96)
enter_direction = 3
target_level = "uid://b2qq2was4fdnx"

[node name="PipeArea2" parent="." instance=ExtResource("14_4j3as")]
position = Vector2(2848, -16)
enter_direction = 3
target_level = "uid://b2qq2was4fdnx"

[node name="PipeArea3" parent="." instance=ExtResource("14_4j3as")]
position = Vector2(1152, -16)
enter_direction = 3
target_level = "uid://jjgl3pvr0e8p"

[node name="PipeArea4" parent="." instance=ExtResource("14_4j3as")]
position = Vector2(1712, -128)
pipe_id = 5
target_level = "uid://b2qq2was4fdnx"
exit_only = true

[node name="LevelBG" parent="." instance=ExtResource("14_83sws")]

[node name="TileMapConverter" type="Node" parent="." node_paths=PackedStringArray("tilemap")]
script = ExtResource("15_dj0k6")
tilemap = NodePath("../Tiles")
metadata/_custom_type_script = "uid://cybpwmw4ywoow"

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

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("18_kyftl")]
position = Vector2(-8, -8)

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("18_kyftl")]
position = Vector2(536, -88)
id = 1

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("18_kyftl")]
position = Vector2(1832, -8)
id = 3

[node name="RedCoin4" parent="ChallengeNodes" instance=ExtResource("18_kyftl")]
position = Vector2(2232, -8)
id = 4

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

[node name="Coin" parent="Blocks" instance=ExtResource("19_17bpp")]
position = Vector2(1832, -8)

[node name="Coin2" parent="Blocks" instance=ExtResource("19_17bpp")]
position = Vector2(2232, -8)

[node name="HardCameraRightLimit" parent="." instance=ExtResource("17_60i58")]
position = Vector2(2944, -56)

[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82037" to="Tiles/@Node2D@82037/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82038" to="Tiles/@Node2D@82038/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82039" to="Tiles/@Node2D@82039/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82040" to="Tiles/@Node2D@82040/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82041" to="Tiles/@Node2D@82041/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82042" to="Tiles/@Node2D@82042/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82043" to="Tiles/@Node2D@82043/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82044" to="Tiles/@Node2D@82044/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82045" to="Tiles/@Node2D@82045/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82046" to="Tiles/@Node2D@82046/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82047" to="Tiles/@Node2D@82047/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82048" to="Tiles/@Node2D@82048/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82049" to="Tiles/@Node2D@82049/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82050" to="Tiles/@Node2D@82050/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82051" to="Tiles/@Node2D@82051/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82052" to="Tiles/@Node2D@82052/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82053" to="Tiles/@Node2D@82053/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82054" to="Tiles/@Node2D@82054/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82055" to="Tiles/@Node2D@82055/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82056" to="Tiles/@Node2D@82056/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82057" to="Tiles/@Node2D@82057/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82058" to="Tiles/@Node2D@82058/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82059" to="Tiles/@Node2D@82059/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82060" to="Tiles/@Node2D@82060/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82061" to="Tiles/@Node2D@82061/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82062" to="Tiles/@Node2D@82062/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82063" to="Tiles/@Node2D@82063/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82064" to="Tiles/@Node2D@82064/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82065" to="Tiles/@Node2D@82065/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82066" to="Tiles/@Node2D@82066/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82067" to="Tiles/@Node2D@82067/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82068" to="Tiles/@Node2D@82068/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82069" to="Tiles/@Node2D@82069/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82070" to="Tiles/@Node2D@82070/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82071" to="Tiles/@Node2D@82071/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82072" to="Tiles/@Node2D@82072/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82073" to="Tiles/@Node2D@82073/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82074" to="Tiles/@Node2D@82074/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82075" to="Tiles/@Node2D@82075/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@82076" to="Tiles/@Node2D@82076/LevelPersistance" method="set_as_active"]
