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

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_0kk8t"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_d34x1"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="3_en71p"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="6_cmkys"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="7_8klxw"]
[ext_resource type="PackedScene" uid="uid://n7nskl10ouem" path="res://Scenes/Prefabs/Entities/Items/PoisonMushroom.tscn" id="8_lgfb4"]
[ext_resource type="PackedScene" uid="uid://b3or4h5ke6lni" path="res://Scenes/Prefabs/Entities/Objects/SmallSidewaysPlatform.tscn" id="9_ncmv2"]
[ext_resource type="PackedScene" uid="uid://kj5pw3xhq8f7" path="res://Scenes/Prefabs/Entities/Enemies/RedPiranhaPlant.tscn" id="10_cmkys"]
[ext_resource type="PackedScene" uid="uid://b6drci0vml1as" path="res://Scenes/Prefabs/Entities/Enemies/Blooper.tscn" id="11_8klxw"]
[ext_resource type="PackedScene" uid="uid://r6dlmokkdyar" path="res://Scenes/Prefabs/Entities/Enemies/GreenKoopaTroopa.tscn" id="12_lgfb4"]
[ext_resource type="PackedScene" uid="uid://cmvugag0kupgu" path="res://Scenes/Prefabs/Entities/Enemies/RedKoopaTroopa.tscn" id="13_ct5s8"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="13_ncmv2"]
[ext_resource type="PackedScene" uid="uid://b5fyj3qbppnyg" path="res://Scenes/Prefabs/LevelObjects/PickAPathTeleport.tscn" id="14_ct5s8"]
[ext_resource type="PackedScene" uid="uid://cmcpug8hc74jf" path="res://Scenes/Prefabs/LevelObjects/PickAPathPoint.tscn" id="15_8klxw"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="16_lgfb4"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="18_ct5s8"]
[ext_resource type="Script" uid="uid://bdq0373j5n5o0" path="res://Scripts/Parts/CameraRightLimit.gd" id="19_d34x1"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="19_g2oxs"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="20_lf0wv"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="22_51i6h"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="23_eisac"]
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="24_io31g"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="25_aiknn"]

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

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

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

[node name="InvisibleQuestionBlock" parent="." instance=ExtResource("7_8klxw")]
position = Vector2(232, -72)
item = ExtResource("8_lgfb4")

[node name="Tiles2" parent="." instance=ExtResource("6_cmkys")]
tile_map_data = PackedByteArray("AAATAAAAAgAAAAIAAAATAAEAAgAAAAMAAAAUAAAAAgAAAAIAAAAUAAEAAgAAAAMAAAAVAAAAAgAAAAIAAAAVAAEAAgAAAAMAAAAWAAAAAgAAAAIAAAAWAAEAAgAAAAMAAAAXAAAAAgAAAAIAAAAXAAEAAgAAAAMAAAAYAAAAAgAAAAIAAAAYAAEAAgAAAAMAAAAZAAAAAgAAAAIAAAAZAAEAAgAAAAMAAAAaAAAAAgAAAAIAAAAaAAEAAgAAAAMAAAAbAAAAAgAAAAIAAAAbAAEAAgAAAAMAAAAcAAAAAgAAAAIAAAAcAAEAAgAAAAMAAAAdAAAAAgAAAAIAAAAdAAEAAgAAAAMAAAAfAAAAAgAAAAIAAAAfAAEAAgAAAAMAAAAiAAAAAgAAAAIAAAAiAAEAAgAAAAMAAAAjAAAAAgAAAAIAAAAjAAEAAgAAAAMAAAAkAAAAAgAAAAIAAAAkAAEAAgAAAAMAAADz/wAAAgAAAAIAAADz/wEAAgAAAAMAAAD0/wAAAgAAAAIAAAD0/wEAAgAAAAMAAAD1/wAAAgAAAAIAAAD1/wEAAgAAAAMAAAD2/wAAAgAAAAIAAAD2/wEAAgAAAAMAAAD3/wAAAgAAAAIAAAD3/wEAAgAAAAMAAAD4/wAAAgAAAAIAAAD4/wEAAgAAAAMAAAD5/wAAAgAAAAIAAAD5/wEAAgAAAAMAAAD6/wAAAgAAAAIAAAD6/wEAAgAAAAMAAAA=")

[node name="SmallSidewaysPlatform" parent="." instance=ExtResource("9_ncmv2")]
z_index = 50
position = Vector2(448, 0)

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

[node name="RedPirannhaPlant" parent="Enemies" instance=ExtResource("10_cmkys")]
position = Vector2(-192, -32)

[node name="RedPirannhaPlant2" parent="Enemies" instance=ExtResource("10_cmkys")]
position = Vector2(64, -32)

[node name="RedPirannhaPlant3" parent="Enemies" instance=ExtResource("10_cmkys")]
position = Vector2(320, -32)

[node name="Blooper" parent="Enemies" instance=ExtResource("11_8klxw")]
position = Vector2(152, -16)

[node name="GreenKoopaTroopa" parent="Enemies" instance=ExtResource("12_lgfb4")]
position = Vector2(312, -32)
winged = true

[node name="GreenKoopaTroopa2" parent="Enemies" instance=ExtResource("12_lgfb4")]
position = Vector2(392, -64)
winged = true
metadata/fly_2 = false

[node name="GreenKoopaTroopa3" parent="Enemies" instance=ExtResource("12_lgfb4")]
position = Vector2(1048, -64)
winged = true
metadata/fly_2 = false

[node name="RedKoopaTroopa" parent="Enemies" instance=ExtResource("13_ct5s8")]
position = Vector2(984, -112)
winged = true

[node name="Firebar" parent="." instance=ExtResource("13_ncmv2")]
position = Vector2(600, -56)

[node name="PickAPathTeleport" parent="." instance=ExtResource("14_ct5s8")]
position = Vector2(524, -112)
scale = Vector2(0.433611, 2.01978)
reset_pos = Vector2(-248, 0)

[node name="PickAPathPoint" parent="PickAPathTeleport" instance=ExtResource("15_8klxw")]
position = Vector2(-2.3064, 44.0641)
scale = Vector2(1.02482, 0.541387)

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

[node name="PipeArea2" parent="." instance=ExtResource("16_lgfb4")]
position = Vector2(320, -32)
target_level = "uid://ba2w224ffs88p"

[node name="PipeArea3" parent="." instance=ExtResource("16_lgfb4")]
position = Vector2(1104, -64)
enter_direction = 3
target_level = "uid://b427j864nhby4"

[node name="DropShadow" parent="." instance=ExtResource("18_ct5s8")]

[node name="CameraRightLimit" type="Node2D" parent="."]
position = Vector2(1184, -120)
script = ExtResource("19_d34x1")
metadata/_custom_type_script = "uid://bdq0373j5n5o0"

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

[node name="LevelBG" parent="." instance=ExtResource("20_lf0wv")]
particles = 3

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

[node name="QuestionBlock" parent="ChallengeNodes" instance=ExtResource("23_eisac")]
position = Vector2(-24, -56)
item = ExtResource("24_io31g")
metadata/r_coin_id = 3

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("7_8klxw")]
position = Vector2(520, -120)
item = ExtResource("25_aiknn")

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

[node name="QuestionBlock" parent="Blocks" instance=ExtResource("23_eisac")]
position = Vector2(-24, -56)

[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@112470" to="Tiles/@AnimatableBody2D@112470/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@112470" to="Tiles/@AnimatableBody2D@112470/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@112471" to="Tiles/@AnimatableBody2D@112471/BlockAnimations" method="bounce_block" unbinds=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]
