[gd_scene load_steps=5 format=3 uid="uid://b5o0j3kfv2xys"]

[ext_resource type="PackedScene" uid="uid://bney0cc8cfm5s" path="res://Scenes/Prefabs/LevelObjects/EndFinalCastle.tscn" id="1_fa5ur"]
[ext_resource type="Texture2D" uid="uid://gnqt7rl36kxy" path="res://Assets/Sprites/Tilesets/CastleFlag.png" id="2_jp1ee"]

[sub_resource type="AtlasTexture" id="AtlasTexture_uq0jd"]
atlas = ExtResource("2_jp1ee")
region = Rect2(0, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_t8sum"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_uq0jd")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]

[node name="EndFinalCastle" instance=ExtResource("1_fa5ur")]

[node name="Flag" parent="FlagJoint" index="0"]
position = Vector2(0, 8.00001)
sprite_frames = SubResource("SpriteFrames_t8sum")
do_offset = false

[node name="SmallCastleVisual" parent="." index="3"]
visible = false

[node name="SmallCastleVisual2" parent="." index="4"]
visible = true

[node name="Overlay" parent="." index="7"]
visible = true
