[gd_scene load_steps=45 format=3 uid="uid://b7no88iaujhh3"]

[ext_resource type="Script" uid="uid://b08qfwj5jk6g1" path="res://Scripts/Parts/PlayerSprite.gd" id="1_0b6w1"]
[ext_resource type="Script" uid="uid://b3ol0iyjcb5n1" path="res://Scripts/UI/BooRaceMenu.gd" id="1_nk4wu"]
[ext_resource type="AudioStream" uid="uid://ehcskhcpqrgh" path="res://Assets/Audio/BGM/BooMenu.mp3" id="1_uucdm"]
[ext_resource type="Theme" uid="uid://dtn507x2b5de7" path="res://Resources/Theme.tres" id="2_2t6wu"]
[ext_resource type="Texture2D" uid="uid://dcyoojhkaekws" path="res://Assets/Sprites/UI/BooMenuBG.png" id="2_dwawm"]
[ext_resource type="Texture2D" uid="uid://c3l6ynlufxcfp" path="res://Assets/Sprites/Enemies/Boo.png" id="3_b56au"]
[ext_resource type="Script" uid="uid://ca3bew33g45eq" path="res://Scripts/Classes/UI/PackTextureRect.gd" id="3_dwawm"]
[ext_resource type="Texture2D" uid="uid://bhuybr2gtuco5" path="res://Assets/Sprites/UI/MenuBG.png" id="3_wunmb"]
[ext_resource type="PackedScene" uid="uid://cinr6kcbmo6gr" path="res://Scenes/Parts/DropShadowRenderer.tscn" id="4_idhu2"]
[ext_resource type="Texture2D" uid="uid://cld412rcrq5o0" path="res://Assets/Sprites/UI/YouVsBoo.png" id="4_nhs2i"]
[ext_resource type="Texture2D" uid="uid://3ai0ggxah360" path="res://Assets/Sprites/UI/MenuBorder.png" id="4_vpste"]
[ext_resource type="SpriteFrames" uid="uid://cjblhx4flkqva" path="res://Resources/SpriteFrames/Player/Mario/Big.tres" id="5_nhs2i"]
[ext_resource type="Script" uid="uid://364rywt44hy6" path="res://Scripts/Classes/UI/PackSprite.gd" id="5_tgnw3"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="8_2t6wu"]
[ext_resource type="Script" uid="uid://caq1qiwmy0mox" path="res://Scripts/Parts/BetterAnimatedSprite.gd" id="8_jl8ul"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/MenuBorder.json" id="8_vpste"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/MenuBG.json" id="8_wunmb"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="8_xx8pl"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="9_mm3k3"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="10_nk4wu"]
[ext_resource type="PackedScene" uid="uid://bxp1l23w1kq41" path="res://Scenes/Prefabs/UI/BooSelect.tscn" id="12_pinst"]
[ext_resource type="JSON" path="res://Assets/Sprites/Enemies/RaceBoo.json" id="12_tgnw3"]
[ext_resource type="PackedScene" uid="uid://ci678koo0peoa" path="res://Scenes/Prefabs/UI/CharacterSelect.tscn" id="13_u5tsp"]
[ext_resource type="Script" uid="uid://cqif1li7otvpl" path="res://Scripts/Parts/SpriteFramesToJsonConverter.gd" id="16_e7l5x"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="17_e7l5x"]
[ext_resource type="Texture2D" uid="uid://dtemc0qgag20j" path="res://Assets/Sprites/UI/BooIcon.png" id="21_vpste"]

[sub_resource type="Shader" id="Shader_mm3k3"]
code = "shader_type canvas_item;

uniform vec2 motion = vec2(0.0);
uniform float scale = 1.0;
uniform vec2 offset = vec2(0.0);

void vertex(){
	UV = (VERTEX + offset + TIME * motion) * TEXTURE_PIXEL_SIZE * (1.0/scale);
}"

[sub_resource type="ShaderMaterial" id="ShaderMaterial_nk4wu"]
shader = SubResource("Shader_mm3k3")
shader_parameter/motion = Vector2(-8, -8)
shader_parameter/scale = 1.0
shader_parameter/offset = Vector2(0, 0)

[sub_resource type="AtlasTexture" id="AtlasTexture_hpo87"]
atlas = ExtResource("10_nk4wu")
region = Rect2(0, 0, 8, 8)

[sub_resource type="StyleBoxLine" id="StyleBoxLine_vpste"]
color = Color(1, 1, 1, 1)

[sub_resource type="Animation" id="Animation_mm3k3"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("..:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(172, 96)]
}

[sub_resource type="Animation" id="Animation_jl8ul"]
resource_name = "Wave"
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("..:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(104, -43), Vector2(104, -56)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_nk4wu"]
_data = {
&"RESET": SubResource("Animation_mm3k3"),
&"Wave": SubResource("Animation_jl8ul")
}

[sub_resource type="AtlasTexture" id="AtlasTexture_mm3k3"]
atlas = ExtResource("3_b56au")
region = Rect2(16, 48, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_nk4wu"]
atlas = ExtResource("3_b56au")
region = Rect2(0, 48, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_ede5m"]
atlas = ExtResource("3_b56au")
region = Rect2(16, 64, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_pinst"]
atlas = ExtResource("3_b56au")
region = Rect2(0, 64, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_u5tsp"]
atlas = ExtResource("3_b56au")
region = Rect2(16, 16, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_xx8pl"]
atlas = ExtResource("3_b56au")
region = Rect2(0, 16, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_jrwk8"]
atlas = ExtResource("3_b56au")
region = Rect2(16, 32, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_fwe35"]
atlas = ExtResource("3_b56au")
region = Rect2(0, 32, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_e7l5x"]
atlas = ExtResource("3_b56au")
region = Rect2(16, 0, 16, 16)

[sub_resource type="AtlasTexture" id="AtlasTexture_d7k1s"]
atlas = ExtResource("3_b56au")
region = Rect2(0, 0, 16, 16)

[sub_resource type="SpriteFrames" id="SpriteFrames_d3w3b"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_mm3k3")
}],
"loop": true,
"name": &"BlackIdle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_nk4wu")
}],
"loop": true,
"name": &"BlackMove",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ede5m")
}],
"loop": true,
"name": &"GoldIdle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_pinst")
}],
"loop": true,
"name": &"GoldMove",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_u5tsp")
}],
"loop": true,
"name": &"GreenIdle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xx8pl")
}],
"loop": true,
"name": &"GreenMove",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_jrwk8")
}],
"loop": true,
"name": &"RedIdle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fwe35")
}],
"loop": true,
"name": &"RedMove",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_e7l5x")
}],
"loop": true,
"name": &"WhiteIdle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_d7k1s")
}],
"loop": true,
"name": &"WhiteMove",
"speed": 5.0
}]

[node name="BooRaceMenu" type="Node"]
script = ExtResource("1_nk4wu")

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0

[node name="BG" type="NinePatchRect" parent="."]
texture_repeat = 2
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_2t6wu")
texture = ExtResource("3_wunmb")
region_rect = Rect2(0, 0, 16, 16)
axis_stretch_horizontal = 1
axis_stretch_vertical = 1

[node name="Border" type="NinePatchRect" parent="BG"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.05
anchor_right = 0.95
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_vpste")
region_rect = Rect2(0, 0, 32, 32)
patch_margin_left = 8
patch_margin_top = 8
patch_margin_right = 8
patch_margin_bottom = 8
axis_stretch_horizontal = 2
axis_stretch_vertical = 2
metadata/_custom_type_script = "uid://xem6lai3ufyj"

[node name="BG" type="TextureRect" parent="BG/Border"]
show_behind_parent = true
material = SubResource("ShaderMaterial_nk4wu")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_dwawm")
stretch_mode = 1
script = ExtResource("3_dwawm")
metadata/_custom_type_script = "uid://ca3bew33g45eq"

[node name="ResourceSetterNew" type="Node" parent="BG/Border" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_vpste")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="ResourceSetterNew" type="Node" parent="BG" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_wunmb")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource("1_uucdm")
autoplay = true
bus = &"Music"

[node name="PanelContainer" type="PanelContainer" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -60.0
offset_top = -18.0
offset_right = 60.0
offset_bottom = 86.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("9_mm3k3")

[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
layout_mode = 2
theme_override_constants/margin_left = -2
theme_override_constants/margin_top = -2
theme_override_constants/margin_right = -2
theme_override_constants/margin_bottom = -2

[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
layout_mode = 2

[node name="LevelLabels" type="VFlowContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/v_separation = 0

[node name="1-1" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
layout_mode = 2
text = "1-1"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1"]
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="1-2" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
layout_mode = 2
text = "1-2"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="1-3" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
layout_mode = 2
text = "1-3"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="1-4" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
layout_mode = 2
text = "1-4"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="2-1" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
layout_mode = 2
text = "2-1"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="2-2" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
layout_mode = 2
text = "2-2"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="2-3" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
layout_mode = 2
text = "2-3"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="2-4" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels"]
layout_mode = 2
size_flags_vertical = 3
focus_mode = 2
mouse_filter = 2
theme_override_constants/separation = -2

[node name="Cursor" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
custom_minimum_size = Vector2(8, 0)
layout_mode = 2

[node name="Texture" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor"]
visible = false
layout_mode = 0
offset_right = 8.0
offset_bottom = 16.0
texture = SubResource("AtlasTexture_hpo87")
stretch_mode = 3

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("8_2t6wu")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
layout_mode = 2
text = "2-4"

[node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4"]
custom_minimum_size = Vector2(16, 0)
layout_mode = 2

[node name="Sprite2D" type="Sprite2D" parent="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Control"]
texture = ExtResource("21_vpste")
centered = false
hframes = 5
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="HSeparator" type="HSeparator" parent="PanelContainer/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_styles/separator = SubResource("StyleBoxLine_vpste")

[node name="PB" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "PB: 00:00:00"

[node name="Logo" type="Sprite2D" parent="PanelContainer"]
position = Vector2(60, -27)
texture = ExtResource("4_nhs2i")
script = ExtResource("5_tgnw3")
metadata/_custom_type_script = "uid://364rywt44hy6"

[node name="PlayerSprite" type="AnimatedSprite2D" parent="PanelContainer" node_paths=PackedStringArray("resource_setter")]
position = Vector2(17, -34)
sprite_frames = ExtResource("5_nhs2i")
animation = &"Idle"
offset = Vector2(0, -15)
script = ExtResource("1_0b6w1")
force_power_state = "Small"
resource_setter = NodePath("ResourceSetterNew")
metadata/_custom_type_script = "uid://b08qfwj5jk6g1"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/PlayerSprite"]
script = ExtResource("8_xx8pl")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="Boos" type="Node2D" parent="PanelContainer"]
unique_name_in_owner = true
position = Vector2(172, 96)

[node name="WaveAnimation" type="AnimationPlayer" parent="PanelContainer/Boos"]
root_node = NodePath("../0")
libraries = {
&"": SubResource("AnimationLibrary_nk4wu")
}
autoplay = "Wave"

[node name="0" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
sprite_frames = SubResource("SpriteFrames_d3w3b")
animation = &"GreenIdle"
script = ExtResource("8_jl8ul")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/0" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("12_tgnw3")
force_properties = {
"RaceBoo": 0
}
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="1" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
sprite_frames = SubResource("SpriteFrames_d3w3b")
animation = &"GreenIdle"
script = ExtResource("8_jl8ul")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/1" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("12_tgnw3")
force_properties = {
"RaceBoo": 1
}
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="2" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
sprite_frames = SubResource("SpriteFrames_d3w3b")
animation = &"GreenIdle"
script = ExtResource("8_jl8ul")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/2" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("12_tgnw3")
force_properties = {
"RaceBoo": 2
}
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="3" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
sprite_frames = SubResource("SpriteFrames_d3w3b")
animation = &"GreenIdle"
script = ExtResource("8_jl8ul")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/3" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("12_tgnw3")
force_properties = {
"RaceBoo": 3
}
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="4" type="AnimatedSprite2D" parent="PanelContainer/Boos"]
sprite_frames = SubResource("SpriteFrames_d3w3b")
animation = &"GreenIdle"
script = ExtResource("8_jl8ul")
do_offset = false
metadata/_custom_type_script = "uid://caq1qiwmy0mox"

[node name="ResourceSetterNew" type="Node" parent="PanelContainer/Boos/4" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("8_xx8pl")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
resource_json = ExtResource("12_tgnw3")
force_properties = {
"RaceBoo": 4
}
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"

[node name="BooSelect" parent="." instance=ExtResource("12_pinst")]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -46.25
offset_top = -28.0
offset_right = 46.25
offset_bottom = 28.0
grow_horizontal = 2
grow_vertical = 2

[node name="CharacterSelect" parent="." instance=ExtResource("13_u5tsp")]
visible = false
z_as_relative = false
offset_left = 0.0
offset_top = 0.0
offset_right = 0.0
offset_bottom = 0.0

[node name="ThemedToJSONConverter" type="Node" parent="."]
script = ExtResource("16_e7l5x")
metadata/_custom_type_script = "uid://cqif1li7otvpl"

[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("17_e7l5x")
labels = [null, null, null, null, null, null, null, null]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"

[node name="DropShadow" parent="." instance=ExtResource("4_idhu2")]
position = Vector2(0, -40)

[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="." method="set_current_level_idx" binds= [0]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-1/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="." method="set_current_level_idx" binds= [1]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-2/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="." method="set_current_level_idx" binds= [2]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-3/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="." method="set_current_level_idx" binds= [3]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/1-4/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="." method="set_current_level_idx" binds= [4]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-1/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="." method="set_current_level_idx" binds= [5]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-2/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="." method="set_current_level_idx" binds= [6]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-3/Cursor/Texture" method="hide"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" method="show"]
[connection signal="focus_entered" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="." method="set_current_level_idx" binds= [7]]
[connection signal="focus_exited" from="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4" to="PanelContainer/MarginContainer/VBoxContainer/LevelLabels/2-4/Cursor/Texture" method="hide"]
[connection signal="boo_selected" from="BooSelect" to="CharacterSelect" method="open"]
[connection signal="cancelled" from="BooSelect" to="." method="regrab_focus"]
[connection signal="cancelled" from="BooSelect" to="." method="open"]
[connection signal="cancelled" from="CharacterSelect" to="BooSelect" method="open"]
