[gd_scene load_steps=4 format=4 uid="uid://cryw04x1rhuek"]

[ext_resource type="PackedScene" uid="uid://bgbkyhmcfa8l6" path="res://Scenes/Levels/UndergroundExit.tscn" id="1_2kijs"]
[ext_resource type="PackedScene" uid="uid://c145qqkvy8pr5" path="res://Scenes/Parts/DecoTiles.tscn" id="3_esidh"]
[ext_resource type="Script" uid="uid://cybpwmw4ywoow" path="res://Scripts/Parts/TileMapConverter.gd" id="4_hurmg"]

[node name="UndergroundExit" instance=ExtResource("1_2kijs")]
campaign = "SMBLL"

[node name="Tiles" parent="." index="2"]
tile_map_data = PackedByteArray("[encoded data, 30340 characters]")

[node name="EndFlagpole" parent="." index="3"]
position = Vector2(200, 0)

[node name="EndSmallCastle" parent="." index="4"]
position = Vector2(312, 0)

[node name="DecoTiles" parent="." index="9" instance=ExtResource("3_esidh")]
tile_map_data = PackedByteArray("AAD3//7/AAADAAAAAAD3////AAADAAEAAAD4//7/AAADAAAAAAD4////AAADAAEAAAD1//3/AAAEAAAAAAD1//7/AAAEAAEAAAD1////AAAAAAEAAADx////AAABAAEAAADw////AAABAAEAAAAGAP//AAABAAEAAAAHAP//AAABAAEAAAAJAP//AAABAAEAAAAIAP7/AAADAAAAAAAIAP//AAADAAEAAAALAP3/AAAEAAAAAAALAP7/AAAEAAEAAAALAP//AAAAAAEAAAA=")

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

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