[gd_scene load_steps=10 format=3 uid="uid://dybfmrawthall"]

[ext_resource type="Texture2D" uid="uid://boongcly3e2cl" path="res://Assets/Sprites/Particles/LakituCloudBurst.png" id="1_3jvpp"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="2_cic8a"]
[ext_resource type="JSON" path="res://Assets/Sprites/Particles/LakituCloudBurst.json" id="3_3da8h"]

[sub_resource type="AtlasTexture" id="AtlasTexture_cic8a"]
atlas = ExtResource("1_3jvpp")
region = Rect2(0, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_3da8h"]
atlas = ExtResource("1_3jvpp")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_i741o"]
atlas = ExtResource("1_3jvpp")
region = Rect2(32, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_qrd6q"]
atlas = ExtResource("1_3jvpp")
region = Rect2(24, 5, 1, 1)

[sub_resource type="SpriteFrames" id="SpriteFrames_xs1ui"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_cic8a")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3da8h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i741o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qrd6q")
}],
"loop": false,
"name": &"default",
"speed": 10.0
}]

[sub_resource type="GDScript" id="GDScript_3jvpp"]
script/source = "extends AnimatedSprite2D

func _ready() -> void:
	pass
"

[node name="LakituCloudBurst" type="AnimatedSprite2D"]
z_index = 5
sprite_frames = SubResource("SpriteFrames_xs1ui")
autoplay = "default"
frame = 3
frame_progress = 1.0
script = SubResource("GDScript_3jvpp")

[node name="Timer" type="Timer" parent="."]
wait_time = 10.0
autostart = true

[node name="ResourceSetterNew" type="Node" parent="." node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("2_cic8a")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("3_3da8h")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[connection signal="timeout" from="Timer" to="." method="queue_free"]
