[gd_scene load_steps=16 format=4 uid="uid://c2pmtc830fi4g"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_wgvuo"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_mwl1u"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="3_mwl1u"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_5cdud"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_ovcjs"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="7_d5yry"]
[ext_resource type="Script" uid="uid://bdq0373j5n5o0" path="res://Scripts/Parts/CameraRightLimit.gd" id="8_s8hok"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="9_j75bm"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="10_mwl1u"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="12_5cdud"]
[ext_resource type="PackedScene" uid="uid://pfhvflypjq6y" path="res://Scenes/Prefabs/Entities/Enemies/TrueBowser.tscn" id="12_ovcjs"]
[ext_resource type="PackedScene" uid="uid://o573jl3f2hvk" path="res://Scenes/Prefabs/LevelObjects/CastlePeachSP.tscn" id="13_5cdud"]
[ext_resource type="PackedScene" uid="uid://c75cko8tyt467" path="res://Scenes/Prefabs/LevelObjects/CastleChallengeEnd.tscn" id="39_artoj"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="39_hjtj8"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="40_ki7n3"]

[node name="Level" type="Node"]
script = ExtResource("1_wgvuo")
music = ExtResource("2_mwl1u")
theme = "Castle"
campaign = "SMBS"
world_id = 8
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("3_mwl1u")]

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

[node name="Player" parent="." instance=ExtResource("5_ovcjs")]
position = Vector2(-112, -32)

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

[node name="CameraRightLimit" type="Node2D" parent="."]
position = Vector2(96, -136)
script = ExtResource("8_s8hok")
metadata/_custom_type_script = "uid://bdq0373j5n5o0"

[node name="PipeArea" parent="." instance=ExtResource("9_j75bm")]
position = Vector2(-208, -64)
exit_only = true

[node name="Firebar" parent="." instance=ExtResource("10_mwl1u")]
position = Vector2(184, -56)

[node name="CastlePeach" parent="." instance=ExtResource("13_5cdud")]
position = Vector2(720, 0)

[node name="CastleBridge" parent="." instance=ExtResource("12_5cdud")]
position = Vector2(312, -24)
length = 16
end_timer = true

[node name="TrueBowser" parent="." instance=ExtResource("12_ovcjs")]
position = Vector2(440, -32)

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

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("40_ki7n3")]
position = Vector2(216, -104)
id = 4

[node name="CastleChallengeEnd" parent="ChallengeNodes" instance=ExtResource("39_artoj")]
position = Vector2(720, 0)

[connection signal="victory_begin" from="CastleBridge" to="ChallengeNodes/CastleChallengeEnd" method="begin"]
