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

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_ilx4k"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_2biis"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_8asaa"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_nxtk7"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="7_deu1b"]
[ext_resource type="PackedScene" uid="uid://cmvugag0kupgu" path="res://Scenes/Prefabs/Entities/Enemies/RedKoopaTroopa.tscn" id="8_oikdo"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="9_osfb1"]
[ext_resource type="PackedScene" uid="uid://c2ntyej6ddm72" path="res://Scenes/Prefabs/LevelObjects/CastleToad.tscn" id="10_kdao6"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/RedKoopaShell.json" id="11_8asaa"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="11_xvmf8"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="12_j4q5r"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="13_2biis"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="13_oweu7"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="14_8asaa"]
[ext_resource type="PackedScene" uid="uid://bqhtste1il47d" path="res://Scenes/Prefabs/LevelObjects/BulletBillCannon.tscn" id="14_oweu7"]

[node name="A-4" type="Node"]
script = ExtResource("1_ilx4k")
music = ExtResource("2_2biis")
theme = "Castle"
time_limit = 300
campaign = "SMBLL"
world_id = 10
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"
metadata/_edit_vertical_guides_ = [1424.0]

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

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

[node name="Firebar" parent="." instance=ExtResource("7_deu1b")]
position = Vector2(136, 8)
direction = 1

[node name="Firebar2" parent="." instance=ExtResource("7_deu1b")]
position = Vector2(40, -40)

[node name="Firebar3" parent="." instance=ExtResource("7_deu1b")]
position = Vector2(232, -40)
direction = 1

[node name="Firebar4" parent="." instance=ExtResource("7_deu1b")]
position = Vector2(488, -104)
direction = 1

[node name="Firebar5" parent="." instance=ExtResource("7_deu1b")]
position = Vector2(648, -8)
direction = 1

[node name="RedKoopaTroopa" parent="." instance=ExtResource("8_oikdo")]
position = Vector2(1016, -128)

[node name="Podoboo" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(104, -88)

[node name="Podoboo2" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(696, -88)

[node name="Podoboo3" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(1176, -88)

[node name="Podoboo4" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(1240, -88)

[node name="Podoboo5" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(1304, -88)

[node name="Podoboo6" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(1384, -88)

[node name="Podoboo7" parent="." instance=ExtResource("9_osfb1")]
position = Vector2(1464, -88)

[node name="CastleToad" parent="." instance=ExtResource("10_kdao6")]
position = Vector2(2688, 0)

[node name="CastleBridge" parent="." instance=ExtResource("11_xvmf8")]
position = Vector2(2312, -40)

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

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

[node name="DropShadow" parent="." instance=ExtResource("13_2biis")]

[node name="TileMapConverter" type="Node" parent="." node_paths=PackedStringArray("tilemap")]
script = ExtResource("13_oweu7")
tilemap = NodePath("../Tiles")
metadata/_custom_type_script = "uid://cybpwmw4ywoow"

[node name="LevelBG" parent="." instance=ExtResource("14_8asaa")]
particles = 3

[node name="BulletBillCannon" parent="." instance=ExtResource("14_oweu7")]
position = Vector2(1640, -40)

[node name="BulletBillCannon2" parent="." instance=ExtResource("14_oweu7")]
position = Vector2(1800, -8)

[node name="BulletBillCannon3" parent="." instance=ExtResource("14_oweu7")]
position = Vector2(2104, -8)

[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="axe_touched" from="CastleBridge" to="Bowser" method="bridge_fall"]
[connection signal="victory_begin" from="CastleBridge" to="CastleToad" method="begin"]

[editable path="Bowser"]
