[gd_scene load_steps=17 format=4 uid="uid://vdrwnkl8pdvn"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_ceu2u"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Space.json" id="2_bmc3o"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_bmc3o"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_l4ek8"]
[ext_resource type="PackedScene" uid="uid://dnx48rakxib6u" path="res://Scenes/Prefabs/Entities/Enemies/Goomba.tscn" id="7_3u5fw"]
[ext_resource type="PackedScene" uid="uid://r6dlmokkdyar" path="res://Scenes/Prefabs/Entities/Enemies/GreenKoopaTroopa.tscn" id="8_omfv6"]
[ext_resource type="PackedScene" uid="uid://doo8617qiyp77" path="res://Scenes/Prefabs/Entities/Enemies/BuzzyBeetle.tscn" id="9_kd55v"]
[ext_resource type="PackedScene" uid="uid://kr7i2kf6rew0" path="res://Scenes/Prefabs/Entities/Enemies/HammerBro.tscn" id="10_hb0iq"]
[ext_resource type="PackedScene" uid="uid://cmvugag0kupgu" path="res://Scenes/Prefabs/Entities/Enemies/RedKoopaTroopa.tscn" id="11_1nuyf"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="12_c2mqa"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="13_ojg84"]
[ext_resource type="Script" uid="uid://dhtqnyrj3ndnj" path="res://Scripts/Parts/MoonGravity.gd" id="14_77o5u"]
[ext_resource type="PackedScene" uid="uid://c6loucilra6da" path="res://Scenes/Prefabs/LevelObjects/EndFlagpole.tscn" id="15_bmc3o"]
[ext_resource type="PackedScene" uid="uid://bney0cc8cfm5s" path="res://Scenes/Prefabs/LevelObjects/EndFinalCastle.tscn" id="16_l4ek8"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="17_l4ek8"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="17_ug5w3"]

[node name="9-4" type="Node"]
script = ExtResource("1_ceu2u")
music = ExtResource("2_bmc3o")
theme = "Space"
theme_time = "Night"
campaign = "SMBLL"
world_id = 9
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

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

[node name="Player" parent="." instance=ExtResource("5_l4ek8")]
position = Vector2(-224, 0)

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

[node name="Goomba" parent="Enemies" instance=ExtResource("7_3u5fw")]
position = Vector2(56, 0)

[node name="GreenKoopaTroopa" parent="Enemies" instance=ExtResource("8_omfv6")]
position = Vector2(120, 0)

[node name="BuzzyBeetle" parent="Enemies" instance=ExtResource("9_kd55v")]
position = Vector2(184, 0)

[node name="GreenKoopaTroopa2" parent="Enemies" instance=ExtResource("8_omfv6")]
position = Vector2(296, 0)
winged = true

[node name="HammerBro" parent="Enemies" instance=ExtResource("10_hb0iq")]
position = Vector2(392, -16)

[node name="RedKoopaTroopa" parent="Enemies" instance=ExtResource("11_1nuyf")]
position = Vector2(808, -64)
winged = true

[node name="Podoboo" parent="Enemies" instance=ExtResource("12_c2mqa")]
position = Vector2(968, -152)

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

[node name="MoonGravity" type="Node" parent="."]
script = ExtResource("14_77o5u")
metadata/_custom_type_script = "uid://dhtqnyrj3ndnj"

[node name="EndFlagpole" parent="." instance=ExtResource("15_bmc3o")]
position = Vector2(1560, 0)

[node name="EndFinalCastle" parent="." instance=ExtResource("16_l4ek8")]
position = Vector2(1624, 0)

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

[node name="LevelBG" parent="." instance=ExtResource("17_ug5w3")]
time_of_day = 1

[connection signal="block_destroyed" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/InvisibleQuestionBlock" to="Tiles/InvisibleQuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@54618" to="Tiles/@AnimatableBody2D@54618/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@54619" to="Tiles/@AnimatableBody2D@54619/BlockAnimations" method="bounce_block" unbinds=1]
