[gd_scene load_steps=51 format=4 uid="uid://sursemsbf1lg"]

[ext_resource type="Script" uid="uid://5e157vdk6175" path="res://addons/reedscene/scene/ReedScene.gd" id="1_oyljl"]
[ext_resource type="Script" uid="uid://bh066o84byplh" path="res://addons/reedscene/scene/ReedSceneID.gd" id="2_ggwu1"]
[ext_resource type="Script" uid="uid://dn0ksjoswquf5" path="res://addons/reedscene/scene/SceneManager.gd" id="3_7btev"]
[ext_resource type="Script" uid="uid://ons77en82uls" path="res://addons/reedscene/scene/scene_trigger/base/SceneTrigger.gd" id="4_pkqns"]
[ext_resource type="Resource" uid="uid://bym4pb0ellj7b" path="res://_scene/scene_trigger_resource/default_switch.tres" id="5_wiv8n"]
[ext_resource type="Resource" uid="uid://c7gm32jjs8wop" path="res://_scene/guard/ActIDChanged/Guard_ActIDChangedCheck.tres" id="6_j5iwd"]
[ext_resource type="Script" uid="uid://dxj5vimigc651" path="res://addons/reedscene/scene/scene_trigger/base/SceneTriggerEffectPair.gd" id="7_0m4o0"]
[ext_resource type="Script" uid="uid://dsgl7lbyjsiif" path="res://addons/reedscene/act/ActManager.gd" id="7_mu7ca"]
[ext_resource type="Script" uid="uid://fxpk2ot6otfh" path="res://addons/reedscene/act/Act.gd" id="8_0m4o0"]
[ext_resource type="Script" uid="uid://b1bgmb71bapws" path="res://addons/reedscene/scene/scene_trigger/base/SceneTriggerEffect.gd" id="8_1oohu"]
[ext_resource type="Script" uid="uid://baqgorvlumyju" path="res://addons/reedscene/act/SingleAct.gd" id="9_1oohu"]
[ext_resource type="Script" uid="uid://bjstkg23cq6vq" path="res://addons/reedscene/scene/scene_trigger/STE_SwitchAct.gd" id="9_g4f48"]
[ext_resource type="Script" uid="uid://pxjf5vst08eo" path="res://addons/reedscene/prop/PropManager.gd" id="10_g4f48"]
[ext_resource type="Script" uid="uid://cwxwsfl1mx7kc" path="res://addons/reedscene/scene/scene_trigger/STT_Autoload.gd" id="10_o5yb1"]
[ext_resource type="PackedScene" uid="uid://bflwr7cryd2l0" path="res://_camera/CameraAnchor.tscn" id="11_o5yb1"]
[ext_resource type="Script" uid="uid://cdprpen0jyr6d" path="res://addons/reedscene/scene/scene_trigger/STR_NodePath.gd" id="11_vhd7q"]
[ext_resource type="Script" uid="uid://b4menkyub4ce7" path="res://addons/reedscene/prop/PropComponent.gd" id="12_vhd7q"]
[ext_resource type="Script" uid="uid://di41kt2tj34c2" path="res://addons/reedscene/prop/StateManager.gd" id="13_5fsuc"]
[ext_resource type="Script" uid="uid://7lml6d1t5xtq" path="res://addons/reedscene/prop/PropState.gd" id="14_rxcsc"]
[ext_resource type="Script" uid="uid://cdvgq0xqdbagk" path="res://addons/reedscene/prop/Effect/ReedPropEffect.gd" id="15_xtmay"]
[ext_resource type="Resource" uid="uid://bjjxh7g7iosla" path="res://_props/_camera/camera_anchor_disable.tres" id="16_vjg7j"]
[ext_resource type="Resource" uid="uid://458r8rf7x02p" path="res://_props/_camera/camera_anchor_enable.tres" id="17_j2lfw"]
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="18_a8l5r"]
[ext_resource type="Resource" uid="uid://dd4df6yjkeifa" path="res://_props/_prefabs/player/effect/player_trigger_volumn_disable.tres" id="19_a3wxh"]
[ext_resource type="Resource" uid="uid://b6iglvt36pm55" path="res://_props/_prefabs/player/effect/player_trigger_volumn_enable.tres" id="20_b60eo"]
[ext_resource type="PackedScene" uid="uid://cxgcmdxlbwwjh" path="res://_props/_prefabs/player/player_respawn_point.tscn" id="21_5yrma"]
[ext_resource type="Script" uid="uid://bf1qlvdbf8qdp" path="res://addons/reedscene/prop/Effect/EAT_CallFunc.gd" id="22_k5pwp"]
[ext_resource type="Script" uid="uid://8cqs3i8sr8b1" path="res://addons/reedscene/prop/Effect/ETT_Owner.gd" id="23_5h6d2"]
[ext_resource type="TileSet" uid="uid://doepkfp83k0lb" path="res://_tileset/test.tres" id="24_uiy5k"]
[ext_resource type="PackedScene" uid="uid://degt1t2y08udg" path="res://_props/dark_material_ball/dark_material_ball.tscn" id="30_mu7ca"]

[sub_resource type="Resource" id="Resource_5fsuc"]
script = ExtResource("9_g4f48")
func_name = &"player_follow_camera"
metadata/_custom_type_script = "uid://bjstkg23cq6vq"

[sub_resource type="Resource" id="Resource_rxcsc"]
script = ExtResource("10_o5yb1")
autoload_name = &"GlobalEvent"
metadata/_custom_type_script = "uid://cwxwsfl1mx7kc"

[sub_resource type="Resource" id="Resource_xtmay"]
script = ExtResource("7_0m4o0")
target = SubResource("Resource_rxcsc")
effect = Array[ExtResource("8_1oohu")]([SubResource("Resource_5fsuc")])
metadata/_custom_type_script = "uid://dxj5vimigc651"

[sub_resource type="Resource" id="Resource_vjg7j"]
script = ExtResource("11_vhd7q")
node_path = NodePath("../ActManager")
monitor_signal = &"act_changed"
metadata/_custom_type_script = "uid://cdprpen0jyr6d"

[sub_resource type="Resource" id="Resource_j2lfw"]
script = ExtResource("4_pkqns")
trigger_register_conifg = SubResource("Resource_vjg7j")
guard = ExtResource("6_j5iwd")
trigger_effect_pairs = Array[ExtResource("7_0m4o0")]([SubResource("Resource_xtmay")])
metadata/_custom_type_script = "uid://ons77en82uls"

[sub_resource type="Resource" id="Resource_hd3du"]
script = ExtResource("9_1oohu")

[sub_resource type="Resource" id="Resource_rpkwp"]
script = ExtResource("9_1oohu")

[sub_resource type="Resource" id="Resource_c5n0b"]
script = ExtResource("9_1oohu")

[sub_resource type="Resource" id="Resource_viktm"]
script = ExtResource("8_0m4o0")
prop_state_map = Dictionary[int, ExtResource("9_1oohu")]({
0: SubResource("Resource_hd3du"),
1: SubResource("Resource_rpkwp"),
2: SubResource("Resource_c5n0b")
})

[sub_resource type="Resource" id="Resource_4ake0"]
script = ExtResource("9_1oohu")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_vb6ml"]
script = ExtResource("9_1oohu")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_vjpkl"]
script = ExtResource("9_1oohu")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_a1vfv"]
script = ExtResource("8_0m4o0")
prop_state_map = Dictionary[int, ExtResource("9_1oohu")]({
0: SubResource("Resource_4ake0"),
1: SubResource("Resource_vb6ml"),
2: SubResource("Resource_vjpkl")
})
metadata/_custom_type_script = "uid://fxpk2ot6otfh"

[sub_resource type="RectangleShape2D" id="RectangleShape2D_knjgm"]
size = Vector2(751, 408.5)

[sub_resource type="Resource" id="Resource_ctwrc"]
script = ExtResource("22_k5pwp")
func_name = &"pop_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_0u6xi"]
script = ExtResource("23_5h6d2")

[sub_resource type="Resource" id="Resource_r0e2c"]
script = ExtResource("15_xtmay")
effect_target_type = SubResource("Resource_0u6xi")
effect_apply_type = SubResource("Resource_ctwrc")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[sub_resource type="Resource" id="Resource_hatj6"]
script = ExtResource("22_k5pwp")
func_name = &"push_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_o2v7x"]
script = ExtResource("23_5h6d2")

[sub_resource type="Resource" id="Resource_ubvm0"]
script = ExtResource("15_xtmay")
effect_target_type = SubResource("Resource_o2v7x")
effect_apply_type = SubResource("Resource_hatj6")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[node name="ReedScene" type="Node2D"]
script = ExtResource("1_oyljl")
metadata/_custom_type_script = "uid://5e157vdk6175"

[node name="[Invalid!]" type="Node" parent="."]
script = ExtResource("2_ggwu1")

[node name="SceneManager" type="Node" parent="."]
script = ExtResource("3_7btev")
quick_trigger = Array[ExtResource("4_pkqns")]([ExtResource("5_wiv8n"), SubResource("Resource_j2lfw")])

[node name="ActManager" type="Node" parent="."]
script = ExtResource("7_mu7ca")
prop_state_map = Dictionary[int, ExtResource("8_0m4o0")]({
0: SubResource("Resource_viktm"),
1: SubResource("Resource_a1vfv")
})
init_act_id = 0

[node name="Props" type="Node2D" parent="."]
script = ExtResource("10_g4f48")

[node name="CameraAnchor" parent="Props" instance=ExtResource("11_o5yb1")]
position = Vector2(-39, 1203)

[node name="[Prop_0000]" type="Node" parent="Props/CameraAnchor"]
script = ExtResource("12_vhd7q")
prop_id = 0

[node name="States" type="Node" parent="Props/CameraAnchor/[Prop_0000]"]
script = ExtResource("13_5fsuc")

[node name="[ID_0] Disable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
script = ExtResource("14_rxcsc")
state_id = 0
effects = Array[ExtResource("15_xtmay")]([ExtResource("16_vjg7j")])

[node name="[ID_1] Enable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
script = ExtResource("14_rxcsc")
state_id = 1
effects = Array[ExtResource("15_xtmay")]([ExtResource("17_j2lfw")])

[node name="PlayerTriggerVolumn" parent="Props" instance=ExtResource("18_a8l5r")]
position = Vector2(-39, 1221)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
position = Vector2(0, -9)
shape = SubResource("RectangleShape2D_knjgm")
debug_color = Color(0.70308036, 0.46053094, 0.46591634, 0.41960785)

[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn"]
script = ExtResource("12_vhd7q")
prop_id = 1

[node name="States" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]"]
script = ExtResource("13_5fsuc")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
script = ExtResource("14_rxcsc")
state_id = 0
effects = Array[ExtResource("15_xtmay")]([ExtResource("19_a3wxh")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
script = ExtResource("14_rxcsc")
state_id = 1
effects = Array[ExtResource("15_xtmay")]([ExtResource("20_b60eo")])

[node name="PlayerRespawnPoint" parent="Props" instance=ExtResource("21_5yrma")]
position = Vector2(-370, 1389)

[node name="[Prop_0002]" type="Node" parent="Props/PlayerRespawnPoint"]
script = ExtResource("12_vhd7q")
prop_id = 2

[node name="States" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]"]
script = ExtResource("13_5fsuc")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
script = ExtResource("14_rxcsc")
state_id = 0
effects = Array[ExtResource("15_xtmay")]([SubResource("Resource_r0e2c")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
script = ExtResource("14_rxcsc")
state_id = 1
effects = Array[ExtResource("15_xtmay")]([SubResource("Resource_ubvm0")])

[node name="TileMapLayer" type="TileMapLayer" parent="." groups=["GRAPABLE"]]
texture_filter = 1
tile_map_data = PackedByteArray("[encoded data, 14724 characters]")
tile_set = ExtResource("24_uiy5k")

[node name="DarkMaterialBall" parent="." instance=ExtResource("30_mu7ca")]
position = Vector2(-164, 1283)
pull_speed = 800.0

[node name="DarkMaterialBall2" parent="." instance=ExtResource("30_mu7ca")]
position = Vector2(116, 1076)
pull_speed = 800.0

[node name="DarkMaterialBall3" parent="." instance=ExtResource("30_mu7ca")]
position = Vector2(33, 1188)
pull_speed = 800.0

[node name="DarkMaterialBall4" parent="." instance=ExtResource("30_mu7ca")]
position = Vector2(-78, 1192)
pull_speed = 800.0
