[gd_scene load_steps=26 format=4 uid="uid://c4pw4rm4fbtbo"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_2nn4f"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Desert.json" id="2_eurtf"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="3_r64yl"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="4_802v8"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="5_r3wqm"]
[ext_resource type="PackedScene" uid="uid://bch3ww1n42g7v" path="res://Scenes/Prefabs/DecoTiles/Deco2.tscn" id="6_r3wqm"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="7_csh8d"]
[ext_resource type="PackedScene" uid="uid://dnx48rakxib6u" path="res://Scenes/Prefabs/Entities/Enemies/Goomba.tscn" id="9_ym4ap"]
[ext_resource type="PackedScene" uid="uid://r6dlmokkdyar" path="res://Scenes/Prefabs/Entities/Enemies/GreenKoopaTroopa.tscn" id="10_m21kg"]
[ext_resource type="PackedScene" uid="uid://1rxw4k4wq3ni" path="res://Scenes/Prefabs/Entities/Enemies/PiranhaPlant.tscn" id="11_ym4ap"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="12_kkoj5"]
[ext_resource type="PackedScene" uid="uid://h7ys3yw5jvx3" path="res://Scenes/Prefabs/LevelObjects/Checkpoint.tscn" id="12_m21kg"]
[ext_resource type="PackedScene" uid="uid://cpk6idjoxjotv" path="res://Scenes/Prefabs/Entities/Items/OneUp.tscn" id="13_8e16k"]
[ext_resource type="PackedScene" uid="uid://bqhtste1il47d" path="res://Scenes/Prefabs/LevelObjects/BulletBillCannon.tscn" id="13_lvr2n"]
[ext_resource type="PackedScene" uid="uid://cbl8l51osppso" path="res://Scenes/Parts/LargeStartCastle.tscn" id="16_8e16k"]
[ext_resource type="PackedScene" uid="uid://c6loucilra6da" path="res://Scenes/Prefabs/LevelObjects/EndFlagpole.tscn" id="17_vj0oy"]
[ext_resource type="PackedScene" uid="uid://byqmn8yi7iuac" path="res://Scenes/Prefabs/LevelObjects/EndSmallCastle.tscn" id="18_8xje3"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="19_8xje3"]
[ext_resource type="PackedScene" uid="uid://cassl51oehlb6" path="res://Scenes/Prefabs/LevelObjects/CheckpointFlag.tscn" id="19_bng4e"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="20_eb8va"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="21_wa2gp"]
[ext_resource type="PackedScene" uid="uid://dsa8lpl7n8ge0" path="res://Scenes/Prefabs/Blocks/BrickBlocks/BrickBlock.tscn" id="22_eurtf"]
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="23_wa2gp"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="24_eurtf"]
[ext_resource type="PackedScene" uid="uid://c145qqkvy8pr5" path="res://Scenes/Parts/DecoTiles.tscn" id="25_d0g3f"]

[node name="5-1" type="Node"]
script = ExtResource("1_2nn4f")
music = ExtResource("2_eurtf")
theme = "Desert"
theme_time = "Night"
time_limit = 300
world_id = 5
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("3_r64yl")]
time_of_day = 1

[node name="Player" parent="." instance=ExtResource("4_802v8")]
position = Vector2(-216, 0)

[node name="DecoTiles" parent="." instance=ExtResource("6_r3wqm")]
tile_map_data = PackedByteArray("AAD+////AAABAAEAAAD/////AAABAAEAAAAAAP//AAABAAEAAAABAP//AAABAAEAAAAZAP//AAABAAEAAAAuAP//AAABAAEAAAAvAP//AAABAAEAAAAwAP//AAABAAEAAAAxAP//AAABAAEAAABeAP//AAABAAEAAABfAP//AAABAAEAAABgAP//AAABAAEAAABhAP//AAABAAEAAAB2AP//AAABAAEAAAB3AP//AAABAAEAAACOAP//AAABAAEAAACPAP//AAABAAEAAACQAP//AAABAAEAAACRAP//AAABAAEAAACmAP//AAABAAEAAADBAP//AAABAAEAAAD7//7/AAADAAAAAAD7////AAADAAEAAAAHAP7/AAADAAAAAAAHAP//AAADAAEAAAAIAP7/AAADAAAAAAAIAP//AAADAAEAAAAYAP7/AAADAAAAAAAYAP//AAADAAEAAAArAP7/AAADAAAAAAArAP//AAADAAEAAAA3AP7/AAADAAAAAAA3AP//AAADAAEAAAA4AP7/AAADAAAAAAA4AP//AAADAAEAAABbAP7/AAADAAAAAABbAP//AAADAAEAAABnAP7/AAADAAAAAABnAP//AAADAAEAAABoAP7/AAADAAAAAABoAP//AAADAAEAAAB4AP7/AAADAAAAAACLAP7/AAADAAAAAACLAP//AAADAAEAAACXAP7/AAADAAAAAACXAP//AAADAAEAAACYAP7/AAADAAAAAACYAP//AAADAAEAAAC7AP7/AAADAAAAAAC7AP//AAADAAEAAACVAP//AAAAAAEAAACVAP3/AAAEAAAAAACVAP7/AAAEAAEAAACNAP3/AAAEAAAAAACNAP7/AAAEAAEAAACNAP//AAAAAAEAAABlAP3/AAAEAAAAAABlAP7/AAAEAAEAAABlAP//AAAAAAEAAABdAP3/AAAEAAAAAABdAP7/AAAEAAEAAABdAP//AAAAAAEAAABLAP3/AAAEAAAAAABLAP7/AAAEAAEAAABLAP//AAAAAAEAAAA1AP3/AAAEAAAAAAA1AP7/AAAEAAEAAAA1AP//AAAAAAEAAAAtAP3/AAAEAAAAAAAtAP7/AAAEAAEAAAAtAP//AAAAAAEAAAAbAP3/AAAEAAAAAAAbAP7/AAAEAAEAAAAbAP//AAAAAAEAAAAFAP3/AAAEAAAAAAAFAP7/AAAEAAEAAAAFAP//AAAAAAEAAAD9//3/AAAEAAAAAAD9//7/AAAEAAEAAAD9////AAAAAAEAAAB4AP//AAADAAEAAAB5AP//AAABAAEAAAB7AP3/AAAEAAAAAAB7AP7/AAAEAAEAAAB7AP//AAAAAAEAAACrAP3/AAAEAAAAAACrAP7/AAAEAAEAAACrAP//AAAAAAEAAAAWAP//AAABAAEAAAAXAP//AAABAAEAAAA=")

[node name="Tiles" parent="." instance=ExtResource("5_r3wqm")]
tile_map_data = PackedByteArray("[encoded data, 11412 characters]")

[node name="DropShadow" parent="." instance=ExtResource("7_csh8d")]

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

[node name="Goomba" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(56, 0)

[node name="Goomba2" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(80, 0)

[node name="Goomba3" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(104, 0)

[node name="Goomba4" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(232, 0)

[node name="Goomba5" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(256, 0)

[node name="Goomba6" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(280, 0)

[node name="Goomba7" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(792, 0)

[node name="Goomba8" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(816, 0)

[node name="Goomba9" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(840, 0)

[node name="Goomba10" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(968, 0)

[node name="Goomba11" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(992, 0)

[node name="Goomba12" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1016, 0)

[node name="Goomba13" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1400, 0)

[node name="Goomba14" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1424, 0)

[node name="Goomba15" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1448, 0)

[node name="Goomba16" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1688, 0)

[node name="Goomba17" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1712, 0)

[node name="Goomba18" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1736, 0)

[node name="Goomba19" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1912, 0)

[node name="Goomba20" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1936, 0)

[node name="Goomba21" parent="Entities" instance=ExtResource("9_ym4ap")]
position = Vector2(1960, 0)

[node name="GreenKoopaTroopa" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(8, 0)

[node name="GreenKoopaTroopa2" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(408, 0)

[node name="GreenKoopaTroopa3" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(432, 0)

[node name="GreenKoopaTroopa4" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(728, 0)
winged = true

[node name="GreenKoopaTroopa5" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(1144, 0)
winged = true

[node name="GreenKoopaTroopa6" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(1784, 0)

[node name="GreenKoopaTroopa7" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(2056, 0)

[node name="GreenKoopaTroopa8" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(2080, 0)

[node name="GreenKoopaTroopa9" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(2600, 0)
winged = true

[node name="GreenKoopaTroopa10" parent="Entities" instance=ExtResource("10_m21kg")]
position = Vector2(2664, -64)
winged = true

[node name="PirannhaPlant" parent="Entities" instance=ExtResource("11_ym4ap")]
position = Vector2(464, -48)

[node name="PirannhaPlant2" parent="Entities" instance=ExtResource("11_ym4ap")]
position = Vector2(576, -48)

[node name="PirannhaPlant3" parent="Entities" instance=ExtResource("11_ym4ap")]
position = Vector2(2256, -96)

[node name="PirannhaPlant4" parent="Entities" instance=ExtResource("11_ym4ap")]
position = Vector2(2368, -32)

[node name="InvisibleQuestionBlock" parent="Entities" instance=ExtResource("12_kkoj5")]
position = Vector2(2120, -56)
item = ExtResource("13_8e16k")

[node name="Checkpoint" parent="." instance=ExtResource("12_m21kg")]
position = Vector2(1312, 0)

[node name="BulletBillCannon" parent="." instance=ExtResource("13_lvr2n")]
position = Vector2(1528, -24)

[node name="BulletBillCannon2" parent="." instance=ExtResource("13_lvr2n")]
position = Vector2(2296, -24)

[node name="BulletBillCannon3" parent="." instance=ExtResource("13_lvr2n")]
position = Vector2(2473, -24)

[node name="LargeCastleDeco" parent="." instance=ExtResource("16_8e16k")]
position = Vector2(-216, -88)

[node name="EndFlagpole" parent="." instance=ExtResource("17_vj0oy")]
position = Vector2(2936, 0)

[node name="EndSmallCastle" parent="EndFlagpole" instance=ExtResource("18_8xje3")]
position = Vector2(96, 0)

[node name="PipeArea" parent="." instance=ExtResource("19_8xje3")]
position = Vector2(2256, -96)
target_level = "uid://dwdwqpx62nqrg"

[node name="PipeArea2" parent="." instance=ExtResource("19_8xje3")]
position = Vector2(2368, -32)
pipe_id = 1
target_level = "uid://dwdwqpx62nqrg"
exit_only = true

[node name="CheckpointFlag" parent="." instance=ExtResource("19_bng4e")]
position = Vector2(1312, 0)

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

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("21_wa2gp")]
position = Vector2(568, -136)

[node name="BrickBlock" parent="ChallengeNodes" instance=ExtResource("22_eurtf")]
position = Vector2(1224, -120)
item = ExtResource("23_wa2gp")
metadata/r_coin_id = 1

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("21_wa2gp")]
position = Vector2(1592, -40)
id = 2

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("21_wa2gp")]
position = Vector2(2248, -184)
id = 4

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("12_kkoj5")]
position = Vector2(2760, -72)
item = ExtResource("24_eurtf")

[node name="DecoTiles" parent="ChallengeNodes" instance=ExtResource("25_d0g3f")]
tile_map_data = PackedByteArray("AACsAP3/AAAEAAAAAACsAP7/AAAEAAEAAACsAP//AAAAAAEAAAA=")

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

[node name="BrickBlock" parent="Blocks" instance=ExtResource("22_eurtf")]
position = Vector2(1224, -120)

[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="item_changed" from="Tiles/BrickBlock" to="Tiles/BrickBlock" method="check_brick_empty"]
[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@79529" to="Tiles/@AnimatableBody2D@79529/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529/LevelPersistance" method="set_as_active"]
[connection signal="item_changed" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529" method="check_brick_empty"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79529" to="Tiles/@AnimatableBody2D@79529/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530/LevelPersistance" method="set_as_active"]
[connection signal="item_changed" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530" method="check_brick_empty"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79530" to="Tiles/@AnimatableBody2D@79530/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531/LevelPersistance" method="set_as_active"]
[connection signal="item_changed" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531" method="check_brick_empty"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@79531" to="Tiles/@AnimatableBody2D@79531/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="area_entered" from="Tiles/DeathPit" to="Tiles/DeathPit" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79532" to="Tiles/@Area2D@79532" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79533" to="Tiles/@Area2D@79533" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79534" to="Tiles/@Area2D@79534" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79535" to="Tiles/@Area2D@79535" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79536" to="Tiles/@Area2D@79536" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79537" to="Tiles/@Area2D@79537" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79538" to="Tiles/@Area2D@79538" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79539" to="Tiles/@Area2D@79539" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79540" to="Tiles/@Area2D@79540" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@79541" to="Tiles/@Area2D@79541" method="area_entered"]
