[gd_scene load_steps=21 format=4 uid="uid://dlxjn8m1sty8m"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_xy4p0"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_f1yvk"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="4_l7ags"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="5_lrwhn"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="7_o2hcq"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="8_0i7xm"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="9_4cb0o"]
[ext_resource type="PackedScene" uid="uid://dbjqtjhb2t4cn" path="res://Scenes/Prefabs/Entities/Items/FireFlower.tscn" id="10_p1pqf"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/BuzzyBeetleShell.json" id="11_06txv"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="12_brkk5"]
[ext_resource type="PackedScene" uid="uid://c2ntyej6ddm72" path="res://Scenes/Prefabs/LevelObjects/CastleToad.tscn" id="13_07w58"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="14_n7val"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="16_rveoc"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="17_06txv"]
[ext_resource type="PackedScene" uid="uid://c75cko8tyt467" path="res://Scenes/Prefabs/LevelObjects/CastleChallengeEnd.tscn" id="17_f1yvk"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="18_f1yvk"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="19_6wq5i"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="20_wa5b1"]
[ext_resource type="PackedScene" uid="uid://dmv5rl1ckkwsk" path="res://Scenes/Prefabs/LevelObjects/BowserFlameGenerator.tscn" id="21_f1yvk"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="22_6wq5i"]

[node name="3-4" type="Node"]
script = ExtResource("1_xy4p0")
music = ExtResource("2_f1yvk")
theme = "Castle"
world_id = 3
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("22_6wq5i")]
particles = 3

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

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

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

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

[node name="Firebar2" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(136, -24)

[node name="Firebar3" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(216, -24)

[node name="Firebar4" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(616, -120)

[node name="Firebar5" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(776, -120)

[node name="Firebar6" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(776, -24)
scale = Vector2(-1, 1)

[node name="Firebar7" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(616, -24)
scale = Vector2(-1, 1)

[node name="Firebar8" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(1032, -120)
scale = Vector2(-1, 1)

[node name="Firebar9" parent="FireBars" instance=ExtResource("7_o2hcq")]
position = Vector2(1032, -24)

[node name="Podoboo" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(8, -80)

[node name="Podoboo2" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(168, -80)

[node name="QuestionBlock" parent="." instance=ExtResource("9_4cb0o")]
position = Vector2(440, -56)
item = ExtResource("10_p1pqf")
mushroom_if_small = true

[node name="Podoboo3" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(1160, -88)

[node name="Podoboo4" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(1304, -88)

[node name="Podoboo5" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(1400, -88)

[node name="Podoboo6" parent="." instance=ExtResource("8_0i7xm")]
position = Vector2(1496, -88)

[node name="Bowser" parent="." instance=ExtResource("12_brkk5")]
position = Vector2(1920, -48)

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

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

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("18_f1yvk")]
position = Vector2(136, -120)

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("18_f1yvk")]
position = Vector2(504, -152)
id = 1

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("18_f1yvk")]
position = Vector2(696, -96)
id = 2

[node name="RedCoin4" parent="ChallengeNodes" instance=ExtResource("18_f1yvk")]
position = Vector2(1304, -72)
id = 3

[node name="RedCoin5" parent="ChallengeNodes" instance=ExtResource("18_f1yvk")]
position = Vector2(1848, -136)
id = 4

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("19_6wq5i")]
position = Vector2(856, -72)

[node name="InvisibleQuestionBlock2" parent="ChallengeNodes" instance=ExtResource("19_6wq5i")]
position = Vector2(872, -88)

[node name="InvisibleQuestionBlock3" parent="ChallengeNodes" instance=ExtResource("19_6wq5i")]
position = Vector2(888, -104)
item = ExtResource("20_wa5b1")

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

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

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

[node name="DropShadow" parent="." instance=ExtResource("16_rveoc")]

[node name="EntityGenerator" parent="." instance=ExtResource("21_f1yvk")]
position = Vector2(1272, -136)

[connection signal="block_destroyed" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/QuestionBlock" to="Tiles/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69527" to="Tiles/@AnimatableBody2D@69527/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69528" to="Tiles/@Node2D@69528/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@69529" to="Tiles/@Node2D@69529/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@69530" to="Tiles/@AnimatableBody2D@69530/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69530" to="Tiles/@AnimatableBody2D@69530/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69530" to="Tiles/@AnimatableBody2D@69530" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69530" to="Tiles/@AnimatableBody2D@69530/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69530" to="Tiles/@AnimatableBody2D@69530" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69530" to="Tiles/@AnimatableBody2D@69530/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69531" to="Tiles/@AnimatableBody2D@69531/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69532" to="Tiles/@AnimatableBody2D@69532/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69533" to="Tiles/@AnimatableBody2D@69533/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534" method="on_block_hit"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534" method="on_shell_block_hit"]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@69534" to="Tiles/@AnimatableBody2D@69534/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@69535" to="Tiles/@Area2D@69535" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69536" to="Tiles/@Area2D@69536" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69537" to="Tiles/@Area2D@69537" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69538" to="Tiles/@Area2D@69538" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69539" to="Tiles/@Area2D@69539" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69540" to="Tiles/@Area2D@69540" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69541" to="Tiles/@Area2D@69541" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69542" to="Tiles/@Area2D@69542" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69543" to="Tiles/@Area2D@69543" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69544" to="Tiles/@Area2D@69544" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69545" to="Tiles/@Area2D@69545" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69546" to="Tiles/@Area2D@69546" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69547" to="Tiles/@Area2D@69547" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69548" to="Tiles/@Area2D@69548" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69549" to="Tiles/@Area2D@69549" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69550" to="Tiles/@Area2D@69550" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69551" to="Tiles/@Area2D@69551" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69552" to="Tiles/@Area2D@69552" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69553" to="Tiles/@Area2D@69553" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69554" to="Tiles/@Area2D@69554" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69555" to="Tiles/@Area2D@69555" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69556" to="Tiles/@Area2D@69556" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69557" to="Tiles/@Area2D@69557" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69558" to="Tiles/@Area2D@69558" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69559" to="Tiles/@Area2D@69559" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69560" to="Tiles/@Area2D@69560" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69561" to="Tiles/@Area2D@69561" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69562" to="Tiles/@Area2D@69562" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69563" to="Tiles/@Area2D@69563" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69564" to="Tiles/@Area2D@69564" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69565" to="Tiles/@Area2D@69565" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69566" to="Tiles/@Area2D@69566" method="area_entered"]
[connection signal="area_entered" from="Tiles/@Area2D@69567" to="Tiles/@Area2D@69567" 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"]
