[gd_scene load_steps=22 format=4 uid="uid://luvjp1hbt8ej"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_j62kb"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_y581t"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="4_3il4d"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="5_s2irb"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="7_r4423"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="8_71tm4"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="9_3il4d"]
[ext_resource type="PackedScene" uid="uid://dbjqtjhb2t4cn" path="res://Scenes/Prefabs/Entities/Items/FireFlower.tscn" id="10_hfd0r"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="11_s2irb"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="13_r4423"]
[ext_resource type="PackedScene" uid="uid://c2ntyej6ddm72" path="res://Scenes/Prefabs/LevelObjects/CastleToad.tscn" id="14_eo01m"]
[ext_resource type="PackedScene" uid="uid://c75cko8tyt467" path="res://Scenes/Prefabs/LevelObjects/CastleChallengeEnd.tscn" id="15_7qey5"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="15_gc2gg"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="17_fb31l"]
[ext_resource type="PackedScene" uid="uid://b3or4h5ke6lni" path="res://Scenes/Prefabs/Entities/Objects/SmallSidewaysPlatform.tscn" id="17_hfd0r"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="18_7qey5"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="19_4bqm6"]
[ext_resource type="Script" uid="uid://co8w6sjp0t2dm" path="res://Scripts/Parts/GlobalObjectNode.gd" id="20_4bqm6"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="20_7qey5"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="21_y581t"]
[ext_resource type="PackedScene" uid="uid://dmv5rl1ckkwsk" path="res://Scenes/Prefabs/LevelObjects/BowserFlameGenerator.tscn" id="22_1vw0v"]

[node name="1-4" type="Node"]
script = ExtResource("1_j62kb")
music = ExtResource("2_y581t")
theme = "Castle"
time_limit = 300
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("20_7qey5")]
particles = 3

[node name="Player" parent="." instance=ExtResource("4_3il4d")]
position = Vector2(-248, -96)

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

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

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

[node name="Firebar" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(232, -40)

[node name="Firebar2" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(536, -104)

[node name="Firebar3" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(712, -104)

[node name="Firebar4" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(824, -104)

[node name="Firebar5" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(968, -56)

[node name="Firebar6" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(1096, -56)

[node name="Firebar7" parent="Objects" instance=ExtResource("8_71tm4")]
position = Vector2(1160, -136)
scale = Vector2(-1, 1)
direction = 1

[node name="QuestionBlock" parent="Objects" instance=ExtResource("9_3il4d")]
position = Vector2(232, -104)
item = ExtResource("10_hfd0r")
mushroom_if_small = true

[node name="InvisibleQuestionBlock" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1464, -120)

[node name="InvisibleQuestionBlock2" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1512, -120)

[node name="InvisibleQuestionBlock3" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1560, -120)

[node name="InvisibleQuestionBlock4" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1544, -56)

[node name="InvisibleQuestionBlock5" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1496, -56)

[node name="InvisibleQuestionBlock6" parent="Objects" instance=ExtResource("11_s2irb")]
position = Vector2(1448, -56)

[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("17_fb31l")
nodes_to_delete = [NodePath("../Objects/InvisibleQuestionBlock2"), NodePath("../CastleToad")]
metadata/_custom_type_script = "uid://cgm3opb5qudc1"

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("18_7qey5")]
position = Vector2(232, -152)

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("18_7qey5")]
position = Vector2(552, -104)
id = 1

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("18_7qey5")]
position = Vector2(984, -56)
id = 2

[node name="RedCoin4" parent="ChallengeNodes" instance=ExtResource("18_7qey5")]
position = Vector2(1128, -104)
id = 3

[node name="RedCoin5" parent="ChallengeNodes" instance=ExtResource("18_7qey5")]
position = Vector2(1936, -120)
id = 4

[node name="InvisibleQuestionBlock7" parent="ChallengeNodes" instance=ExtResource("11_s2irb")]
position = Vector2(1512, -120)
item = ExtResource("19_4bqm6")

[node name="CastleChallengeEnd" parent="ChallengeNodes" instance=ExtResource("15_7qey5")]
position = Vector2(2176, 0)

[node name="CastleToad" parent="." instance=ExtResource("14_eo01m")]
position = Vector2(2176, 0)

[node name="CastleBridge" parent="." instance=ExtResource("13_r4423")]
position = Vector2(1800, -40)

[node name="Bowser" parent="." instance=ExtResource("15_gc2gg")]
position = Vector2(1912, -48)

[node name="SmallSidewaysPlatform" parent="." instance=ExtResource("17_hfd0r")]
position = Vector2(1968, -112)

[node name="SecondQuestNode" type="Node" parent="."]
script = ExtResource("20_4bqm6")
enabled = false
metadata/_custom_type_script = "uid://co8w6sjp0t2dm"

[node name="Firebar10" parent="SecondQuestNode" instance=ExtResource("8_71tm4")]
position = Vector2(120, -104)

[node name="Firebar9" parent="SecondQuestNode" instance=ExtResource("8_71tm4")]
position = Vector2(1032, -136)
direction = 1

[node name="Firebar8" parent="SecondQuestNode" instance=ExtResource("8_71tm4")]
position = Vector2(1224, -56)
scale = Vector2(-1, 1)

[node name="Podoboo" parent="SecondQuestNode" instance=ExtResource("21_y581t")]
position = Vector2(184, -96)

[node name="Podoboo2" parent="SecondQuestNode" instance=ExtResource("21_y581t")]
position = Vector2(280, -96)

[node name="Firebar11" parent="SecondQuestNode" instance=ExtResource("8_71tm4")]
position = Vector2(344, -104)

[node name="EntityGenerator" parent="." instance=ExtResource("22_1vw0v")]
position = Vector2(1224, -168)

[connection signal="area_entered" from="Tiles/DeathPit" to="Tiles/DeathPit" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27446" to="Tiles/@Area2D@27446" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27447" to="Tiles/@Area2D@27447" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27448" to="Tiles/@Area2D@27448" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27449" to="Tiles/@Area2D@27449" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27450" to="Tiles/@Area2D@27450" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27451" to="Tiles/@Area2D@27451" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27452" to="Tiles/@Area2D@27452" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27453" to="Tiles/@Area2D@27453" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27454" to="Tiles/@Area2D@27454" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27455" to="Tiles/@Area2D@27455" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27456" to="Tiles/@Area2D@27456" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27457" to="Tiles/@Area2D@27457" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27458" to="Tiles/@Area2D@27458" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27459" to="Tiles/@Area2D@27459" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27460" to="Tiles/@Area2D@27460" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27461" to="Tiles/@Area2D@27461" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27462" to="Tiles/@Area2D@27462" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27463" to="Tiles/@Area2D@27463" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27464" to="Tiles/@Area2D@27464" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@27465" to="Tiles/@Area2D@27465" method="area_entered"]
[connection signal="axe_touched" from="CastleBridge" to="Bowser" method="bridge_fall"]
[connection signal="victory_begin" from="CastleBridge" to="ChallengeNodes/CastleChallengeEnd" method="begin"]
[connection signal="victory_begin" from="CastleBridge" to="CastleToad" method="begin"]
