[gd_scene load_steps=7 format=2]

[ext_resource path="res://Rooms/SmallHouse2/frame.png" type="Texture" id=1]
[ext_resource path="res://Helpers/CanQuit.tscn" type="PackedScene" id=2]
[ext_resource path="res://Rooms/SmallHouse2/frame_wall.png" type="Texture" id=3]
[ext_resource path="res://Rooms/SmallHouse2/FramePicture.gd" type="Script" id=4]
[ext_resource path="res://Rooms/SmallHouse2/Frame.gd" type="Script" id=5]

[sub_resource type="BitmapFont" id=1]

[node name="Frame" type="Node2D"]
script = ExtResource( 5 )

[node name="CanQuit" parent="." instance=ExtResource( 2 )]

[node name="Wall" type="Sprite" parent="."]
texture = ExtResource( 3 )
centered = false
hframes = 2

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

[node name="Cartridge" type="LinkButton" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 9.0
margin_top = 14.0
margin_right = -9.0
margin_bottom = -12.0
custom_fonts/font = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}

[node name="FramePicture" type="TextureButton" parent="CanvasLayer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 3.0
margin_top = 5.0
margin_right = -3.0
margin_bottom = -5.0
texture_normal = ExtResource( 1 )
expand = true
stretch_mode = 3
script = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CanvasLayer/Cartridge" to="." method="_on_LinkButton_pressed"]
[connection signal="button_down" from="CanvasLayer/FramePicture" to="CanvasLayer/FramePicture" method="_on_Frame_button_down"]
