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

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_bcj48"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Castle.json" id="2_rra0j"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_ag1yg"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="5_nunte"]
[ext_resource type="PackedScene" uid="uid://b5fyj3qbppnyg" path="res://Scenes/Prefabs/LevelObjects/PickAPathTeleport.tscn" id="7_sbjt5"]
[ext_resource type="PackedScene" uid="uid://cmcpug8hc74jf" path="res://Scenes/Prefabs/LevelObjects/PickAPathPoint.tscn" id="8_wflwc"]
[ext_resource type="PackedScene" uid="uid://cxdj1ea1rt1r4" path="res://Scenes/Prefabs/Entities/Enemies/Podoboo.tscn" id="9_snvw1"]
[ext_resource type="PackedScene" uid="uid://1rxw4k4wq3ni" path="res://Scenes/Prefabs/Entities/Enemies/PiranhaPlant.tscn" id="10_4qfgx"]
[ext_resource type="PackedScene" uid="uid://iq86u4w60yee" path="res://Scenes/Prefabs/Entities/Objects/Firebar.tscn" id="11_p56pp"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="12_vy657"]
[ext_resource type="PackedScene" uid="uid://dbjqtjhb2t4cn" path="res://Scenes/Prefabs/Entities/Items/FireFlower.tscn" id="13_43fcu"]
[ext_resource type="PackedScene" uid="uid://c2ntyej6ddm72" path="res://Scenes/Prefabs/LevelObjects/CastleToad.tscn" id="14_4qfgx"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/BuzzyBeetleShell.json" id="15_38nsg"]
[ext_resource type="PackedScene" uid="uid://dtpyjucfl16sw" path="res://Scenes/Prefabs/LevelObjects/CastleBridge.tscn" id="15_p56pp"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="16_4qfgx"]
[ext_resource type="PackedScene" uid="uid://duptcik2j0b04" path="res://Scenes/Prefabs/Entities/Enemies/Bowser.tscn" id="16_vy657"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="17_p56pp"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="20_rra0j"]
[ext_resource type="PackedScene" uid="uid://cmbpqnq10arts" path="res://Scenes/Prefabs/Entities/Items/RedCoin.tscn" id="21_ci3rm"]
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="22_m7ew2"]
[ext_resource type="Script" uid="uid://dn7riekvv1gpy" path="res://Scripts/Parts/SettingObjectNode.gd" id="23_38nsg"]
[ext_resource type="PackedScene" uid="uid://c75cko8tyt467" path="res://Scenes/Prefabs/LevelObjects/CastleChallengeEnd.tscn" id="23_ci3rm"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="23_rra0j"]

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

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

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

[node name="PickAPathTeleport" parent="." instance=ExtResource("7_sbjt5")]
position = Vector2(1016, -32)
scale = Vector2(1, 1.36331)
reset_pos = Vector2(-56, 0)

[node name="PickAPathTeleport2" parent="PickAPathTeleport" instance=ExtResource("7_sbjt5")]
position = Vector2(-56, -58.6807)
scale = Vector2(1, 1.34429)
reset_pos = Vector2(-56, 0)

[node name="PickAPathPoint" parent="PickAPathTeleport" instance=ExtResource("8_wflwc")]
position = Vector2(-288, 0)

[node name="PickAPathPoint2" parent="PickAPathTeleport" instance=ExtResource("8_wflwc")]
position = Vector2(-728, 0)

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

[node name="Podoboo" parent="Enemies" instance=ExtResource("9_snvw1")]
position = Vector2(920, -144)

[node name="Podoboo2" parent="Enemies" instance=ExtResource("9_snvw1")]
position = Vector2(2392, -104)

[node name="PirannhaPlant" parent="Enemies" instance=ExtResource("10_4qfgx")]
position = Vector2(1120, -64)

[node name="PirannhaPlant3" parent="Enemies" instance=ExtResource("10_4qfgx")]
position = Vector2(384, -48)

[node name="PirannhaPlant2" parent="Enemies" instance=ExtResource("10_4qfgx")]
position = Vector2(1200, -64)

[node name="Firebar" parent="." instance=ExtResource("11_p56pp")]
position = Vector2(1736, -120)
direction = 1

[node name="Firebar2" parent="." instance=ExtResource("11_p56pp")]
position = Vector2(1896, -120)

[node name="Firebar3" parent="." instance=ExtResource("11_p56pp")]
position = Vector2(2120, -56)

[node name="InvisibleQuestionBlock" parent="." instance=ExtResource("12_vy657")]
position = Vector2(1000, -88)
item = ExtResource("13_43fcu")
mushroom_if_small = true

[node name="PickAPathTeleport2" parent="." instance=ExtResource("7_sbjt5")]
position = Vector2(2088, -144)
reset_pos = Vector2(1048, 0)

[node name="PickAPathTeleport3" parent="PickAPathTeleport2" instance=ExtResource("7_sbjt5")]
position = Vector2(0, 88)
scale = Vector2(1, 2.53558)
reset_pos = Vector2(1040, 0)

[node name="PickAPathPoint" parent="PickAPathTeleport2" instance=ExtResource("8_wflwc")]
position = Vector2(-664, 8)

[node name="PickAPathPoint2" parent="PickAPathTeleport2" instance=ExtResource("8_wflwc")]
position = Vector2(-272, -8)

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

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

[node name="Bowser" parent="." instance=ExtResource("16_vy657")]
position = Vector2(2424, -48)

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

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

[node name="LevelBG" parent="." instance=ExtResource("16_4qfgx")]
particles = 3

[node name="ChallengeNodes" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("20_rra0j")
nodes_to_delete = [NodePath("../Blocks"), NodePath("../CastleToad")]
force_on = true
metadata/_custom_type_script = "uid://cgm3opb5qudc1"

[node name="RedCoin" parent="ChallengeNodes" instance=ExtResource("21_ci3rm")]
position = Vector2(232, -120)

[node name="RedCoin2" parent="ChallengeNodes" instance=ExtResource("21_ci3rm")]
position = Vector2(920, -8)
id = 1

[node name="RedCoin3" parent="ChallengeNodes" instance=ExtResource("21_ci3rm")]
position = Vector2(2424, -136)
id = 4

[node name="RedCoin4" parent="ChallengeNodes" instance=ExtResource("21_ci3rm")]
position = Vector2(1896, -136)
id = 3

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("12_vy657")]
position = Vector2(1288, -56)
item = ExtResource("22_m7ew2")
metadata/r_coin_id = 2

[node name="InvisibleQuestionBlock2" parent="ChallengeNodes" instance=ExtResource("12_vy657")]
position = Vector2(1720, -120)
item = ExtResource("23_rra0j")

[node name="CastleChallengeEnd" parent="ChallengeNodes" instance=ExtResource("23_ci3rm")]
position = Vector2(2688, 0)

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

[node name="InvisibleQuestionBlock" parent="Blocks" instance=ExtResource("12_vy657")]
position = Vector2(1288, -56)

[node name="SettingObjectNode" type="Node" parent="." node_paths=PackedStringArray("nodes_to_delete")]
script = ExtResource("23_38nsg")
setting_title = "level_design"
valid_value = 0
nodes_to_delete = [NodePath("../PickAPathTeleport")]
metadata/_custom_type_script = "uid://dn7riekvv1gpy"

[node name="Tiles" parent="SettingObjectNode" instance=ExtResource("4_ag1yg")]
tile_map_data = PackedByteArray("AAAqAP7/AAABAAMAAAArAP7/AAACAAMAAAAsAP7/AAADAAMAAAAuAP7/AAABAAMAAAAvAP7/AAACAAMAAAAwAP7/AAACAAMAAAAxAP7/AAACAAMAAAAyAP7/AAACAAMAAAAzAP7/AAACAAMAAAA0AP7/AAACAAMAAAA1AP7/AAACAAMAAAA2AP7/AAACAAMAAAA3AP7/AAACAAMAAAA4AP7/AAADAAMAAAA6AP7/AAABAAMAAAA7AP7/AAACAAMAAAA8AP7/AAACAAMAAAA9AP7/AAADAAMAAAA/AP7/AAAAAAMAAAA=")

[node name="PickAPathTeleport" parent="SettingObjectNode" instance=ExtResource("7_sbjt5")]
position = Vector2(1016, -8)
scale = Vector2(1, 0.25)
reset_pos = Vector2(-56, 0)

[node name="PickAPathTeleport2" parent="SettingObjectNode/PickAPathTeleport" instance=ExtResource("7_sbjt5")]
position = Vector2(0, -160.00002)
scale = Vector2(1, 1.34429)
reset_pos = Vector2(-56, 0)

[node name="PickAPathPoint" parent="SettingObjectNode/PickAPathTeleport" instance=ExtResource("8_wflwc")]
position = Vector2(-184, 0)

[node name="PickAPathPoint2" parent="SettingObjectNode/PickAPathTeleport" instance=ExtResource("8_wflwc")]
position = Vector2(-728, -64)
scale = Vector2(1, 7.13)

[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@46832" to="Tiles/@AnimatableBody2D@46832/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@46832" to="Tiles/@AnimatableBody2D@46832/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="block_destroyed" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@46833" to="Tiles/@AnimatableBody2D@46833/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"]
[connection signal="victory_begin" from="CastleBridge" to="ChallengeNodes/CastleChallengeEnd" method="begin"]

[editable path="Bowser"]
