[gd_scene load_steps=36 format=3 uid="uid://bj1ita42m6vj5"]

[ext_resource type="Texture2D" uid="uid://blkdbhu6usvic" path="res://model/GameConsole.png" id="1_1xnas"]
[ext_resource type="Script" path="res://script/Gameboy.cs" id="1_8q5hj"]
[ext_resource type="Texture2D" uid="uid://uudw2vydoal1" path="res://model/GCMenu.png" id="2_06g1x"]
[ext_resource type="Texture2D" uid="uid://bf4apksygpavq" path="res://model/Boss1Phase1.png" id="4_4qacm"]
[ext_resource type="Theme" uid="uid://547aer6bl6w8" path="res://themes/theme_buttons_gameboy.tres" id="4_a5nt6"]
[ext_resource type="Texture2D" uid="uid://ddtdf5ipblr61" path="res://model/Boss1Phase2.png" id="6_45a70"]
[ext_resource type="Theme" uid="uid://d0wymiuig18m3" path="res://themes/label.tres" id="6_pwgdt"]
[ext_resource type="Texture2D" uid="uid://jckl6jmf3f5k" path="res://model/Boss2Phase1.png" id="7_qjgmv"]
[ext_resource type="Texture2D" uid="uid://b0qlf56ngggfx" path="res://model/Boss2Phase2.png" id="8_n7m7p"]
[ext_resource type="Texture2D" uid="uid://cb8hbsxgq1mp5" path="res://model/Boss3Phase1.png" id="9_15ltb"]
[ext_resource type="Texture2D" uid="uid://b3jjeuoythcys" path="res://model/Boss3Phase2.png" id="10_4epfr"]
[ext_resource type="Texture2D" uid="uid://wj34p87n10wh" path="res://model/Boss4Phase1.png" id="11_vk1pv"]
[ext_resource type="Texture2D" uid="uid://hthw1hlc2e36" path="res://model/Boss4Phase2.png" id="12_chdjo"]
[ext_resource type="Texture2D" uid="uid://dv4mhg8teip1" path="res://model/Boss5Phase1.png" id="13_1k23m"]
[ext_resource type="Texture2D" uid="uid://dtbjj5bkwjoe4" path="res://model/Boss5Phase2.png" id="14_ti822"]
[ext_resource type="Texture2D" uid="uid://b4d2p7sws3imb" path="res://model/Boss6Phase1.png" id="15_75hhn"]
[ext_resource type="Texture2D" uid="uid://c6feqv060sg24" path="res://model/Boss6Phase2.png" id="16_1ktqg"]
[ext_resource type="Texture2D" uid="uid://cb2sn88qel1yr" path="res://model/Boss7Phase1.png" id="17_llydf"]
[ext_resource type="Texture2D" uid="uid://dr5ajs1rtg2kd" path="res://model/Boss7Phase2.png" id="18_ulspb"]
[ext_resource type="Texture2D" uid="uid://b61h4opyiqxey" path="res://model/Boss8Phase1.png" id="19_1uq7w"]
[ext_resource type="Texture2D" uid="uid://e3y5kufyqspd" path="res://model/Boss8Phase2.png" id="20_kj4rc"]
[ext_resource type="Texture2D" uid="uid://d1ndnv1gee71l" path="res://model/GCFinal.png" id="21_p15c7"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fjb7e"]
bg_color = Color(0.0862745, 0.0862745, 0.0862745, 0.596078)

[sub_resource type="Animation" id="Animation_r3lxe"]
resource_name = "1"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("6_45a70"), ExtResource("4_4qacm"), ExtResource("6_45a70"), ExtResource("4_4qacm"), ExtResource("6_45a70"), ExtResource("7_qjgmv")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Necromancy"]
}

[sub_resource type="Animation" id="Animation_fg42v"]
resource_name = "2"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("8_n7m7p"), ExtResource("7_qjgmv"), ExtResource("8_n7m7p"), ExtResource("7_qjgmv"), ExtResource("8_n7m7p"), ExtResource("9_15ltb")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Freezing Moon"]
}

[sub_resource type="Animation" id="Animation_ht43t"]
resource_name = "3"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("10_4epfr"), ExtResource("8_n7m7p"), ExtResource("10_4epfr"), ExtResource("8_n7m7p"), ExtResource("10_4epfr"), ExtResource("11_vk1pv")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Journey to the stars"]
}

[sub_resource type="Animation" id="Animation_pwrbo"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/GcMenu:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("2_06g1x")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("4_4qacm")]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Label:text")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["wedwedwdwdwde"]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Label:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/CenterContainer/GcMenu:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Panel/CenterContainer/boss:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0.001),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}

[sub_resource type="Animation" id="Animation_4imyd"]
resource_name = "start"
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ExtResource("4_4qacm")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Black spell of destruction"]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Label:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("Panel/CenterContainer/GcMenu:visible")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Panel/CenterContainer/boss:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [true]
}

[sub_resource type="Animation" id="Animation_0p4k7"]
resource_name = "4"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("12_chdjo"), ExtResource("10_4epfr"), ExtResource("12_chdjo"), ExtResource("10_4epfr"), ExtResource("12_chdjo"), ExtResource("13_1k23m")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["The power of souls"]
}

[sub_resource type="Animation" id="Animation_pys2i"]
resource_name = "5"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("14_ti822"), ExtResource("13_1k23m"), ExtResource("14_ti822"), ExtResource("13_1k23m"), ExtResource("14_ti822"), ExtResource("15_75hhn")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(),
"transitions": PackedFloat32Array(),
"update": 1,
"values": []
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Label:text")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Mutilations internes"]
}

[sub_resource type="Animation" id="Animation_u5msv"]
resource_name = "6"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("16_1ktqg"), ExtResource("15_75hhn"), ExtResource("16_1ktqg"), ExtResource("15_75hhn"), ExtResource("16_1ktqg"), ExtResource("17_llydf")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Manual Breathing"]
}

[sub_resource type="Animation" id="Animation_rshwg"]
resource_name = "7"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("18_ulspb"), ExtResource("17_llydf"), ExtResource("18_ulspb"), ExtResource("17_llydf"), ExtResource("18_ulspb"), ExtResource("19_1uq7w")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Spectral visions of mental warfare"]
}

[sub_resource type="Animation" id="Animation_ebug3"]
resource_name = "8"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.5),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1),
"update": 1,
"values": [ExtResource("20_kj4rc"), ExtResource("19_1uq7w"), ExtResource("20_kj4rc"), ExtResource("19_1uq7w"), ExtResource("20_kj4rc"), ExtResource("21_p15c7")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [true, false]
}

[sub_resource type="Animation" id="Animation_4y7js"]
resource_name = "0"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Panel/CenterContainer/boss:texture")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ExtResource("21_p15c7"), ExtResource("4_4qacm")]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Label:text")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.5),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": ["Black spell of destruction"]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Label:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_tpw5q"]
_data = {
"0": SubResource("Animation_4y7js"),
"1": SubResource("Animation_r3lxe"),
"2": SubResource("Animation_fg42v"),
"3": SubResource("Animation_ht43t"),
"4": SubResource("Animation_0p4k7"),
"5": SubResource("Animation_pys2i"),
"6": SubResource("Animation_u5msv"),
"7": SubResource("Animation_rshwg"),
"8": SubResource("Animation_ebug3"),
"RESET": SubResource("Animation_pwrbo"),
"start": SubResource("Animation_4imyd")
}

[node name="gameboy" type="CanvasLayer" node_paths=PackedStringArray("anim", "scoreLabel")]
script = ExtResource("1_8q5hj")
anim = NodePath("AnimationPlayer")
scoreLabel = NodePath("score")

[node name="Panel" type="Panel" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_fjb7e")

[node name="CenterContainer" type="CenterContainer" parent="Panel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2

[node name="GameConsole" type="Sprite2D" parent="Panel/CenterContainer"]
texture = ExtResource("1_1xnas")

[node name="GcMenu" type="Sprite2D" parent="Panel/CenterContainer"]
texture = ExtResource("2_06g1x")

[node name="boss" type="Sprite2D" parent="Panel/CenterContainer"]
texture = ExtResource("4_4qacm")

[node name="A" type="Button" parent="."]
offset_left = 125.0
offset_top = 186.0
offset_right = 149.0
offset_bottom = 218.0
theme = ExtResource("4_a5nt6")
text = " "

[node name="B" type="Button" parent="."]
offset_left = 164.0
offset_top = 207.0
offset_right = 188.0
offset_bottom = 239.0
theme = ExtResource("4_a5nt6")
text = " "

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_tpw5q")
}

[node name="Label" type="Label" parent="."]
visible = false
offset_left = 121.0
offset_top = 137.0
offset_right = 276.0
offset_bottom = 160.0
theme = ExtResource("6_pwgdt")
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_font_sizes/font_size = 14
text = "wedwedwdwdwde"
vertical_alignment = 2
autowrap_mode = 3

[node name="score" type="Label" parent="."]
offset_left = 112.0
offset_top = 44.0
offset_right = 152.0
offset_bottom = 67.0
theme = ExtResource("6_pwgdt")
theme_override_font_sizes/font_size = 16
text = "High Score : 0"

[connection signal="pressed" from="A" to="." method="APressed"]
[connection signal="pressed" from="B" to="." method="BPressed"]
