[gd_scene load_steps=15 format=4 uid="uid://jjgl3pvr0e8p"]

[ext_resource type="Script" uid="uid://bcqr1v25ygedb" path="res://Scripts/Classes/LevelClass.gd" id="1_djnvf"]
[ext_resource type="PackedScene" uid="uid://bksxgpygrdjl7" path="res://Scenes/Prefabs/LevelBG.tscn" id="2_0lews"]
[ext_resource type="JSON" path="res://Assets/Audio/BGM/Underground.json" id="2_kfu1g"]
[ext_resource type="PackedScene" uid="uid://cuh62hlq8errh" path="res://Scenes/Prefabs/Entities/Player.tscn" id="3_kfu1g"]
[ext_resource type="PackedScene" uid="uid://ct5rrpa7uehkk" path="res://Scenes/Parts/Tiles.tscn" id="4_sdfnf"]
[ext_resource type="PackedScene" uid="uid://ds5iugeocqd6a" path="res://Scenes/Prefabs/LevelObjects/HardCameraRightLimit.tscn" id="7_ibwaw"]
[ext_resource type="PackedScene" uid="uid://c145qqkvy8pr5" path="res://Scenes/Parts/DecoTiles.tscn" id="9_kfu1g"]
[ext_resource type="PackedScene" uid="uid://bc1mrna4kybhv" path="res://Scenes/Prefabs/Blocks/QuestionBlocks/QuestionBlock.tscn" id="10_5dgd4"]
[ext_resource type="Script" uid="uid://cgm3opb5qudc1" path="res://Scripts/Parts/ChallengeModeNodes.gd" id="11_ibwaw"]
[ext_resource type="PackedScene" uid="uid://d3gnwmvds4ors" path="res://Scenes/Prefabs/Entities/Items/SpinningRedCoin.tscn" id="12_lu2o1"]
[ext_resource type="PackedScene" uid="uid://dnx48rakxib6u" path="res://Scenes/Prefabs/Entities/Enemies/Goomba.tscn" id="13_ibwaw"]
[ext_resource type="PackedScene" uid="uid://58uk17ixtt4r" path="res://Scenes/Prefabs/Blocks/InvisibleBlocks/InvisibleQuestionBlock.tscn" id="13_wan1t"]
[ext_resource type="PackedScene" uid="uid://ctx0nbkjf2osn" path="res://Scenes/Prefabs/Entities/Items/YoshiEgg.tscn" id="14_12a18"]
[ext_resource type="PackedScene" uid="uid://dkgu57is78lro" path="res://Scenes/Parts/PipeArea.tscn" id="14_lu2o1"]

[node name="Level" type="Node"]
script = ExtResource("1_djnvf")
music = ExtResource("2_kfu1g")
theme = "Underground"
metadata/_custom_type_script = "uid://bcqr1v25ygedb"

[node name="LevelBG" parent="." instance=ExtResource("2_0lews")]

[node name="Player" parent="." instance=ExtResource("3_kfu1g")]
position = Vector2(-216, -160)

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

[node name="HardCameraRightLimit" parent="." instance=ExtResource("7_ibwaw")]
position = Vector2(704, -64)

[node name="DecoTiles" parent="." instance=ExtResource("9_kfu1g")]
tile_map_data = PackedByteArray("AAD9////AAADAAEAAAD1////AAAAAAAAAAD2////AAACAAAAAAD9//7/AAADAAAAAAD///3/AAAEAAAAAAD///7/AAAEAAEAAAD/////AAAAAAEAAAACAP//AAABAAEAAAADAP//AAABAAEAAAAEAP//AAABAAEAAAA=")

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

[node name="QuestionBlock" parent="Blocks" instance=ExtResource("10_5dgd4")]
position = Vector2(-136, -56)

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

[node name="QuestionBlock" parent="ChallengeNodes" instance=ExtResource("10_5dgd4")]
position = Vector2(-136, -56)
item = ExtResource("12_lu2o1")
metadata/r_coin_id = 2

[node name="InvisibleQuestionBlock" parent="ChallengeNodes" instance=ExtResource("13_wan1t")]
position = Vector2(40, -120)
item = ExtResource("14_12a18")

[node name="Goomba" parent="." instance=ExtResource("13_ibwaw")]

[node name="Goomba2" parent="." instance=ExtResource("13_ibwaw")]
position = Vector2(24, 0)

[node name="PipeArea" parent="." instance=ExtResource("14_lu2o1")]
position = Vector2(480, -32)
pipe_id = 5
target_level = "uid://bai8yq7658vif"

[connection signal="collected" from="Tiles/Coin" to="Tiles/Coin/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61094" to="Tiles/@Node2D@61094/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61095" to="Tiles/@Node2D@61095/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61096" to="Tiles/@Node2D@61096/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61097" to="Tiles/@Node2D@61097/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61098" to="Tiles/@Node2D@61098/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61099" to="Tiles/@Node2D@61099/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61100" to="Tiles/@Node2D@61100/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61101" to="Tiles/@Node2D@61101/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61102" to="Tiles/@Node2D@61102/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61103" to="Tiles/@Node2D@61103/LevelPersistance" method="set_as_active"]
[connection signal="collected" from="Tiles/@Node2D@61104" to="Tiles/@Node2D@61104/LevelPersistance" method="set_as_active"]
[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/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@61105" to="Tiles/@AnimatableBody2D@61105/LevelPersistance" method="set_as_active_2"]
[connection signal="block_emptied" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105/LevelPersistance" method="set_as_active"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105" method="player_mushroom_check"]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105" method="dispense_item" unbinds=1]
[connection signal="player_block_hit" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105/BlockAnimations" method="bounce_block" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105" method="dispense_item" unbinds=1]
[connection signal="shell_block_hit" from="Tiles/@AnimatableBody2D@61105" to="Tiles/@AnimatableBody2D@61105/BlockAnimations" method="bounce_block" unbinds=1]
