[gd_scene load_steps=24 format=4 uid="uid://2ianqfjihktc"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_vxrxt"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_bibmg"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="3_gtwq2"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_mbdaw"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="7_vp53t"]
[ext_resource type="PackedScene" uid="uid://f48a0jmx334d" path="res://Scenes/Prefabs/Entities/Objects/SmallElevatorPlatform.tscn" id="8_gtwq2"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="10_ik07c"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="10_kd7lf"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="11_40syx"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="11_q4etu"]
[ext_resource type="PackedScene" uid="uid://b3or4h5ke6lni" path="res://Scenes/Prefabs/Entities/Objects/SmallSidewaysPlatform.tscn" id="12_3nhmb"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="12_5sds7"]
[ext_resource type="PackedScene" uid="uid://c2ntyej6ddm72" path="res://Scenes/Prefabs/LevelObjects/CastleToad.tscn" id="13_2jw65"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="13_p26l4"]
[ext_resource type="PackedScene" uid="uid://c75cko8tyt467" path="res://Scenes/Prefabs/LevelObjects/CastleChallengeEnd.tscn" id="14_40syx"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="14_ik07c"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="15_3nhmb"]
[ext_resource type="PackedScene" uid="uid://dbjqtjhb2t4cn" path="res://Scenes/Prefabs/Entities/Items/FireFlower.tscn" id="16_2jw65"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/GreenKoopaShell.json" id="16_5sds7"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="17_n7idk"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="23_5sds7"]
[ext_resource type="PackedScene" uid="uid://dmv5rl1ckkwsk" path="res://Scenes/Prefabs/LevelObjects/BowserFlameGenerator.tscn" id="24_bibmg"]
[ext_resource type="Script" uid="uid://co8w6sjp0t2dm" path="res://Scripts/Parts/GlobalObjectNode.gd" id="24_p26l4"]

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

[node name="LevelBG" parent="." instance=ExtResource("23_5sds7")]
particles = 3

[node name="Tiles" parent="." instance=ExtResource("3_gtwq2")]
tile_map_data = PackedByteArray("[encoded data, 17188 characters]")

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

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

[node name="Firebar" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(536, -56)

[node name="Firebar2" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(633, -120)

[node name="Firebar3" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(728, -56)

[node name="Firebar4" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(920, -56)

[node name="Firebar5" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(1064, -104)

[node name="Firebar6" parent="FireBars" instance=ExtResource("7_vp53t")]
position = Vector2(1224, -40)
scale = Vector2(-1, 1)

[node name="ElevatorPlatform" parent="." instance=ExtResource("8_gtwq2")]
position = Vector2(1128, -112)
vertical_direction = -1

[node name="ElevatorPlatform2" parent="." instance=ExtResource("8_gtwq2")]
position = Vector2(1128, 16)
vertical_direction = -1

[node name="ElevatorPlatform3" parent="." instance=ExtResource("8_gtwq2")]
position = Vector2(1176, -16)

[node name="ElevatorPlatform4" parent="." instance=ExtResource("8_gtwq2")]
position = Vector2(1176, -144)

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

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("11_40syx")]
position = Vector2(280, -152)

[node name="RedCoin5" parent="ChallengeNodes" instance=ExtResource("11_40syx")]
position = Vector2(920, -72)
id = 1

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("11_40syx")]
position = Vector2(1080, -152)
id = 2

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("11_40syx")]
position = Vector2(1560, -120)
id = 3

[node name="RedCoin4" parent="ChallengeNodes" instance=ExtResource("11_40syx")]
position = Vector2(1896, -120)
id = 4

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("12_5sds7")]
position = Vector2(1400, -104)

[node name="InvisibleQuestionBlock2" parent="ChallengeNodes" instance=ExtResource("12_5sds7")]
position = Vector2(1400, -152)
item = ExtResource("13_p26l4")

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

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

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

[node name="Bowser" parent="." instance=ExtResource("11_q4etu")]
position = Vector2(1944, -48)

[node name="ResourceSetterNew" parent="Bowser/SpriteScaleJoint/DeathSprite" index="0"]
resource_json = ExtResource("16_5sds7")

[node name="SmallSidewaysPlatform" parent="." instance=ExtResource("12_3nhmb")]
position = Vector2(1928, -112)

[node name="Podoboo" parent="." instance=ExtResource("14_ik07c")]
position = Vector2(8, -104)

[node name="Podoboo2" parent="." instance=ExtResource("14_ik07c")]
position = Vector2(232, -104)

[node name="QuestionBlock" parent="." instance=ExtResource("15_3nhmb")]
position = Vector2(120, -152)
item = ExtResource("16_2jw65")
mushroom_if_small = true

[node name="DropShadow" parent="." instance=ExtResource("17_n7idk")]

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

[node name="Firebar7" parent="SecondQuestNode" instance=ExtResource("7_vp53t")]
position = Vector2(824, 8)

[node name="Firebar8" parent="SecondQuestNode" instance=ExtResource("7_vp53t")]
position = Vector2(632, 8)

[node name="Firebar9" parent="SecondQuestNode" instance=ExtResource("7_vp53t")]
position = Vector2(440, 8)

[node name="Firebar10" parent="SecondQuestNode" instance=ExtResource("7_vp53t")]
position = Vector2(1400, -24)

[node name="Podoboo3" parent="SecondQuestNode" instance=ExtResource("14_ik07c")]
position = Vector2(72, -104)

[node name="Podoboo4" parent="SecondQuestNode" instance=ExtResource("14_ik07c")]
position = Vector2(1496, -80)

[node name="Podoboo5" parent="SecondQuestNode" instance=ExtResource("14_ik07c")]
position = Vector2(1560, -80)

[node name="Firebar11" parent="SecondQuestNode" instance=ExtResource("7_vp53t")]
position = Vector2(120, -88)

[node name="EntityGenerator" parent="." instance=ExtResource("24_bibmg")]
position = Vector2(1240, -136)

[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69010" to="Tiles/@Node2D@69010/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69011" to="Tiles/@Node2D@69011/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69012" to="Tiles/@Node2D@69012/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69013" to="Tiles/@Node2D@69013/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69014" to="Tiles/@Node2D@69014/LevelPersistance" method="set_as_active"]
[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@69015" to="Tiles/@AnimatableBody2D@69015/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69015" to="Tiles/@AnimatableBody2D@69015/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69015" to="Tiles/@AnimatableBody2D@69015" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69015" to="Tiles/@AnimatableBody2D@69015/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69015" to="Tiles/@AnimatableBody2D@69015" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69015" to="Tiles/@AnimatableBody2D@69015/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69016" to="Tiles/@AnimatableBody2D@69016/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69017" to="Tiles/@AnimatableBody2D@69017/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69018" to="Tiles/@AnimatableBody2D@69018/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69019" to="Tiles/@AnimatableBody2D@69019/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@69020" to="Tiles/@Area2D@69020" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69021" to="Tiles/@Area2D@69021" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69022" to="Tiles/@Area2D@69022" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69023" to="Tiles/@Area2D@69023" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69024" to="Tiles/@Area2D@69024" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69025" to="Tiles/@Area2D@69025" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69026" to="Tiles/@Area2D@69026" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69027" to="Tiles/@Area2D@69027" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69028" to="Tiles/@Area2D@69028" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69029" to="Tiles/@Area2D@69029" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69030" to="Tiles/@Area2D@69030" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69031" to="Tiles/@Area2D@69031" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69032" to="Tiles/@Area2D@69032" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69033" to="Tiles/@Area2D@69033" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69034" to="Tiles/@Area2D@69034" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69035" to="Tiles/@Area2D@69035" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69036" to="Tiles/@Area2D@69036" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69037" to="Tiles/@Area2D@69037" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69038" to="Tiles/@Area2D@69038" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69039" to="Tiles/@Area2D@69039" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69040" to="Tiles/@Area2D@69040" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69041" to="Tiles/@Area2D@69041" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69042" to="Tiles/@Area2D@69042" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69043" to="Tiles/@Area2D@69043" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69044" to="Tiles/@Area2D@69044" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69045" to="Tiles/@Area2D@69045" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69046" to="Tiles/@Area2D@69046" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69047" to="Tiles/@Area2D@69047" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69048" to="Tiles/@Area2D@69048" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69049" to="Tiles/@Area2D@69049" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69050" to="Tiles/@Area2D@69050" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69051" to="Tiles/@Area2D@69051" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69052" to="Tiles/@Area2D@69052" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69053" to="Tiles/@Area2D@69053" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69054" to="Tiles/@Area2D@69054" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69055" to="Tiles/@Area2D@69055" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69056" to="Tiles/@Area2D@69056" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69057" to="Tiles/@Area2D@69057" 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"]

[editable path="Bowser"]
