[gd_scene load_steps=78 format=3 uid="uid://bxuxjqxxqy7ce"]

[ext_resource type="PackedScene" uid="uid://di21xheryhp0k" path="res://Hiro/hiro_player.tscn" id="1_c1gpq"]
[ext_resource type="PackedScene" uid="uid://b8sfype1vx5ad" path="res://Nem/nem_npc.tscn" id="1_sqt7d"]
[ext_resource type="Script" path="res://Scripts/Levels/arena_level.gd" id="1_y634h"]
[ext_resource type="FontFile" uid="uid://bgqotudi6bifk" path="res://UI/Gundam 00 font gaufont.ttf" id="2_64thh"]
[ext_resource type="Script" path="res://Scripts/UI/pause_menu.gd" id="2_nw73f"]
[ext_resource type="PackedScene" uid="uid://bcwkugn6v3oy7" path="res://addons/godot_state_charts/utilities/state_chart_debugger.tscn" id="2_o5str"]
[ext_resource type="Resource" uid="uid://bj3rm1r1ouq0r" path="res://Cutscenes/prototype_start.tres" id="3_0opva"]
[ext_resource type="Texture2D" uid="uid://b40la2vyf4rn6" path="res://world/Fighting Dojo BG.png" id="4_elb6q"]
[ext_resource type="AudioStream" uid="uid://b72f2jvv2283j" path="res://Audio/SFX/dialog_page.wav" id="6_vecai"]
[ext_resource type="AudioStream" uid="uid://drossx2nhgeue" path="res://Audio/SFX/dialog_open.wav" id="7_lglyc"]
[ext_resource type="Texture2D" uid="uid://dc12iaho4b8yl" path="res://world/walls.png" id="7_pp5dn"]
[ext_resource type="PackedScene" uid="uid://c503u0i421w34" path="res://world/pillar.tscn" id="8_mxq55"]
[ext_resource type="AudioStream" uid="uid://darxacm0j1djh" path="res://Audio/SFX/door_open.wav" id="8_yj1fi"]
[ext_resource type="Script" path="res://Scripts/explosion_generator.gd" id="9_df2wo"]
[ext_resource type="AudioStream" uid="uid://cvkvgyxqnksir" path="res://Audio/SFX/puff_smoke.wav" id="9_t7juh"]
[ext_resource type="PackedScene" uid="uid://ce2tjyxwaar01" path="res://UI/battle_ui.tscn" id="10_hxn8m"]
[ext_resource type="AudioStream" uid="uid://di3fpfsl2vcyi" path="res://Audio/SFX/melee.tres" id="10_i31ta"]
[ext_resource type="Texture2D" uid="uid://e7g3ylmbymwi" path="res://world/prototype_reward.png" id="10_qggmb"]
[ext_resource type="PackedScene" uid="uid://6kq1081phjj8" path="res://UI/prototype_credits.tscn" id="11_2tmmx"]
[ext_resource type="AudioStream" uid="uid://dmpd83t5hrd81" path="res://Audio/SFX/melee_hit.tres" id="11_bh83s"]
[ext_resource type="Texture2D" uid="uid://dbiqq00uaaev" path="res://world/prototype_reward_sfw.png" id="11_ni26m"]
[ext_resource type="Texture2D" uid="uid://b7l1k8j3ie4qi" path="res://NPCs/npc1.png" id="11_p77ah"]
[ext_resource type="PackedScene" uid="uid://7oi3hcf5q4o7" path="res://UI/textbox_ui.tscn" id="12_8pgvx"]
[ext_resource type="Resource" uid="uid://ck0ry5vxaj8a7" path="res://Cutscenes/prototype_talk_to_nem.tres" id="12_cb4j5"]
[ext_resource type="Texture2D" uid="uid://dym70eidamyel" path="res://NPCs/npc2.png" id="12_mlj32"]
[ext_resource type="AudioStream" uid="uid://bp70snfsk40vy" path="res://Audio/SFX/pause.wav" id="12_yh4x4"]
[ext_resource type="AudioStream" uid="uid://01sdb5n7snib" path="res://Audio/SFX/accept.wav" id="13_5hi8p"]
[ext_resource type="Texture2D" uid="uid://y31qyw51y7hb" path="res://NPCs/npc3.png" id="13_6g4gt"]
[ext_resource type="Texture2D" uid="uid://jnub86bpiebw" path="res://NPCs/npc4.png" id="14_46hs3"]
[ext_resource type="AudioStream" uid="uid://sgk7qu1ue4by" path="res://Audio/SFX/particle_projectile.wav" id="14_drye7"]
[ext_resource type="Texture2D" uid="uid://baw6gijyxv1fv" path="res://NPCs/npc5.png" id="15_ppm1i"]
[ext_resource type="Script" path="res://Scripts/lerping_camera.gd" id="16_6jycw"]
[ext_resource type="Texture2D" uid="uid://bcvxfjlg8mmjr" path="res://NPCs/npc6.png" id="16_cgyrp"]
[ext_resource type="Shader" path="res://Shaders/gba_colors.gdshader" id="19_5m168"]
[ext_resource type="Script" path="res://Scripts/Cutscenes/manager.gd" id="19_5yvrq"]
[ext_resource type="Shader" path="res://Shaders/lcd.gdshader" id="20_u7jh7"]
[ext_resource type="PackedScene" uid="uid://bwrwh5of0jw4a" path="res://Reed/reed_ai.tscn" id="21_dioix"]
[ext_resource type="Shader" path="res://Shaders/gba.gdshader" id="24_2se80"]
[ext_resource type="PackedScene" uid="uid://81jm7ixvk25n" path="res://Audio/music_manager.tscn" id="24_03wyf"]
[ext_resource type="Script" path="res://Scripts/game_state.gd" id="24_6ypry"]
[ext_resource type="PackedScene" uid="uid://bbybt6r6351yp" path="res://Audio/sound_manager.tscn" id="25_hm8b0"]
[ext_resource type="PackedScene" uid="uid://dd2km6qhpdicx" path="res://Hiro/hiro_ai.tscn" id="30_le27a"]
[ext_resource type="Script" path="res://Scripts/collidable_barrier.gd" id="43_8q2dl"]
[ext_resource type="Texture2D" uid="uid://cq0f4ps8k3t5s" path="res://world/jed gundam game bg poster.png" id="44_mvkv4"]
[ext_resource type="Texture2D" uid="uid://cp173llopa6h5" path="res://world/kingdom hearts game bg poster.png" id="45_25b7g"]

[sub_resource type="LabelSettings" id="LabelSettings_f2g0a"]
font = ExtResource("2_64thh")
font_size = 32
shadow_size = 10
shadow_color = Color(0, 0, 0, 0.501961)
shadow_offset = Vector2(5, 5)

[sub_resource type="ShaderMaterial" id="ShaderMaterial_5ly11"]
shader = ExtResource("24_2se80")
shader_parameter/line_opacity = 0.5
shader_parameter/spacing = 2
shader_parameter/scale = 1.0

[sub_resource type="ShaderMaterial" id="ShaderMaterial_0sjj2"]
shader = ExtResource("20_u7jh7")
shader_parameter/line_opacity = 0.1
shader_parameter/spacing = 3
shader_parameter/scale = 1.0

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

[sub_resource type="Animation" id="Animation_cmsfg"]
resource_name = "fade_in_black"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(2.71828, 0.367879),
"update": 0,
"values": [Color(0, 0, 0, 1), Color(0, 0, 0, 0)]
}

[sub_resource type="Animation" id="Animation_1wxtl"]
resource_name = "fade_in_white"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 2.71828),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}

[sub_resource type="Animation" id="Animation_b6gpx"]
resource_name = "fade_out_black"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(0.367879, 1),
"update": 0,
"values": [Color(0, 0, 0, 0), Color(0, 0, 0, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_oss1s"]
_data = {
"RESET": SubResource("Animation_lyxis"),
"fade_in_black": SubResource("Animation_cmsfg"),
"fade_in_white": SubResource("Animation_1wxtl"),
"fade_out_black": SubResource("Animation_b6gpx")
}

[sub_resource type="ShaderMaterial" id="ShaderMaterial_b1hkp"]
shader = ExtResource("19_5m168")
shader_parameter/darken_screen = 0.0

[sub_resource type="Gradient" id="Gradient_3ox2i"]
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 1)

[sub_resource type="GradientTexture1D" id="GradientTexture1D_4uhai"]
gradient = SubResource("Gradient_3ox2i")

[sub_resource type="AtlasTexture" id="AtlasTexture_d3bfk"]
atlas = ExtResource("11_p77ah")
region = Rect2(0, 0, 16, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_xme0k"]
atlas = ExtResource("11_p77ah")
region = Rect2(16, 0, 16, 32)

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

[sub_resource type="AtlasTexture" id="AtlasTexture_3u38p"]
atlas = ExtResource("12_mlj32")
region = Rect2(0, 0, 19, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_hyuwb"]
atlas = ExtResource("12_mlj32")
region = Rect2(19, 0, 19, 32)

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

[sub_resource type="AtlasTexture" id="AtlasTexture_447t8"]
atlas = ExtResource("13_6g4gt")
region = Rect2(0, 0, 15, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_vbjws"]
atlas = ExtResource("13_6g4gt")
region = Rect2(15, 0, 15, 32)

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

[sub_resource type="AtlasTexture" id="AtlasTexture_ruihr"]
atlas = ExtResource("14_46hs3")
region = Rect2(0, 0, 15, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_w6oru"]
atlas = ExtResource("14_46hs3")
region = Rect2(15, 0, 15, 32)

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

[sub_resource type="AtlasTexture" id="AtlasTexture_pn8uv"]
atlas = ExtResource("15_ppm1i")
region = Rect2(0, 0, 16, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_eke06"]
atlas = ExtResource("15_ppm1i")
region = Rect2(16, 0, 16, 32)

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

[sub_resource type="AtlasTexture" id="AtlasTexture_3r342"]
atlas = ExtResource("16_cgyrp")
region = Rect2(0, 0, 18, 32)

[sub_resource type="AtlasTexture" id="AtlasTexture_hhhy2"]
atlas = ExtResource("16_cgyrp")
region = Rect2(18, 0, 18, 32)

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

[sub_resource type="RectangleShape2D" id="RectangleShape2D_c5p72"]
size = Vector2(47, 211)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ledaf"]
size = Vector2(56, 210)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_hkvwf"]
size = Vector2(194, 55)

[node name="Level" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_y634h")

[node name="CutsceneManager" type="Node" parent="."]
script = ExtResource("19_5yvrq")
cutscene = ExtResource("3_0opva")

[node name="MusicManager" parent="." instance=ExtResource("24_03wyf")]

[node name="SoundManager" parent="." instance=ExtResource("25_hm8b0")]
sounds = {
"dialogue_continue": ExtResource("6_vecai"),
"dialogue_open": ExtResource("7_lglyc"),
"door_open": ExtResource("8_yj1fi"),
"effect_smoke": ExtResource("9_t7juh"),
"energy_blast": ExtResource("14_drye7"),
"melee": ExtResource("10_i31ta"),
"melee_hit": ExtResource("11_bh83s"),
"pause": ExtResource("12_yh4x4"),
"unpause": ExtResource("13_5hi8p")
}

[node name="GameState" type="Node" parent="."]
process_mode = 3
script = ExtResource("24_6ypry")

[node name="PauseMenu" type="CanvasLayer" parent="."]
process_mode = 2
layer = 3
visible = false
script = ExtResource("2_nw73f")
blinking_interval = 0.5

[node name="Control" type="Control" parent="PauseMenu"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Label" type="Label" parent="PauseMenu/Control"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -11.5
offset_right = 20.0
offset_bottom = 11.5
grow_horizontal = 2
grow_vertical = 2
text = "PAUSED"
label_settings = SubResource("LabelSettings_f2g0a")

[node name="TextboxUI" parent="." instance=ExtResource("12_8pgvx")]
layer = 6
cps = 100.0

[node name="Fades" type="CanvasLayer" parent="."]
layer = 5

[node name="Control" type="Control" parent="Fades"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="ScanLines" type="ColorRect" parent="Fades/Control"]
visible = false
texture_filter = 1
material = SubResource("ShaderMaterial_5ly11")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.247059, 0.247059, 0.247059, 1)

[node name="LCDDisplay" type="ColorRect" parent="Fades/Control"]
texture_filter = 1
material = SubResource("ShaderMaterial_0sjj2")
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.180392, 0.180392, 0.180392, 1)

[node name="NSFWReward" type="TextureRect" parent="Fades/Control"]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("10_qggmb")
expand_mode = 3

[node name="SFWReward" type="TextureRect" parent="Fades/Control"]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("11_ni26m")
expand_mode = 3

[node name="FaderRect" type="ColorRect" parent="Fades/Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 0)

[node name="AnimationPlayer" type="AnimationPlayer" parent="Fades/Control/FaderRect"]
libraries = {
"": SubResource("AnimationLibrary_oss1s")
}

[node name="Credits" parent="Fades/Control" instance=ExtResource("11_2tmmx")]
visible = false
layout_mode = 1

[node name="CanvasLayer" type="CanvasLayer" parent="."]

[node name="BattleUI" parent="CanvasLayer" instance=ExtResource("10_hxn8m")]

[node name="Debug" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchor_left = 0.667
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
grow_vertical = 2

[node name="StateChartDebugger" parent="CanvasLayer/Debug" instance=ExtResource("2_o5str")]
layout_mode = 1
offset_right = 81.24
offset_bottom = 155.0
scale = Vector2(0.75, 0.75)
size_flags_horizontal = 0
enabled = false
initial_node_to_watch = NodePath("../../../ReedAI")

[node name="Postprocess" type="CanvasLayer" parent="."]
layer = 128

[node name="Colors" type="ColorRect" parent="Postprocess"]
visible = false
texture_filter = 1
material = SubResource("ShaderMaterial_b1hkp")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="MapElements" type="Node2D" parent="."]
y_sort_enabled = true
position = Vector2(-136, -190)

[node name="Sprite2D" type="Sprite2D" parent="MapElements"]
z_index = -12
position = Vector2(147, 432)
scale = Vector2(3.89453, 652.75)
texture = SubResource("GradientTexture1D_4uhai")

[node name="FightingDojoBg" type="Sprite2D" parent="MapElements"]
z_index = -5
texture_filter = 1
position = Vector2(136, 148)
texture = ExtResource("4_elb6q")

[node name="LongWoodPillar" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(48, 239)

[node name="LongWoodPillar2" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(48, 159)

[node name="LongWoodPillar3" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(96, 120)

[node name="LongWoodPillar4" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(224, 159)

[node name="LongWoodPillar5" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(224, 239)

[node name="LongWoodPillar6" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(176, 120)

[node name="LongWoodPillar7" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(96, 280)

[node name="LongWoodPillar8" parent="MapElements" instance=ExtResource("8_mxq55")]
y_sort_enabled = true
position = Vector2(176, 280)

[node name="JedGundamGameBgPoster" type="Sprite2D" parent="MapElements"]
texture_filter = 1
position = Vector2(114, 57)
texture = ExtResource("44_mvkv4")

[node name="KingdomHeartsGameBgPoster" type="Sprite2D" parent="MapElements"]
texture_filter = 1
position = Vector2(159, 57)
texture = ExtResource("45_25b7g")

[node name="Walls" type="Sprite2D" parent="MapElements"]
z_index = 1
texture_filter = 1
position = Vector2(138, 199)
texture = ExtResource("7_pp5dn")

[node name="HiroPlayer" parent="." instance=ExtResource("1_c1gpq")]
position = Vector2(0, 80)
has_nsfw_animations = false

[node name="Camera2D" type="Camera2D" parent="HiroPlayer"]
texture_filter = 1
zoom = Vector2(3, 3)
position_smoothing_enabled = true
position_smoothing_speed = 3.0
script = ExtResource("16_6jycw")

[node name="NemNPC" parent="." instance=ExtResource("1_sqt7d")]
position = Vector2(2, -78)
movable = false
interaction_cutscene = ExtResource("12_cb4j5")

[node name="ShadowClone" parent="." node_paths=PackedStringArray("player_character") instance=ExtResource("30_le27a")]
position = Vector2(75, 285)
player_character = NodePath("../HiroPlayer")
KNOCKBACK_REPOSITION_POWER = 90
MELEE_RADIUS = 9999
max_health = 200
health = 200
attack_power = 10

[node name="ReedAI" parent="." node_paths=PackedStringArray("player_character") instance=ExtResource("21_dioix")]
position = Vector2(-55, 283)
player_character = NodePath("../HiroPlayer")
KNOCKBACK_REPOSITION_POWER = 90
MELEE_RADIUS = 80
reduce_recoil_time_threshold = 0.75
PROJECTILE_SPEED = 180.0
max_health = 400
health = 400
attack_power = 10

[node name="BG Collissions" type="StaticBody2D" parent="."]
z_index = 2
position = Vector2(-136, -190)
collision_layer = 49
collision_mask = 25

[node name="Floor Collission" type="CollisionPolygon2D" parent="BG Collissions"]
position = Vector2(-1341, -243)
scale = Vector2(8.83789, 4.22585)
polygon = PackedVector2Array(158.522, 76.9076, 161.916, 75.961, 172.213, 75.961, 175.834, 76.671, 177.757, 78.5641, 179.341, 82.8236, 180.134, 85.8999, 180.134, 93.9456, 180.134, 114.06, 179.341, 117.373, 177.871, 119.739, 174.929, 120.922, 169.497, 120.922, 169.497, 123.525, 164.745, 123.525, 164.632, 120.922, 159.201, 120.922, 156.372, 120.213, 154.901, 117.373, 154.109, 113.587, 154.109, 94.1822, 154.109, 86.1365, 152.186, 83.0602, 152.412, 80.9304, 146.181, 70.3743, 139.513, 85.4266, 135.779, 90.8692, 147.66, 124.945, 187.367, 125.038, 195.514, 91.4351, 192.232, 66.1148, 173.676, 53.3363, 157.382, 53.8096, 152.404, 63.2751, 153.317, 81.6403, 154.109, 85.8999, 154.901, 83.2969, 156.485, 78.5641)

[node name="ExplosionGenerator" type="Node" parent="."]
script = ExtResource("9_df2wo")

[node name="NPCs" type="Node2D" parent="."]
visible = false
y_sort_enabled = true
position = Vector2(-297, 0)

[node name="Cody" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(223, -83)
sprite_frames = SubResource("SpriteFrames_i27lt")
autoplay = "default"
frame_progress = 0.189183

[node name="Ash" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(242, -99)
sprite_frames = SubResource("SpriteFrames_5e2yr")
autoplay = "default"
frame_progress = 0.362374

[node name="Zaki" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(353, -87)
sprite_frames = SubResource("SpriteFrames_6andu")
autoplay = "default"
frame_progress = 0.642839

[node name="Shadow" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(371, -92)
sprite_frames = SubResource("SpriteFrames_yneo4")
autoplay = "default"
frame_progress = 0.102697

[node name="Sam" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(320, -95)
sprite_frames = SubResource("SpriteFrames_y036p")
autoplay = "default"
frame_progress = 0.522916

[node name="Sevi" type="AnimatedSprite2D" parent="NPCs"]
texture_filter = 1
position = Vector2(277, -101)
sprite_frames = SubResource("SpriteFrames_nxs2l")
autoplay = "default"
frame_progress = 0.389513

[node name="PositionMarkers" type="Node2D" parent="."]

[node name="Marker1" type="Marker2D" parent="PositionMarkers"]

[node name="Marker2" type="Marker2D" parent="PositionMarkers"]
position = Vector2(-50, 5)

[node name="Marker3" type="Marker2D" parent="PositionMarkers"]
position = Vector2(50, 5)

[node name="Marker0" type="Marker2D" parent="PositionMarkers"]
position = Vector2(0, 80)

[node name="BattleBarriers" type="Node2D" parent="."]
process_mode = 4

[node name="Barrier" type="StaticBody2D" parent="BattleBarriers"]
collision_layer = 49
collision_mask = 25

[node name="CollisionShape2D4" type="CollisionPolygon2D" parent="BattleBarriers/Barrier"]
polygon = PackedVector2Array(-84, -31, -76, -57, -43, -71, -84, -71)

[node name="CollisionShape2D5" type="CollisionPolygon2D" parent="BattleBarriers/Barrier"]
position = Vector2(14, 13)
rotation = 1.5708
polygon = PackedVector2Array(-84, -31, -76, -57, -43, -71, -84, -71)

[node name="CollidableBarrier1" type="StaticBody2D" parent="BattleBarriers"]
collision_layer = 49
collision_mask = 25
script = ExtResource("43_8q2dl")
detect_projectile_direction = 1

[node name="CollisionShape2D" type="CollisionShape2D" parent="BattleBarriers/CollidableBarrier1"]
position = Vector2(-107.5, -19.5)
shape = SubResource("RectangleShape2D_c5p72")

[node name="CollidableBarrier2" type="StaticBody2D" parent="BattleBarriers"]
collision_layer = 49
collision_mask = 25
script = ExtResource("43_8q2dl")
detect_projectile_direction = 1

[node name="CollisionShape2D2" type="CollisionShape2D" parent="BattleBarriers/CollidableBarrier2"]
position = Vector2(111, -19)
shape = SubResource("RectangleShape2D_ledaf")

[node name="CollidableBarrier3" type="StaticBody2D" parent="BattleBarriers"]
collision_layer = 49
collision_mask = 25
script = ExtResource("43_8q2dl")
detect_projectile_direction = 2

[node name="CollisionShape2D3" type="CollisionShape2D" parent="BattleBarriers/CollidableBarrier3"]
position = Vector2(-9, -97.5)
shape = SubResource("RectangleShape2D_hkvwf")

[connection signal="finished" from="CutsceneManager" to="." method="_on_cutscene_finished"]
[connection signal="issued_command" from="CutsceneManager" to="." method="_on_cutscene_manager_issued_command"]
[connection signal="issued_command" from="CutsceneManager" to="CutsceneManager" method="_on_issued_command"]
[connection signal="issued_command" from="CutsceneManager" to="MusicManager" method="_on_cutscene_issued_command"]
[connection signal="issued_command" from="CutsceneManager" to="TextboxUI" method="_on_cutscene_command_issued"]
[connection signal="issued_command" from="CutsceneManager" to="HiroPlayer" method="_on_cutscene_issued_command"]
[connection signal="issued_command" from="CutsceneManager" to="ReedAI" method="_on_cutscene_issued_command"]
[connection signal="loaded" from="CutsceneManager" to="." method="_on_cutscene_loaded"]
[connection signal="started" from="CutsceneManager" to="." method="_on_cutscene_started"]
[connection signal="game_pause_toggled" from="GameState" to="MusicManager" method="_on_game_pause_toggled"]
[connection signal="game_pause_toggled" from="GameState" to="SoundManager" method="_on_game_pause_toggled"]
[connection signal="game_pause_toggled" from="GameState" to="PauseMenu" method="_on_game_pause_toggled"]
[connection signal="game_unpause_queued" from="PauseMenu" to="GameState" method="_on_game_unpause_queued"]
[connection signal="dialogue_completed" from="TextboxUI" to="CutsceneManager" method="_on_ui_dialogue_completed"]
[connection signal="dialogue_continued" from="TextboxUI" to="SoundManager" method="_on_ui_dialogue_continued"]
[connection signal="dialogue_opened" from="TextboxUI" to="SoundManager" method="_on_ui_dialogue_opened"]
[connection signal="given_way" from="Fades/Control/Credits" to="Fades/Control/Credits" method="_on_given_way" flags=6]
[connection signal="given_way" from="Fades/Control/Credits" to="SoundManager" method="_on_game_pause_toggled" flags=6 binds= [false]]
[connection signal="reward_requested" from="Fades/Control/Credits" to="." method="_on_credits_requested_reward" flags=6]
[connection signal="attack_did_hit" from="HiroPlayer" to="ShadowClone" method="_on_enemy_attack_did_hit"]
[connection signal="attack_did_hit" from="HiroPlayer" to="ReedAI" method="_on_enemy_attack_did_hit"]
[connection signal="attacked" from="HiroPlayer" to="SoundManager" method="_on_humanoid_character_attacked"]
[connection signal="defeated" from="HiroPlayer" to="." method="_on_player_defeated" flags=6]
[connection signal="defeated" from="HiroPlayer" to="ShadowClone" method="_on_player_been_defeated"]
[connection signal="defeated" from="HiroPlayer" to="ReedAI" method="_on_player_been_defeated"]
[connection signal="got_hurt" from="HiroPlayer" to="SoundManager" method="_on_character_got_hurt"]
[connection signal="got_hurt" from="HiroPlayer" to="CanvasLayer/BattleUI" method="_on_player_got_hurt"]
[connection signal="interacted_with_object" from="HiroPlayer" to="." method="_on_player_interacted_with_object"]
[connection signal="attack_did_hit" from="ShadowClone" to="HiroPlayer" method="_on_enemy_attack_did_hit"]
[connection signal="attacked" from="ShadowClone" to="SoundManager" method="_on_humanoid_character_attacked"]
[connection signal="defeated" from="ShadowClone" to="." method="_on_shadow_clone_defeated" flags=3]
[connection signal="got_hurt" from="ShadowClone" to="SoundManager" method="_on_character_got_hurt"]
[connection signal="got_hurt" from="ShadowClone" to="CanvasLayer/BattleUI" method="_on_enemy_got_hurt"]
[connection signal="attack_did_hit" from="ReedAI" to="HiroPlayer" method="_on_enemy_attack_did_hit"]
[connection signal="attacked" from="ReedAI" to="SoundManager" method="_on_humanoid_character_attacked"]
[connection signal="defeated" from="ReedAI" to="." method="_on_reed_ai_defeated" flags=7]
[connection signal="got_hurt" from="ReedAI" to="SoundManager" method="_on_character_got_hurt"]
[connection signal="got_hurt" from="ReedAI" to="CanvasLayer/BattleUI" method="_on_enemy_got_hurt"]
[connection signal="range_attack_initiated" from="ReedAI" to="SoundManager" method="_on_reed_ai_range_attack_initiated"]
