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

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_3qsc3"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_wnowg"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_17kpe"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="6_7icic"]
[ext_resource type="PackedScene" uid="uid://kj5pw3xhq8f7" path="res://Scenes/Prefabs/Entities/Enemies/RedPiranhaPlant.tscn" id="8_wnowg"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="9_17kpe"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="9_cgrx4"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="10_7icic"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="10_17kpe"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="10_cgrx4"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="11_7icic"]
[ext_resource type="Script" uid="uid://dn7riekvv1gpy" path="res://Scripts/Parts/SettingObjectNode.gd" id="12_em7eg"]
[ext_resource type="PackedScene" uid="uid://h7ys3yw5jvx3" path="res://Scenes/Prefabs/LevelObjects/Checkpoint.tscn" id="13_ta2ch"]
[ext_resource type="PackedScene" uid="uid://cassl51oehlb6" path="res://Scenes/Prefabs/LevelObjects/CheckpointFlag.tscn" id="14_5yew1"]
[ext_resource type="PackedScene" uid="uid://n1xyk5g5r4h6" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisiblePowerUpQuestionBlock.tscn" id="15_ta2ch"]

[node name="8-4b" type="Node"]
script = ExtResource("1_3qsc3")
music = ExtResource("2_wnowg")
theme = "Castle"
campaign = "SMBLL"
world_id = 8
level_id = 4
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

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

[node name="Tiles" parent="." instance=ExtResource("6_7icic")]
tile_map_data = PackedByteArray("[encoded data, 6100 characters]")

[node name="RedPirannhaPlant" parent="." instance=ExtResource("8_wnowg")]
position = Vector2(-192, -32)

[node name="RedPirannhaPlant2" parent="." instance=ExtResource("8_wnowg")]
position = Vector2(-80, -32)

[node name="PipeArea" parent="." instance=ExtResource("9_cgrx4")]
position = Vector2(-192, -32)
exit_only = true

[node name="PipeArea2" parent="." instance=ExtResource("9_cgrx4")]
position = Vector2(-80, -32)
target_level = "uid://m5tqelw47oet"

[node name="DropShadow" parent="." instance=ExtResource("10_cgrx4")]

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(-128, -88)
limit_left = -256

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

[node name="LevelBG" parent="." instance=ExtResource("10_7icic")]
particles = 3

[node name="ChallengeNodes" type="Node" parent="."]
script = ExtResource("10_17kpe")
metadata/_custom_type_script = "uid://cgm3opb5qudc1"

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("11_7icic")]
position = Vector2(-104, -8)
id = 2

[node name="SettingObjectNode" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("12_em7eg")
setting_title = "level_design"
nodes_to_delete = [NodePath("../InvisibleQuestionBlock")]
metadata/_custom_type_script = "uid://dn7riekvv1gpy"

[node name="Tiles2" parent="SettingObjectNode" instance=ExtResource("6_7icic")]
tile_map_data = PackedByteArray("AAD8//7/AAAEAAIAAADx//z/AQAAAAAACAA=")

[node name="Checkpoint" parent="." instance=ExtResource("13_ta2ch")]
position = Vector2(-104, -96)
optional = true

[node name="CheckpointFlag" parent="." instance=ExtResource("14_5yew1")]
position = Vector2(-104, -96)
optional = true

[node name="InvisibleQuestionBlock" parent="." instance=ExtResource("15_ta2ch")]
position = Vector2(-232, -56)

[connection signal="ready" from="Camera2D" to="Camera2D" method="make_current"]
[connection signal="block_destroyed" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock" method="player_mushroom_check"]
[connection signal="player_block_hit" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="SettingObjectNode/Tiles2/QuestionBlock" to="SettingObjectNode/Tiles2/QuestionBlock/BlockAnimations" method="bounce_block" unbinds=1]
