[gd_scene load_steps=40 format=3 uid="uid://xogviclqd00a"]

[ext_resource type="PackedScene" uid="uid://ds2a1v38jso1e" path="res://Locations/location.tscn" id="1_eplvd"]
[ext_resource type="Script" path="res://Locations/JonaldLair/JonaldLair/JonaldLair.gd" id="2_18cry"]
[ext_resource type="Texture2D" uid="uid://cgvhqlj4667j8" path="res://Locations/JonaldLair/JonaldLair/JonaldLairBG.png" id="3_c3xfa"]
[ext_resource type="PackedScene" uid="uid://coslo600kkkwb" path="res://NPCs/Jonald/jonald.tscn" id="5_cyhua"]
[ext_resource type="Texture2D" uid="uid://bl4mkg8ccwrhk" path="res://MiscArt/White.png" id="5_wtqj5"]
[ext_resource type="Texture2D" uid="uid://4kbvh0d1k2as" path="res://Objects/JonaldLair/LairDoor.png" id="6_38owu"]
[ext_resource type="Texture2D" uid="uid://5qnm0o3vj6y8" path="res://Objects/JonaldLair/JonaldMattress.png" id="7_lsvdd"]
[ext_resource type="PackedScene" uid="uid://dmis0qb56b23e" path="res://NPCs/Jonald/JonaldLairJonalds/EntranceJonald/jonaldLairEntranceGuard.tscn" id="8_y61q4"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/LargeJonald.gd" id="9_n4fpy"]
[ext_resource type="Texture2D" uid="uid://c0e4c8ur0qnsd" path="res://Objects/JonaldLair/Lamp.png" id="10_5k4yb"]
[ext_resource type="Texture2D" uid="uid://cdsd68dseq2pm" path="res://Objects/JonaldLair/TvStand/TvStand.png" id="11_t7cw0"]
[ext_resource type="PackedScene" uid="uid://cqbc8kenvs6f2" path="res://NPCs/Jonald/JonaldPlayingTennis/jonaldTennis.tscn" id="12_eyc20"]
[ext_resource type="Texture2D" uid="uid://bi6d4jkjfsdah" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim1.png" id="12_l0ovt"]
[ext_resource type="Texture2D" uid="uid://cgfqn3stkf88s" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim2.png" id="13_je14q"]
[ext_resource type="PackedScene" uid="uid://dhk768odtfjjc" path="res://Objects/GroundItems/GroundItem.tscn" id="13_rjf1x"]
[ext_resource type="Texture2D" uid="uid://dd3urxrug3hkp" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim3.png" id="14_cpb1a"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/ExplosiveBarrel.gd" id="14_qsdxd"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/Gasoline.gd" id="15_c11bv"]
[ext_resource type="Texture2D" uid="uid://dxao3ap2he54h" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim4.png" id="15_nwyis"]
[ext_resource type="Texture2D" uid="uid://c4tc4a3hbjuos" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim5.png" id="16_1iop6"]
[ext_resource type="PackedScene" uid="uid://burnkdrtcqvqb" path="res://Objects/SkillSpecific/BasketStorage/BasketStorageSpot.tscn" id="16_b8iq3"]
[ext_resource type="PackedScene" uid="uid://dyum5p1i4skee" path="res://Objects/SkillSpecific/Gardening/PlantingSpot.tscn" id="17_1yp7o"]
[ext_resource type="Texture2D" uid="uid://bg31nxocxael4" path="res://Objects/JonaldLair/TvStand/TennisAnim/TennisAnim6.png" id="17_spyp5"]
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="18_7c0my"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TinyJonald/TinyJonald.gd" id="18_indrx"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald2.gd" id="19_6oq1s"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald3.gd" id="20_y6b8w"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald1.gd" id="21_13yy4"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald5.gd" id="22_2a74r"]
[ext_resource type="AudioStream" uid="uid://buoe2na8j03qu" path="res://Sounds/SFX/Tennis/tennis-ball-hit.mp3" id="22_8b3x5"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald6.gd" id="23_8y641"]
[ext_resource type="Script" path="res://NPCs/Jonald/JonaldLairJonalds/TennisJonalds/TennisJonald4.gd" id="24_4wj31"]
[ext_resource type="Texture2D" uid="uid://b6rum4un3704l" path="res://Objects/JonaldLair/Table/Table.png" id="24_nfirh"]
[ext_resource type="Script" path="res://Items/Foods/Liquids/GreenSoda.gd" id="25_6d6it"]
[ext_resource type="Script" path="res://Objects/GroundItems/EmptyKeyPacketGroundItem.gd" id="30_b3klb"]
[ext_resource type="Script" path="res://Items/Artificial/Products/EmptyKeyPacket.gd" id="31_jp0yv"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_27ifb"]
size = Vector2(294, 143)

[sub_resource type="SpriteFrames" id="SpriteFrames_wdgbg"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("12_l0ovt")
}, {
"duration": 1.0,
"texture": ExtResource("13_je14q")
}, {
"duration": 1.0,
"texture": ExtResource("14_cpb1a")
}, {
"duration": 1.0,
"texture": ExtResource("15_nwyis")
}, {
"duration": 1.0,
"texture": ExtResource("16_1iop6")
}, {
"duration": 1.0,
"texture": ExtResource("17_spyp5")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_rr3iw"]
size = Vector2(84, 69)

[node name="JonaldLair" instance=ExtResource("1_eplvd")]
y_sort_enabled = true
script = ExtResource("2_18cry")

[node name="Ground" parent="." index="0"]
z_index = -2
position = Vector2(-889, -1272)
scale = Vector2(2, 2)

[node name="CollisionShape2D" parent="Ground/Area2D" index="0"]
position = Vector2(443.75, 619.5)

[node name="JonaldLairBG" type="Sprite2D" parent="." index="1"]
z_index = -3
texture = ExtResource("3_c3xfa")

[node name="StaticBody2D" type="StaticBody2D" parent="." index="2"]
visible = false
position = Vector2(0, 15)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-880, -80, 201, -80, 203, 109, 232, 109, 231, -80, 851, -80, 852, 200, -852, 201, -852, -79, -909, -79, -909, 250, 908, 252, 906, -318, -909, -320, -909, -80)

[node name="The Void" type="Sprite2D" parent="." index="3"]
modulate = Color(0, 0, 0, 1)
z_index = -4
position = Vector2(17.5, 28)
scale = Vector2(27.73, 14.42)
texture = ExtResource("5_wtqj5")

[node name="LairDoor" type="Sprite2D" parent="." index="4"]
position = Vector2(-827, 26)
texture = ExtResource("6_38owu")
offset = Vector2(0, -35)

[node name="DoorPolygon" type="StaticBody2D" parent="." index="5"]

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="DoorPolygon" index="0"]
polygon = PackedVector2Array(-851, 58, -774, 33, -774, 22, -851, 47)

[node name="JonaldMattress" type="Sprite2D" parent="." index="6"]
position = Vector2(668, 22)
texture = ExtResource("7_lsvdd")
offset = Vector2(0, 60)

[node name="JonaldMattressHitbox" type="StaticBody2D" parent="." index="7"]
position = Vector2(660, 69)

[node name="CollisionShape2D" type="CollisionShape2D" parent="JonaldMattressHitbox" index="0"]
position = Vector2(8, 24.5)
shape = SubResource("RectangleShape2D_27ifb")

[node name="Jonald" parent="." index="8" instance=ExtResource("8_y61q4")]
position = Vector2(-803, 74)

[node name="LargeJonald" parent="." index="9" instance=ExtResource("5_cyhua")]
position = Vector2(674, 51)
scale = Vector2(5, 5)
script = ExtResource("9_n4fpy")

[node name="Lamp" type="Sprite2D" parent="." index="10"]
position = Vector2(303, -89)
texture = ExtResource("10_5k4yb")

[node name="TvStand" type="Sprite2D" parent="." index="11"]
position = Vector2(-341, -100)
texture = ExtResource("11_t7cw0")

[node name="StaticBody2D" type="StaticBody2D" parent="TvStand" index="0"]
position = Vector2(313.5, 123)
scale = Vector2(27.73, 14.42)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="TvStand/StaticBody2D" index="0"]
polygon = PackedVector2Array(-14.3707, -4.71567, -14.4068, -6.44938, -8.20411, -6.44938, -8.20411, -4.64632)

[node name="Tennis" type="AnimatedSprite2D" parent="TvStand" index="1"]
position = Vector2(-8, -22)
sprite_frames = SubResource("SpriteFrames_wdgbg")
offset = Vector2(-0.5, 0)
script = ExtResource("18_7c0my")

[node name="Jonald2" parent="." index="12" instance=ExtResource("5_cyhua")]
position = Vector2(-271, -54)
scale = Vector2(0.3, 0.3)
script = ExtResource("18_indrx")

[node name="Jonald3" parent="." index="13" instance=ExtResource("12_eyc20")]
position = Vector2(-233, -2)
script = ExtResource("19_6oq1s")

[node name="Sprite" parent="Jonald3" index="0"]
randDelayMin = 0.02
randDelayMax = 0.02

[node name="Jonald4" parent="." index="14" instance=ExtResource("12_eyc20")]
position = Vector2(-174, -25)
script = ExtResource("20_y6b8w")

[node name="Sprite" parent="Jonald4" index="0"]
randDelayMin = 0.32
randDelayMax = 0.32

[node name="AudioStreamPlayer2D" parent="Jonald4" index="4"]
stream = ExtResource("22_8b3x5")

[node name="Jonald5" parent="." index="15" instance=ExtResource("12_eyc20")]
position = Vector2(-285, 20)
script = ExtResource("21_13yy4")

[node name="Sprite" parent="Jonald5" index="0"]
randDelayMin = 0.23
randDelayMax = 0.23

[node name="Jonald6" parent="." index="16" instance=ExtResource("12_eyc20")]
position = Vector2(-119, 12)
script = ExtResource("22_2a74r")

[node name="Sprite" parent="Jonald6" index="0"]
randDelayMin = 0.12
randDelayMax = 0.12

[node name="AudioStreamPlayer2D" parent="Jonald6" index="4"]
stream = ExtResource("22_8b3x5")

[node name="Jonald7" parent="." index="17" instance=ExtResource("12_eyc20")]
position = Vector2(-88, -8)
script = ExtResource("23_8y641")

[node name="Sprite" parent="Jonald7" index="0"]
randDelayMax = 0.0

[node name="Jonald8" parent="." index="18" instance=ExtResource("12_eyc20")]
position = Vector2(-189, 26)
script = ExtResource("24_4wj31")

[node name="Sprite" parent="Jonald8" index="0"]
randDelayMin = 0.6
randDelayMax = 0.6

[node name="GroundItem" parent="." index="19" instance=ExtResource("13_rjf1x")]
position = Vector2(-699, -48)
itemClass = ExtResource("14_qsdxd")

[node name="GroundItem5" parent="." index="20" instance=ExtResource("13_rjf1x")]
position = Vector2(578, -49)
script = ExtResource("30_b3klb")
itemClass = ExtResource("31_jp0yv")

[node name="GroundItem6" parent="." index="21" instance=ExtResource("13_rjf1x")]
position = Vector2(670, -30)
script = ExtResource("30_b3klb")
itemClass = ExtResource("31_jp0yv")

[node name="GroundItem2" parent="." index="22" instance=ExtResource("13_rjf1x")]
position = Vector2(-646, -34)
itemClass = ExtResource("15_c11bv")

[node name="BasketStorageSpot" parent="." index="23" instance=ExtResource("16_b8iq3")]
position = Vector2(429, -149)
basketInvName = "JonaldLairBedroom"

[node name="PlantingSpot" parent="." index="24" instance=ExtResource("17_1yp7o")]
position = Vector2(-558, -52)
plantZoneName = "JonaldLairPlant1"

[node name="Table" type="Sprite2D" parent="." index="25"]
position = Vector2(143, -55)
texture = ExtResource("24_nfirh")
offset = Vector2(0, 25)

[node name="StaticBody2D" type="StaticBody2D" parent="Table" index="0"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Table/StaticBody2D" index="0"]
position = Vector2(0, 34.5)
shape = SubResource("RectangleShape2D_rr3iw")

[node name="GroundItem3" parent="." index="26" instance=ExtResource("13_rjf1x")]
position = Vector2(126, -43)
itemClass = ExtResource("25_6d6it")

[node name="GroundItem4" parent="." index="27" instance=ExtResource("13_rjf1x")]
position = Vector2(159, -25)
itemClass = ExtResource("25_6d6it")

[editable path="Jonald3"]
[editable path="Jonald3/Interactable"]
[editable path="Jonald3/Interactable/ActionMenu"]
[editable path="Jonald3/Talkable"]
[editable path="Jonald4"]
[editable path="Jonald4/Interactable"]
[editable path="Jonald4/Interactable/ActionMenu"]
[editable path="Jonald4/Talkable"]
[editable path="Jonald5"]
[editable path="Jonald5/Interactable"]
[editable path="Jonald5/Interactable/ActionMenu"]
[editable path="Jonald5/Talkable"]
[editable path="Jonald6"]
[editable path="Jonald6/Interactable"]
[editable path="Jonald6/Interactable/ActionMenu"]
[editable path="Jonald6/Talkable"]
[editable path="Jonald7"]
[editable path="Jonald7/Interactable"]
[editable path="Jonald7/Interactable/ActionMenu"]
[editable path="Jonald7/Talkable"]
[editable path="Jonald8"]
[editable path="Jonald8/Interactable"]
[editable path="Jonald8/Interactable/ActionMenu"]
[editable path="Jonald8/Talkable"]
