From 17120f0b2e4dcca0eaf337c7981441b3b3ceb408 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 23 Jul 2020 12:16:10 -0500 Subject: [PATCH] Level 2 polished --- Music and Fonts(Misc.)/Ogre Hit.tres | 2 +- Music and Fonts(Misc.)/Skeleton Hit.tres | 2 +- ai/Scenes/Skeleton Enemy.tscn | 17 +--- ai/Scenes/SpinningBone.tscn | 2 +- ai/Script/Demon.gd | 2 +- ai/Script/Skeleton Enemy.gd | 10 ++- ai/Script/ogre.gd | 2 +- levels/Campaign/Level 1/Level 1a.tscn | 28 ++++-- levels/Campaign/Level 2/Level 2.tscn | 110 +++++++++-------------- magic/Projectiles/EcoProjectile.tscn | 1 + magic/Wands/ChargedWand.gd | 5 +- objects/Door.gd | 1 - 12 files changed, 80 insertions(+), 102 deletions(-) diff --git a/Music and Fonts(Misc.)/Ogre Hit.tres b/Music and Fonts(Misc.)/Ogre Hit.tres index 1a46623..2569597 100644 --- a/Music and Fonts(Misc.)/Ogre Hit.tres +++ b/Music and Fonts(Misc.)/Ogre Hit.tres @@ -14,5 +14,5 @@ tracks/0/keys = { "times": PoolRealArray( 0, 0.05, 0.1 ), "transitions": PoolRealArray( 1, 1, 1 ), "update": 0, -"values": [ Color( 0.964706, 0.462745, 0.462745, 1 ), Color( 10, 10, 10, 1 ), Color( 1, 1, 1, 1 ) ] +"values": [ Color( 10, 10, 10, 1 ), Color( 10, 10, 10, 1 ), Color( 1, 1, 1, 1 ) ] } diff --git a/Music and Fonts(Misc.)/Skeleton Hit.tres b/Music and Fonts(Misc.)/Skeleton Hit.tres index b1238ea..6f61481 100644 --- a/Music and Fonts(Misc.)/Skeleton Hit.tres +++ b/Music and Fonts(Misc.)/Skeleton Hit.tres @@ -1,7 +1,7 @@ [gd_resource type="Animation" format=2] [resource] -resource_name = "Skeleton Hit" +resource_name = "Hit" length = 0.1 step = 0.05 tracks/0/type = "value" diff --git a/ai/Scenes/Skeleton Enemy.tscn b/ai/Scenes/Skeleton Enemy.tscn index 4db4229..b93b093 100644 --- a/ai/Scenes/Skeleton Enemy.tscn +++ b/ai/Scenes/Skeleton Enemy.tscn @@ -1,10 +1,8 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=6 format=2] [ext_resource path="res://ai/Script/Skeleton Enemy.gd" type="Script" id=1] [ext_resource path="res://Music and Fonts(Misc.)/Skeleton Hit.tres" type="Animation" id=2] [ext_resource path="res://art/Skeleton.png" type="Texture" id=3] -[ext_resource path="res://Music and Fonts(Misc.)/Ogre Hit.tres" type="Animation" id=4] - [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 5, 7 ) @@ -44,16 +42,6 @@ enabled = true cast_to = Vector2( 80, 0 ) collision_mask = 3 -[node name="RayCast2D3" type="RayCast2D" parent="."] -enabled = true -cast_to = Vector2( -80, -25 ) -collision_mask = 3 - -[node name="RayCast2D4" type="RayCast2D" parent="."] -enabled = true -cast_to = Vector2( 80, -25 ) -collision_mask = 3 - [node name="ShootDelay" type="Timer" parent="."] wait_time = 1.239 one_shot = true @@ -71,5 +59,4 @@ autoplay = "Skeleton Jump" "anims/Skeleton Jump" = SubResource( 2 ) [node name="AnimationPlayer2" type="AnimationPlayer" parent="."] -anims/Hit = ExtResource( 4 ) -"anims/Skeleton Hit" = ExtResource( 2 ) +anims/Hit = ExtResource( 2 ) diff --git a/ai/Scenes/SpinningBone.tscn b/ai/Scenes/SpinningBone.tscn index 53b7742..cf7156d 100644 --- a/ai/Scenes/SpinningBone.tscn +++ b/ai/Scenes/SpinningBone.tscn @@ -25,7 +25,7 @@ radius = 3.0 height = 2.0 [node name="KinematicBody2D" type="KinematicBody2D"] -collision_layer = 8 +collision_layer = 16 collision_mask = 3 script = ExtResource( 2 ) __meta__ = { diff --git a/ai/Script/Demon.gd b/ai/Script/Demon.gd index 8c20133..7fefddb 100644 --- a/ai/Script/Demon.gd +++ b/ai/Script/Demon.gd @@ -7,7 +7,7 @@ onready var ProjectileSpawn: Node2D = $Position2D onready var PlayerRaycast: RayCast2D = $PlayerRaycast func _ready(): - health = 0.5 + health = 2 knockback_amount = 700 func _physics_process(_delta): diff --git a/ai/Script/Skeleton Enemy.gd b/ai/Script/Skeleton Enemy.gd index 6a32156..138fc04 100644 --- a/ai/Script/Skeleton Enemy.gd +++ b/ai/Script/Skeleton Enemy.gd @@ -1,10 +1,18 @@ extends Enemy +export var max_range: int = 200 +export var stationary: bool = false + var Spinning_Bone = preload("res://ai/Scenes/SpinningBone.tscn") onready var ShootDelay : Timer = $ShootDelay onready var ProjectileSpawn: Node2D = $Position2D +func _ready(): + health = 1.5 + $RayCast2D.cast_to.x = -1 * max_range + $RayCast2D2.cast_to.y = 1 * max_ranged + func apply_gravity(delta, modifier = 1): velocity.y += gravity * delta * modifier @@ -28,7 +36,7 @@ func _physics_process(_delta): velocity.x *= speed velocity = move_and_slide(velocity, UP) - if dist <= 200: + if dist <= max_range and not stationary: velocity.x = position.direction_to(Player.position).normalized().x else: velocity = Vector2(0, 0) diff --git a/ai/Script/ogre.gd b/ai/Script/ogre.gd index a326e0f..d064fbe 100644 --- a/ai/Script/ogre.gd +++ b/ai/Script/ogre.gd @@ -8,7 +8,7 @@ onready var Hurtbox = $Area2D func _ready(): speed = 50 - health = 3 + health = 5 func _physics_process(delta): if knockback != Vector2.ZERO: diff --git a/levels/Campaign/Level 1/Level 1a.tscn b/levels/Campaign/Level 1/Level 1a.tscn index 0612dd5..6840820 100644 --- a/levels/Campaign/Level 1/Level 1a.tscn +++ b/levels/Campaign/Level 1/Level 1a.tscn @@ -22,7 +22,7 @@ cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 format = 1 -tile_data = PoolIntArray( -655360, 0, 8, -655359, 0, 10, -655358, 0, 10, -655357, 0, 10, -655356, 0, 10, -655355, 0, 10, -655354, 0, 10, -655353, 0, 10, -655352, 0, 10, -655351, 0, 10, -655350, 0, 10, -655349, 0, 10, -655348, 0, 10, -655347, 0, 10, -655346, 0, 10, -655345, 0, 11, -655339, 0, 8, -655338, 0, 10, -655337, 0, 10, -655336, 0, 10, -655335, 0, 10, -655334, 0, 10, -655333, 0, 10, -655332, 0, 10, -655331, 0, 10, -655330, 0, 11, -589824, 0, 65544, -589823, 0, 131081, -589822, 0, 131081, -589821, 0, 131081, -589820, 0, 131081, -589819, 0, 131081, -589818, 0, 131081, -589817, 0, 131081, -589816, 0, 131081, -589815, 0, 131081, -589814, 0, 131081, -589813, 0, 131081, -589812, 0, 131081, -589811, 0, 131081, -589810, 0, 131081, -589809, 0, 131083, -589803, 0, 65544, -589802, 0, 131081, -589801, 0, 131081, -589800, 0, 131081, -589799, 0, 131081, -589798, 0, 131081, -589797, 0, 131081, -589796, 0, 131081, -589795, 0, 131081, -589794, 0, 131083, -524288, 0, 65544, -524287, 0, 131081, -524286, 0, 131081, -524285, 0, 131081, -524284, 0, 131081, -524283, 0, 131081, -524282, 0, 131081, -524281, 0, 131081, -524280, 0, 131081, -524279, 0, 131081, -524278, 0, 131081, -524277, 0, 131081, -524276, 0, 131081, -524275, 0, 131081, -524274, 0, 131081, -524273, 0, 131083, -524267, 0, 65544, -524266, 0, 131081, -524265, 0, 131081, -524264, 0, 131081, -524263, 0, 131081, -524262, 0, 131081, -524261, 0, 131081, -524260, 0, 131081, -524259, 0, 131081, -524258, 0, 131083, -458752, 0, 65544, -458751, 0, 131081, -458750, 0, 131081, -458749, 0, 131081, -458748, 0, 131081, -458747, 0, 131081, -458746, 0, 131081, -458745, 0, 131081, -458744, 0, 131081, -458743, 0, 131081, -458742, 0, 131081, -458741, 0, 131081, -458740, 0, 131081, -458739, 0, 131081, -458738, 0, 131081, -458737, 0, 131083, -458731, 0, 65544, -458730, 0, 131081, -458729, 0, 131081, -458728, 0, 131081, -458727, 0, 131081, -458726, 0, 131081, -458725, 0, 131081, -458724, 0, 131081, -458723, 0, 131081, -458722, 0, 131083, -393216, 0, 65544, -393215, 0, 131081, -393214, 0, 131081, -393213, 0, 131081, -393212, 0, 131081, -393211, 0, 131081, -393210, 0, 131081, -393209, 0, 131081, -393208, 0, 131081, -393207, 0, 131081, -393206, 0, 131081, -393205, 0, 131081, -393204, 0, 131081, -393203, 0, 131081, -393202, 0, 131081, -393201, 0, 131083, -393195, 0, 65544, -393194, 0, 131081, -393193, 0, 131081, -393192, 0, 131081, -393191, 0, 131081, -393190, 0, 131081, -393189, 0, 131081, -393188, 0, 131081, -393187, 0, 131081, -393186, 0, 131083, -327680, 0, 65544, -327679, 0, 131081, -327678, 0, 131081, -327677, 0, 131081, -327676, 0, 131081, -327675, 0, 131081, -327674, 0, 131081, -327673, 0, 131081, -327672, 0, 131081, -327671, 0, 131081, -327670, 0, 131081, -327669, 0, 131081, -327668, 0, 131081, -327667, 0, 131081, -327666, 0, 131081, -327665, 0, 131083, -327659, 0, 65544, -327658, 0, 131081, -327657, 0, 131081, -327656, 0, 131081, -327655, 0, 131081, -327654, 0, 131081, -327653, 0, 131081, -327652, 0, 131081, -327651, 0, 131081, -327650, 0, 131083, -262144, 0, 65544, -262143, 0, 131081, -262142, 0, 131081, -262141, 0, 131081, -262140, 0, 131081, -262139, 0, 131081, -262138, 0, 131081, -262137, 0, 131081, -262136, 0, 131081, -262135, 0, 131081, -262134, 0, 131081, -262133, 0, 131081, -262132, 0, 131081, -262131, 0, 131081, -262130, 0, 131081, -262129, 0, 131083, -262123, 0, 65544, -262122, 0, 131081, -262121, 0, 131081, -262120, 0, 131081, -262119, 0, 131081, -262118, 0, 131081, -262117, 0, 131081, -262116, 0, 131081, -262115, 0, 131081, -262114, 0, 131083, -196608, 0, 65544, -196607, 0, 131081, -196606, 0, 131081, -196605, 0, 131081, -196604, 0, 131081, -196603, 0, 131081, -196602, 0, 131081, -196601, 0, 131081, -196600, 0, 131081, -196599, 0, 131081, -196598, 0, 131081, -196597, 0, 131081, -196596, 0, 131081, -196595, 0, 131081, -196594, 0, 131081, -196593, 0, 131083, -196587, 0, 65544, -196586, 0, 131081, -196585, 0, 131081, -196584, 0, 131081, -196583, 0, 131081, -196582, 0, 131081, -196581, 0, 131081, -196580, 0, 131081, -196579, 0, 131081, -196578, 0, 131083, -131072, 0, 65544, -131071, 0, 131081, -131070, 0, 131081, -131069, 0, 131081, -131068, 0, 131081, -131067, 0, 131081, -131066, 0, 131081, -131065, 0, 131081, -131064, 0, 131081, -131063, 0, 131081, -131062, 0, 131081, -131061, 0, 131081, -131060, 0, 131081, -131059, 0, 131081, -131058, 0, 131081, -131057, 0, 131083, -131051, 0, 65544, -131050, 0, 131081, -131049, 0, 131081, -131048, 0, 131081, -131047, 0, 131081, -131046, 0, 131081, -131045, 0, 131081, -131044, 0, 131081, -131043, 0, 131081, -131042, 0, 131083, -65536, 0, 65544, -65535, 0, 131081, -65534, 0, 131081, -65533, 0, 131081, -65532, 0, 131081, -65531, 0, 131081, -65530, 0, 131081, -65529, 0, 131081, -65528, 0, 131081, -65527, 0, 131081, -65526, 0, 131081, -65525, 0, 131081, -65524, 0, 131081, -65523, 0, 131081, -65522, 0, 131081, -65521, 0, 131083, -65515, 0, 65544, -65514, 0, 131081, -65513, 0, 131081, -65512, 0, 131081, -65511, 0, 131081, -65510, 0, 131081, -65509, 0, 131081, -65508, 0, 131081, -65507, 0, 131081, -65506, 0, 131083, 0, 0, 65544, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131083, 21, 0, 65544, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 131083, 65536, 0, 65544, 65537, 0, 131081, 65538, 0, 131081, 65539, 0, 131081, 65540, 0, 131081, 65541, 0, 131081, 65542, 0, 131081, 65543, 0, 131081, 65544, 0, 131081, 65545, 0, 131081, 65546, 0, 131081, 65547, 0, 131081, 65548, 0, 131081, 65549, 0, 131081, 65550, 0, 131081, 65551, 0, 131083, 65557, 0, 65544, 65558, 0, 131081, 65559, 0, 131081, 65560, 0, 131081, 65561, 0, 131081, 65562, 0, 131081, 65563, 0, 131081, 65564, 0, 131081, 65565, 0, 131081, 65566, 0, 131083, 131072, 0, 65544, 131073, 0, 131081, 131074, 0, 131081, 131075, 0, 131081, 131076, 0, 131081, 131077, 0, 131081, 131078, 0, 131081, 131079, 0, 131081, 131080, 0, 131081, 131081, 0, 131081, 131082, 0, 131081, 131083, 0, 131081, 131084, 0, 131081, 131085, 0, 131081, 131086, 0, 131081, 131087, 0, 131083, 131093, 0, 65544, 131094, 0, 131081, 131095, 0, 131081, 131096, 0, 131081, 131097, 0, 131081, 131098, 0, 131081, 131099, 0, 131081, 131100, 0, 131081, 131101, 0, 131081, 131102, 0, 131083, 196608, 0, 65544, 196609, 0, 131081, 196610, 0, 131081, 196611, 0, 131081, 196612, 0, 131081, 196613, 0, 131081, 196614, 0, 131081, 196615, 0, 131081, 196616, 0, 131081, 196617, 0, 131081, 196618, 0, 131081, 196619, 0, 131081, 196620, 0, 131081, 196621, 0, 131081, 196622, 0, 131081, 196623, 0, 131083, 196629, 0, 65544, 196630, 0, 131081, 196631, 0, 131081, 196632, 0, 131081, 196633, 0, 131081, 196634, 0, 131081, 196635, 0, 131081, 196636, 0, 131081, 196637, 0, 131081, 196638, 0, 131083, 262144, 0, 65544, 262145, 0, 131081, 262146, 0, 131081, 262147, 0, 131081, 262148, 0, 131081, 262149, 0, 131081, 262150, 0, 131081, 262151, 0, 131081, 262152, 0, 131081, 262153, 0, 131081, 262154, 0, 131081, 262155, 0, 131081, 262156, 0, 131081, 262157, 0, 131081, 262158, 0, 131081, 262159, 0, 131083, 262165, 0, 65544, 262166, 0, 131081, 262167, 0, 131081, 262168, 0, 131081, 262169, 0, 131081, 262170, 0, 131081, 262171, 0, 131081, 262172, 0, 131081, 262173, 0, 131081, 262174, 0, 131083, 327680, 0, 65544, 327681, 0, 131081, 327682, 0, 131081, 327683, 0, 131081, 327684, 0, 131081, 327685, 0, 131081, 327686, 0, 131081, 327687, 0, 131081, 327688, 0, 131081, 327689, 0, 131081, 327690, 0, 131081, 327691, 0, 131081, 327692, 0, 131081, 327693, 0, 131081, 327694, 0, 131081, 327695, 0, 131083, 327701, 0, 65544, 327702, 0, 131081, 327703, 0, 131081, 327704, 0, 131081, 327705, 0, 131081, 327706, 0, 131081, 327707, 0, 131081, 327708, 0, 131081, 327709, 0, 131081, 327710, 0, 131083, 393216, 0, 65544, 393217, 0, 131081, 393218, 0, 131081, 393219, 0, 131081, 393220, 0, 131081, 393221, 0, 131081, 393222, 0, 131081, 393223, 0, 131081, 393224, 0, 131081, 393225, 0, 131081, 393226, 0, 131081, 393227, 0, 131081, 393228, 0, 131081, 393229, 0, 131081, 393230, 0, 131081, 393231, 0, 131083, 393237, 0, 65544, 393238, 0, 131081, 393239, 0, 131081, 393240, 0, 131081, 393241, 0, 131081, 393242, 0, 131081, 393243, 0, 131081, 393244, 0, 131081, 393245, 0, 131081, 393246, 0, 131083, 458752, 0, 65544, 458753, 0, 131081, 458754, 0, 131081, 458755, 0, 131081, 458756, 0, 131081, 458757, 0, 131081, 458758, 0, 131081, 458759, 0, 131081, 458760, 0, 131081, 458761, 0, 131081, 458762, 0, 131081, 458763, 0, 131081, 458764, 0, 131081, 458765, 0, 131081, 458766, 0, 131081, 458767, 0, 131083, 458773, 0, 65544, 458774, 0, 131081, 458775, 0, 131081, 458776, 0, 131081, 458777, 0, 131081, 458778, 0, 131081, 458779, 0, 131081, 458780, 0, 131081, 458781, 0, 131081, 458782, 0, 131083, 524288, 0, 65544, 524289, 0, 131081, 524290, 0, 131081, 524291, 0, 131081, 524292, 0, 131081, 524293, 0, 131081, 524294, 0, 131081, 524295, 0, 131081, 524296, 0, 131081, 524297, 0, 131081, 524298, 0, 131081, 524299, 0, 131081, 524300, 0, 131081, 524301, 0, 131081, 524302, 0, 131081, 524303, 0, 131083, 524309, 0, 65544, 524310, 0, 131081, 524311, 0, 131081, 524312, 0, 131081, 524313, 0, 131081, 524314, 0, 131081, 524315, 0, 131081, 524316, 0, 131081, 524317, 0, 131081, 524318, 0, 131083, 589824, 0, 65544, 589825, 0, 131081, 589826, 0, 131081, 589827, 0, 131081, 589828, 0, 131081, 589829, 0, 131081, 589830, 0, 131081, 589831, 0, 131081, 589832, 0, 131081, 589833, 0, 131081, 589834, 0, 131081, 589835, 0, 131081, 589836, 0, 131081, 589837, 0, 131081, 589838, 0, 131078, 589839, 0, 196619, 589845, 0, 196616, 589846, 0, 131077, 589847, 0, 131081, 589848, 0, 131081, 589849, 0, 131081, 589850, 0, 131081, 589851, 0, 131081, 589852, 0, 131081, 589853, 0, 131081, 589854, 0, 65542, 589855, 0, 10, 589856, 0, 10, 589857, 0, 10, 589858, 0, 10, 589859, 0, 10, 589860, 0, 10, 589861, 0, 10, 589862, 0, 10, 589863, 0, 10, 589864, 0, 10, 589865, 0, 10, 589866, 0, 10, 589867, 0, 10, 589868, 0, 10, 589869, 0, 10, 589870, 0, 10, 589871, 0, 10, 589872, 0, 10, 589873, 0, 10, 589874, 0, 10, 589875, 0, 10, 589876, 0, 10, 589877, 0, 10, 589878, 0, 10, 589879, 0, 10, 589880, 0, 10, 589881, 0, 10, 589882, 0, 10, 589883, 0, 10, 589884, 0, 10, 589885, 0, 10, 589886, 0, 10, 589887, 0, 10, 589888, 0, 10, 589889, 0, 11, 655360, 0, 65544, 655361, 0, 131081, 655362, 0, 131081, 655363, 0, 131081, 655364, 0, 131081, 655365, 0, 131081, 655366, 0, 131081, 655367, 0, 131081, 655368, 0, 131081, 655369, 0, 131081, 655370, 0, 131081, 655371, 0, 131081, 655372, 0, 131081, 655373, 0, 131078, 655374, 0, 196619, 655382, 0, 196616, 655383, 0, 131077, 655384, 0, 131081, 655385, 0, 131081, 655386, 0, 131081, 655387, 0, 131081, 655388, 0, 131081, 655389, 0, 131081, 655390, 0, 131081, 655391, 0, 131081, 655392, 0, 131081, 655393, 0, 131081, 655394, 0, 131081, 655395, 0, 131081, 655396, 0, 131081, 655397, 0, 131081, 655398, 0, 131081, 655399, 0, 131081, 655400, 0, 131081, 655401, 0, 131081, 655402, 0, 131081, 655403, 0, 131081, 655404, 0, 131081, 655405, 0, 131081, 655406, 0, 131081, 655407, 0, 131081, 655408, 0, 131081, 655409, 0, 131081, 655410, 0, 131081, 655411, 0, 131081, 655412, 0, 131081, 655413, 0, 131081, 655414, 0, 131081, 655415, 0, 131081, 655416, 0, 131081, 655417, 0, 131081, 655418, 0, 131081, 655419, 0, 131081, 655420, 0, 131081, 655421, 0, 131081, 655422, 0, 131081, 655423, 0, 131081, 655424, 0, 131081, 655425, 0, 131083, 720896, 0, 65544, 720897, 0, 131081, 720898, 0, 131081, 720899, 0, 131081, 720900, 0, 131081, 720901, 0, 131081, 720902, 0, 131081, 720903, 0, 131081, 720904, 0, 131081, 720905, 0, 131081, 720906, 0, 131081, 720907, 0, 131081, 720908, 0, 131078, 720909, 0, 196619, 720919, 0, 196616, 720920, 0, 131077, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131081, 720927, 0, 131081, 720928, 0, 131081, 720929, 0, 131081, 720930, 0, 131081, 720931, 0, 131081, 720932, 0, 131081, 720933, 0, 131081, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131081, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131081, 720948, 0, 131081, 720949, 0, 131081, 720950, 0, 131081, 720951, 0, 131081, 720952, 0, 131081, 720953, 0, 131081, 720954, 0, 131081, 720955, 0, 131081, 720956, 0, 131081, 720957, 0, 131081, 720958, 0, 131081, 720959, 0, 131081, 720960, 0, 131081, 720961, 0, 131083, 786432, 0, 65544, 786433, 0, 131081, 786434, 0, 131081, 786435, 0, 131081, 786436, 0, 131081, 786437, 0, 131081, 786438, 0, 131081, 786439, 0, 131081, 786440, 0, 131081, 786441, 0, 131081, 786442, 0, 131081, 786443, 0, 131078, 786444, 0, 196619, 786456, 0, 196616, 786457, 0, 196617, 786458, 0, 131077, 786459, 0, 131081, 786460, 0, 131081, 786461, 0, 131081, 786462, 0, 131081, 786463, 0, 131081, 786464, 0, 131081, 786465, 0, 131081, 786466, 0, 131081, 786467, 0, 131081, 786468, 0, 131081, 786469, 0, 131081, 786470, 0, 131081, 786471, 0, 131081, 786472, 0, 131081, 786473, 0, 131081, 786474, 0, 131081, 786475, 0, 131081, 786476, 0, 131081, 786477, 0, 131081, 786478, 0, 131081, 786479, 0, 131081, 786480, 0, 131081, 786481, 0, 131081, 786482, 0, 131081, 786483, 0, 131081, 786484, 0, 131081, 786485, 0, 131081, 786486, 0, 131081, 786487, 0, 131081, 786488, 0, 131081, 786489, 0, 131081, 786490, 0, 131081, 786491, 0, 131081, 786492, 0, 131081, 786493, 0, 131081, 786494, 0, 131081, 786495, 0, 131081, 786496, 0, 131081, 786497, 0, 131083, 851968, 0, 65544, 851969, 0, 131081, 851970, 0, 131081, 851971, 0, 131081, 851972, 0, 131081, 851973, 0, 131081, 851974, 0, 131081, 851975, 0, 131081, 851976, 0, 131081, 851977, 0, 131081, 851978, 0, 131078, 851979, 0, 196619, 851994, 0, 196616, 851995, 0, 196617, 851996, 0, 196617, 851997, 0, 196617, 851998, 0, 196617, 851999, 0, 196617, 852000, 0, 196617, 852001, 0, 196617, 852002, 0, 196617, 852003, 0, 196617, 852004, 0, 196617, 852005, 0, 196617, 852006, 0, 196617, 852007, 0, 196617, 852008, 0, 196617, 852009, 0, 196617, 852010, 0, 196617, 852011, 0, 196617, 852012, 0, 196617, 852013, 0, 196617, 852014, 0, 196617, 852015, 0, 196617, 852016, 0, 196617, 852017, 0, 196617, 852018, 0, 196617, 852019, 0, 196617, 852020, 0, 196617, 852021, 0, 196617, 852022, 0, 196617, 852023, 0, 196617, 852024, 0, 196617, 852025, 0, 196617, 852026, 0, 196617, 852027, 0, 196617, 852028, 0, 196617, 852029, 0, 196617, 852030, 0, 196617, 852031, 0, 131077, 852032, 0, 131081, 852033, 0, 131083, 917504, 0, 65544, 917505, 0, 131081, 917506, 0, 131078, 917507, 0, 196617, 917508, 0, 196617, 917509, 0, 196617, 917510, 0, 196617, 917511, 0, 196617, 917512, 0, 196617, 917513, 0, 196617, 917514, 0, 196619, 917567, 0, 65544, 917568, 0, 131081, 917569, 0, 131083, 983040, 0, 65544, 983041, 0, 131081, 983042, 0, 131083, 983103, 0, 65544, 983104, 0, 131081, 983105, 0, 131083, 1048576, 0, 65544, 1048577, 0, 131081, 1048578, 0, 131083, 1048639, 0, 65544, 1048640, 0, 131081, 1048641, 0, 131083, 1114112, 0, 65544, 1114113, 0, 131081, 1114114, 0, 131083, 1114175, 0, 65544, 1114176, 0, 131081, 1114177, 0, 131083, 1179648, 0, 65544, 1179649, 0, 131081, 1179650, 0, 131083, 1179689, 0, 8, 1179690, 0, 10, 1179691, 0, 10, 1179692, 0, 10, 1179693, 0, 10, 1179694, 0, 10, 1179695, 0, 10, 1179696, 0, 10, 1179697, 0, 10, 1179698, 0, 10, 1179699, 0, 10, 1179700, 0, 10, 1179701, 0, 10, 1179702, 0, 10, 1179703, 0, 10, 1179704, 0, 10, 1179705, 0, 10, 1179706, 0, 10, 1179707, 0, 10, 1179708, 0, 10, 1179709, 0, 10, 1179710, 0, 10, 1179711, 0, 65541, 1179712, 0, 131081, 1179713, 0, 131083, 1245184, 0, 65544, 1245185, 0, 131081, 1245186, 0, 131083, 1245225, 0, 65544, 1245226, 0, 131081, 1245227, 0, 131081, 1245228, 0, 131081, 1245229, 0, 131081, 1245230, 0, 131081, 1245231, 0, 131081, 1245232, 0, 131081, 1245233, 0, 131081, 1245234, 0, 131081, 1245235, 0, 131081, 1245236, 0, 131081, 1245237, 0, 131081, 1245238, 0, 131081, 1245239, 0, 131081, 1245240, 0, 131081, 1245241, 0, 131081, 1245242, 0, 131081, 1245243, 0, 131081, 1245244, 0, 131081, 1245245, 0, 131081, 1245246, 0, 131081, 1245247, 0, 131081, 1245248, 0, 131081, 1245249, 0, 131083, 1310720, 0, 65544, 1310721, 0, 131081, 1310722, 0, 131083, 1310729, 0, 8, 1310730, 0, 10, 1310731, 0, 11, 1310760, 0, 8, 1310761, 0, 65541, 1310762, 0, 131081, 1310763, 0, 131081, 1310764, 0, 131081, 1310765, 0, 131081, 1310766, 0, 131081, 1310767, 0, 131081, 1310768, 0, 131081, 1310769, 0, 131081, 1310770, 0, 131081, 1310771, 0, 131081, 1310772, 0, 131081, 1310773, 0, 131081, 1310774, 0, 131081, 1310775, 0, 131081, 1310776, 0, 131081, 1310777, 0, 131081, 1310778, 0, 131081, 1310779, 0, 131081, 1310780, 0, 131081, 1310781, 0, 131081, 1310782, 0, 131081, 1310783, 0, 131081, 1310784, 0, 131081, 1310785, 0, 131083, 1376256, 0, 65544, 1376257, 0, 131081, 1376258, 0, 131083, 1376264, 0, 8, 1376265, 0, 65541, 1376266, 0, 131081, 1376267, 0, 65542, 1376268, 0, 11, 1376296, 0, 65544, 1376297, 0, 131081, 1376298, 0, 131081, 1376299, 0, 131081, 1376300, 0, 131081, 1376301, 0, 131081, 1376302, 0, 131081, 1376303, 0, 131081, 1376304, 0, 131081, 1376305, 0, 131081, 1376306, 0, 131081, 1376307, 0, 131081, 1376308, 0, 131081, 1376309, 0, 131081, 1376310, 0, 131081, 1376311, 0, 131081, 1376312, 0, 131081, 1376313, 0, 131081, 1376314, 0, 131081, 1376315, 0, 131081, 1376316, 0, 131081, 1376317, 0, 131081, 1376318, 0, 131081, 1376319, 0, 131081, 1376320, 0, 131081, 1376321, 0, 131083, 1441792, 0, 65544, 1441793, 0, 131081, 1441794, 0, 65542, 1441795, 0, 10, 1441796, 0, 10, 1441797, 0, 10, 1441798, 0, 10, 1441799, 0, 10, 1441800, 0, 65541, 1441801, 0, 131081, 1441802, 0, 131081, 1441803, 0, 131081, 1441804, 0, 65542, 1441805, 0, 10, 1441806, 0, 10, 1441807, 0, 10, 1441808, 0, 10, 1441809, 0, 10, 1441810, 0, 10, 1441811, 0, 10, 1441812, 0, 10, 1441813, 0, 10, 1441814, 0, 10, 1441815, 0, 10, 1441816, 0, 10, 1441817, 0, 10, 1441818, 0, 10, 1441819, 0, 10, 1441820, 0, 10, 1441821, 0, 10, 1441822, 0, 10, 1441823, 0, 10, 1441824, 0, 10, 1441825, 0, 10, 1441826, 0, 10, 1441827, 0, 10, 1441828, 0, 10, 1441829, 0, 10, 1441830, 0, 10, 1441831, 0, 10, 1441832, 0, 65541, 1441833, 0, 131081, 1441834, 0, 131081, 1441835, 0, 131081, 1441836, 0, 131081, 1441837, 0, 131081, 1441838, 0, 131081, 1441839, 0, 131081, 1441840, 0, 131081, 1441841, 0, 131081, 1441842, 0, 131081, 1441843, 0, 131081, 1441844, 0, 131081, 1441845, 0, 131081, 1441846, 0, 131081, 1441847, 0, 131081, 1441848, 0, 131081, 1441849, 0, 131081, 1441850, 0, 131081, 1441851, 0, 131081, 1441852, 0, 131081, 1441853, 0, 131081, 1441854, 0, 131081, 1441855, 0, 131081, 1441856, 0, 131081, 1441857, 0, 131083, 1507328, 0, 65544, 1507329, 0, 131081, 1507330, 0, 131081, 1507331, 0, 131081, 1507332, 0, 131081, 1507333, 0, 131081, 1507334, 0, 131081, 1507335, 0, 131081, 1507336, 0, 131081, 1507337, 0, 131081, 1507338, 0, 131081, 1507339, 0, 131081, 1507340, 0, 131081, 1507341, 0, 131081, 1507342, 0, 131081, 1507343, 0, 131081, 1507344, 0, 131081, 1507345, 0, 131081, 1507346, 0, 131081, 1507347, 0, 131081, 1507348, 0, 131081, 1507349, 0, 131081, 1507350, 0, 131081, 1507351, 0, 131081, 1507352, 0, 131081, 1507353, 0, 131081, 1507354, 0, 131081, 1507355, 0, 131081, 1507356, 0, 131081, 1507357, 0, 131081, 1507358, 0, 131081, 1507359, 0, 131081, 1507360, 0, 131081, 1507361, 0, 131081, 1507362, 0, 131081, 1507363, 0, 131081, 1507364, 0, 131081, 1507365, 0, 131081, 1507366, 0, 131081, 1507367, 0, 131081, 1507368, 0, 131081, 1507369, 0, 131081, 1507370, 0, 131081, 1507371, 0, 131081, 1507372, 0, 131081, 1507373, 0, 131081, 1507374, 0, 131081, 1507375, 0, 131081, 1507376, 0, 131081, 1507377, 0, 131081, 1507378, 0, 131081, 1507379, 0, 131081, 1507380, 0, 131081, 1507381, 0, 131081, 1507382, 0, 131081, 1507383, 0, 131081, 1507384, 0, 131081, 1507385, 0, 131081, 1507386, 0, 131081, 1507387, 0, 131081, 1507388, 0, 131081, 1507389, 0, 131081, 1507390, 0, 131081, 1507391, 0, 131081, 1507392, 0, 131081, 1507393, 0, 131083, 1572864, 0, 196616, 1572865, 0, 196617, 1572866, 0, 196617, 1572867, 0, 196617, 1572868, 0, 196617, 1572869, 0, 196617, 1572870, 0, 196617, 1572871, 0, 196617, 1572872, 0, 196617, 1572873, 0, 196617, 1572874, 0, 196617, 1572875, 0, 196617, 1572876, 0, 196617, 1572877, 0, 196617, 1572878, 0, 196617, 1572879, 0, 196617, 1572880, 0, 196617, 1572881, 0, 196617, 1572882, 0, 196617, 1572883, 0, 196617, 1572884, 0, 196617, 1572885, 0, 196617, 1572886, 0, 196617, 1572887, 0, 196617, 1572888, 0, 196617, 1572889, 0, 196617, 1572890, 0, 196617, 1572891, 0, 196617, 1572892, 0, 196617, 1572893, 0, 196617, 1572894, 0, 196617, 1572895, 0, 196617, 1572896, 0, 196617, 1572897, 0, 196617, 1572898, 0, 196617, 1572899, 0, 196617, 1572900, 0, 196617, 1572901, 0, 196617, 1572902, 0, 196617, 1572903, 0, 196617, 1572904, 0, 196617, 1572905, 0, 196617, 1572906, 0, 196617, 1572907, 0, 196617, 1572908, 0, 196617, 1572909, 0, 196617, 1572910, 0, 196617, 1572911, 0, 196617, 1572912, 0, 196617, 1572913, 0, 196617, 1572914, 0, 196617, 1572915, 0, 196617, 1572916, 0, 196617, 1572917, 0, 196617, 1572918, 0, 196617, 1572919, 0, 196617, 1572920, 0, 196617, 1572921, 0, 196617, 1572922, 0, 196617, 1572923, 0, 196617, 1572924, 0, 196617, 1572925, 0, 196617, 1572926, 0, 196617, 1572927, 0, 196617, 1572928, 0, 196617, 1572929, 0, 196619 ) +tile_data = PoolIntArray( -655360, 0, 8, -655359, 0, 10, -655358, 0, 10, -655357, 0, 10, -655356, 0, 10, -655355, 0, 10, -655354, 0, 10, -655353, 0, 10, -655352, 0, 10, -655351, 0, 10, -655350, 0, 10, -655349, 0, 10, -655348, 0, 10, -655347, 0, 10, -655346, 0, 10, -655345, 0, 11, -655339, 0, 8, -655338, 0, 10, -655337, 0, 10, -655336, 0, 10, -655335, 0, 10, -655334, 0, 10, -655333, 0, 10, -655332, 0, 10, -655331, 0, 10, -655330, 0, 11, -589824, 0, 65544, -589823, 0, 131081, -589822, 0, 131081, -589821, 0, 131081, -589820, 0, 131081, -589819, 0, 131081, -589818, 0, 131081, -589817, 0, 131081, -589816, 0, 131081, -589815, 0, 131081, -589814, 0, 131081, -589813, 0, 131081, -589812, 0, 131081, -589811, 0, 131081, -589810, 0, 131081, -589809, 0, 131083, -589803, 0, 65544, -589802, 0, 131081, -589801, 0, 131081, -589800, 0, 131081, -589799, 0, 131081, -589798, 0, 131081, -589797, 0, 131081, -589796, 0, 131081, -589795, 0, 131081, -589794, 0, 131083, -524288, 0, 65544, -524287, 0, 131081, -524286, 0, 131081, -524285, 0, 131081, -524284, 0, 131081, -524283, 0, 131081, -524282, 0, 131081, -524281, 0, 131081, -524280, 0, 131081, -524279, 0, 131081, -524278, 0, 131081, -524277, 0, 131081, -524276, 0, 131081, -524275, 0, 131081, -524274, 0, 131081, -524273, 0, 131083, -524267, 0, 65544, -524266, 0, 131081, -524265, 0, 131081, -524264, 0, 131081, -524263, 0, 131081, -524262, 0, 131081, -524261, 0, 131081, -524260, 0, 131081, -524259, 0, 131081, -524258, 0, 131083, -458752, 0, 65544, -458751, 0, 131081, -458750, 0, 131081, -458749, 0, 131081, -458748, 0, 131081, -458747, 0, 131081, -458746, 0, 131081, -458745, 0, 131081, -458744, 0, 131081, -458743, 0, 131081, -458742, 0, 131081, -458741, 0, 131081, -458740, 0, 131081, -458739, 0, 131081, -458738, 0, 131081, -458737, 0, 131083, -458731, 0, 65544, -458730, 0, 131081, -458729, 0, 131081, -458728, 0, 131081, -458727, 0, 131081, -458726, 0, 131081, -458725, 0, 131081, -458724, 0, 131081, -458723, 0, 131081, -458722, 0, 131083, -393216, 0, 65544, -393215, 0, 131081, -393214, 0, 131081, -393213, 0, 131081, -393212, 0, 131081, -393211, 0, 131081, -393210, 0, 131081, -393209, 0, 131081, -393208, 0, 131081, -393207, 0, 131081, -393206, 0, 131081, -393205, 0, 131081, -393204, 0, 131081, -393203, 0, 131081, -393202, 0, 131081, -393201, 0, 131083, -393195, 0, 65544, -393194, 0, 131081, -393193, 0, 131081, -393192, 0, 131081, -393191, 0, 131081, -393190, 0, 131081, -393189, 0, 131081, -393188, 0, 131081, -393187, 0, 131081, -393186, 0, 131083, -327680, 0, 65544, -327679, 0, 131081, -327678, 0, 131081, -327677, 0, 131081, -327676, 0, 131081, -327675, 0, 131081, -327674, 0, 131081, -327673, 0, 131081, -327672, 0, 131081, -327671, 0, 131081, -327670, 0, 131081, -327669, 0, 131081, -327668, 0, 131081, -327667, 0, 131081, -327666, 0, 131081, -327665, 0, 131083, -327659, 0, 65544, -327658, 0, 131081, -327657, 0, 131081, -327656, 0, 131081, -327655, 0, 131081, -327654, 0, 131081, -327653, 0, 131081, -327652, 0, 131081, -327651, 0, 131081, -327650, 0, 131083, -262144, 0, 65544, -262143, 0, 131081, -262142, 0, 131081, -262141, 0, 131081, -262140, 0, 131081, -262139, 0, 131081, -262138, 0, 131081, -262137, 0, 131081, -262136, 0, 131081, -262135, 0, 131081, -262134, 0, 131081, -262133, 0, 131081, -262132, 0, 131081, -262131, 0, 131081, -262130, 0, 131081, -262129, 0, 131083, -262123, 0, 65544, -262122, 0, 131081, -262121, 0, 131081, -262120, 0, 131081, -262119, 0, 131081, -262118, 0, 131081, -262117, 0, 131081, -262116, 0, 131081, -262115, 0, 131081, -262114, 0, 131083, -196608, 0, 65544, -196607, 0, 131081, -196606, 0, 131081, -196605, 0, 131081, -196604, 0, 131081, -196603, 0, 131081, -196602, 0, 131081, -196601, 0, 131081, -196600, 0, 131081, -196599, 0, 131081, -196598, 0, 131081, -196597, 0, 131081, -196596, 0, 131081, -196595, 0, 131081, -196594, 0, 131081, -196593, 0, 131083, -196587, 0, 65544, -196586, 0, 131081, -196585, 0, 131081, -196584, 0, 131081, -196583, 0, 131081, -196582, 0, 131081, -196581, 0, 131081, -196580, 0, 131081, -196579, 0, 131081, -196578, 0, 131083, -131072, 0, 65544, -131071, 0, 131081, -131070, 0, 131081, -131069, 0, 131081, -131068, 0, 131081, -131067, 0, 131081, -131066, 0, 131081, -131065, 0, 131081, -131064, 0, 131081, -131063, 0, 131081, -131062, 0, 131081, -131061, 0, 131081, -131060, 0, 131081, -131059, 0, 131081, -131058, 0, 131081, -131057, 0, 131083, -131051, 0, 65544, -131050, 0, 131081, -131049, 0, 131081, -131048, 0, 131081, -131047, 0, 131081, -131046, 0, 131081, -131045, 0, 131081, -131044, 0, 131081, -131043, 0, 131081, -131042, 0, 131083, -65536, 0, 65544, -65535, 0, 131081, -65534, 0, 131081, -65533, 0, 131081, -65532, 0, 131081, -65531, 0, 131081, -65530, 0, 131081, -65529, 0, 131081, -65528, 0, 131081, -65527, 0, 131081, -65526, 0, 131081, -65525, 0, 131081, -65524, 0, 131081, -65523, 0, 131081, -65522, 0, 131081, -65521, 0, 131083, -65515, 0, 65544, -65514, 0, 131081, -65513, 0, 131081, -65512, 0, 131081, -65511, 0, 131081, -65510, 0, 131081, -65509, 0, 131081, -65508, 0, 131081, -65507, 0, 131081, -65506, 0, 131083, 0, 0, 65544, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131083, 21, 0, 65544, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 131083, 65536, 0, 65544, 65537, 0, 131081, 65538, 0, 131081, 65539, 0, 131081, 65540, 0, 131081, 65541, 0, 131081, 65542, 0, 131081, 65543, 0, 131081, 65544, 0, 131081, 65545, 0, 131081, 65546, 0, 131081, 65547, 0, 131081, 65548, 0, 131081, 65549, 0, 131081, 65550, 0, 131081, 65551, 0, 131083, 65557, 0, 65544, 65558, 0, 131081, 65559, 0, 131081, 65560, 0, 131081, 65561, 0, 131081, 65562, 0, 131081, 65563, 0, 131081, 65564, 0, 131081, 65565, 0, 131081, 65566, 0, 131083, 131072, 0, 65544, 131073, 0, 131081, 131074, 0, 131081, 131075, 0, 131081, 131076, 0, 131081, 131077, 0, 131081, 131078, 0, 131081, 131079, 0, 131081, 131080, 0, 131081, 131081, 0, 131081, 131082, 0, 131081, 131083, 0, 131081, 131084, 0, 131081, 131085, 0, 131081, 131086, 0, 131081, 131087, 0, 131083, 131093, 0, 65544, 131094, 0, 131081, 131095, 0, 131081, 131096, 0, 131081, 131097, 0, 131081, 131098, 0, 131081, 131099, 0, 131081, 131100, 0, 131081, 131101, 0, 131081, 131102, 0, 131083, 196608, 0, 65544, 196609, 0, 131081, 196610, 0, 131081, 196611, 0, 131081, 196612, 0, 131081, 196613, 0, 131081, 196614, 0, 131081, 196615, 0, 131081, 196616, 0, 131081, 196617, 0, 131081, 196618, 0, 131081, 196619, 0, 131081, 196620, 0, 131081, 196621, 0, 131081, 196622, 0, 131081, 196623, 0, 131083, 196629, 0, 65544, 196630, 0, 131081, 196631, 0, 131081, 196632, 0, 131081, 196633, 0, 131081, 196634, 0, 131081, 196635, 0, 131081, 196636, 0, 131081, 196637, 0, 131081, 196638, 0, 131083, 262144, 0, 65544, 262145, 0, 131081, 262146, 0, 131081, 262147, 0, 131081, 262148, 0, 131081, 262149, 0, 131081, 262150, 0, 131081, 262151, 0, 131081, 262152, 0, 131081, 262153, 0, 131081, 262154, 0, 131081, 262155, 0, 131081, 262156, 0, 131081, 262157, 0, 131081, 262158, 0, 131081, 262159, 0, 131083, 262165, 0, 65544, 262166, 0, 131081, 262167, 0, 131081, 262168, 0, 131081, 262169, 0, 131081, 262170, 0, 131081, 262171, 0, 131081, 262172, 0, 131081, 262173, 0, 131081, 262174, 0, 131083, 327680, 0, 65544, 327681, 0, 131081, 327682, 0, 131081, 327683, 0, 131081, 327684, 0, 131081, 327685, 0, 131081, 327686, 0, 131081, 327687, 0, 131081, 327688, 0, 131081, 327689, 0, 131081, 327690, 0, 131081, 327691, 0, 131081, 327692, 0, 131081, 327693, 0, 131081, 327694, 0, 131081, 327695, 0, 131083, 327701, 0, 65544, 327702, 0, 131081, 327703, 0, 131081, 327704, 0, 131081, 327705, 0, 131081, 327706, 0, 131081, 327707, 0, 131081, 327708, 0, 131081, 327709, 0, 131081, 327710, 0, 131083, 393216, 0, 65544, 393217, 0, 131081, 393218, 0, 131081, 393219, 0, 131081, 393220, 0, 131081, 393221, 0, 131081, 393222, 0, 131081, 393223, 0, 131081, 393224, 0, 131081, 393225, 0, 131081, 393226, 0, 131081, 393227, 0, 131081, 393228, 0, 131081, 393229, 0, 131081, 393230, 0, 131081, 393231, 0, 131083, 393237, 0, 65544, 393238, 0, 131081, 393239, 0, 131081, 393240, 0, 131081, 393241, 0, 131081, 393242, 0, 131081, 393243, 0, 131081, 393244, 0, 131081, 393245, 0, 131081, 393246, 0, 131083, 458752, 0, 65544, 458753, 0, 131081, 458754, 0, 131081, 458755, 0, 131081, 458756, 0, 131081, 458757, 0, 131081, 458758, 0, 131081, 458759, 0, 131081, 458760, 0, 131081, 458761, 0, 131081, 458762, 0, 131081, 458763, 0, 131081, 458764, 0, 131081, 458765, 0, 131081, 458766, 0, 131081, 458767, 0, 131083, 458773, 0, 65544, 458774, 0, 131081, 458775, 0, 131081, 458776, 0, 131081, 458777, 0, 131081, 458778, 0, 131081, 458779, 0, 131081, 458780, 0, 131081, 458781, 0, 131081, 458782, 0, 131083, 524288, 0, 65544, 524289, 0, 131081, 524290, 0, 131081, 524291, 0, 131081, 524292, 0, 131081, 524293, 0, 131081, 524294, 0, 131081, 524295, 0, 131081, 524296, 0, 131081, 524297, 0, 131081, 524298, 0, 131081, 524299, 0, 131081, 524300, 0, 131081, 524301, 0, 131081, 524302, 0, 131081, 524303, 0, 131083, 524309, 0, 65544, 524310, 0, 131081, 524311, 0, 131081, 524312, 0, 131081, 524313, 0, 131081, 524314, 0, 131081, 524315, 0, 131081, 524316, 0, 131081, 524317, 0, 131081, 524318, 0, 131083, 589824, 0, 65544, 589825, 0, 131081, 589826, 0, 131081, 589827, 0, 131081, 589828, 0, 131081, 589829, 0, 131081, 589830, 0, 131081, 589831, 0, 131081, 589832, 0, 131081, 589833, 0, 131081, 589834, 0, 131081, 589835, 0, 131081, 589836, 0, 131081, 589837, 0, 131081, 589838, 0, 131078, 589839, 0, 196619, 589845, 0, 196616, 589846, 0, 131077, 589847, 0, 131081, 589848, 0, 131081, 589849, 0, 131081, 589850, 0, 131081, 589851, 0, 131081, 589852, 0, 131081, 589853, 0, 131081, 589854, 0, 65542, 589855, 0, 10, 589856, 0, 10, 589857, 0, 10, 589858, 0, 10, 589859, 0, 10, 589860, 0, 10, 589861, 0, 10, 589862, 0, 10, 589863, 0, 10, 589864, 0, 10, 589865, 0, 10, 589866, 0, 10, 589867, 0, 10, 589868, 0, 10, 589869, 0, 10, 589870, 0, 10, 589871, 0, 10, 589872, 0, 10, 589873, 0, 10, 589874, 0, 10, 589875, 0, 10, 589876, 0, 10, 589877, 0, 10, 589878, 0, 10, 589879, 0, 10, 589880, 0, 10, 589881, 0, 10, 589882, 0, 10, 589883, 0, 10, 589884, 0, 10, 589885, 0, 10, 589886, 0, 10, 589887, 0, 10, 589888, 0, 10, 589889, 0, 11, 655360, 0, 65544, 655361, 0, 131081, 655362, 0, 131081, 655363, 0, 131081, 655364, 0, 131081, 655365, 0, 131081, 655366, 0, 131081, 655367, 0, 131081, 655368, 0, 131081, 655369, 0, 131081, 655370, 0, 131081, 655371, 0, 131081, 655372, 0, 131081, 655373, 0, 131078, 655374, 0, 196619, 655382, 0, 196616, 655383, 0, 131077, 655384, 0, 131081, 655385, 0, 131081, 655386, 0, 131081, 655387, 0, 131081, 655388, 0, 131081, 655389, 0, 131081, 655390, 0, 131081, 655391, 0, 131081, 655392, 0, 131081, 655393, 0, 131081, 655394, 0, 131081, 655395, 0, 131081, 655396, 0, 131081, 655397, 0, 131081, 655398, 0, 131081, 655399, 0, 131081, 655400, 0, 131081, 655401, 0, 131081, 655402, 0, 131081, 655403, 0, 131081, 655404, 0, 131081, 655405, 0, 131081, 655406, 0, 131081, 655407, 0, 131081, 655408, 0, 131081, 655409, 0, 131081, 655410, 0, 131081, 655411, 0, 131081, 655412, 0, 131081, 655413, 0, 131081, 655414, 0, 131081, 655415, 0, 131081, 655416, 0, 131081, 655417, 0, 131081, 655418, 0, 131081, 655419, 0, 131081, 655420, 0, 131081, 655421, 0, 131081, 655422, 0, 131081, 655423, 0, 131081, 655424, 0, 131081, 655425, 0, 131083, 720896, 0, 65544, 720897, 0, 131081, 720898, 0, 131081, 720899, 0, 131081, 720900, 0, 131081, 720901, 0, 131081, 720902, 0, 131081, 720903, 0, 131081, 720904, 0, 131081, 720905, 0, 131081, 720906, 0, 131081, 720907, 0, 131081, 720908, 0, 131078, 720909, 0, 196619, 720919, 0, 196616, 720920, 0, 131077, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131081, 720927, 0, 131081, 720928, 0, 131081, 720929, 0, 131081, 720930, 0, 131081, 720931, 0, 131081, 720932, 0, 131081, 720933, 0, 131081, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131081, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131081, 720948, 0, 131081, 720949, 0, 131081, 720950, 0, 131081, 720951, 0, 131081, 720952, 0, 131081, 720953, 0, 131081, 720954, 0, 131081, 720955, 0, 131081, 720956, 0, 131081, 720957, 0, 131081, 720958, 0, 131081, 720959, 0, 131081, 720960, 0, 131081, 720961, 0, 131083, 786432, 0, 65544, 786433, 0, 131081, 786434, 0, 131081, 786435, 0, 131081, 786436, 0, 131081, 786437, 0, 131081, 786438, 0, 131081, 786439, 0, 131081, 786440, 0, 131081, 786441, 0, 131081, 786442, 0, 131081, 786443, 0, 131078, 786444, 0, 196619, 786456, 0, 196616, 786457, 0, 196617, 786458, 0, 131077, 786459, 0, 131081, 786460, 0, 131081, 786461, 0, 131081, 786462, 0, 131081, 786463, 0, 131081, 786464, 0, 131081, 786465, 0, 131081, 786466, 0, 131081, 786467, 0, 131081, 786468, 0, 131081, 786469, 0, 131081, 786470, 0, 131081, 786471, 0, 131081, 786472, 0, 131081, 786473, 0, 131081, 786474, 0, 131081, 786475, 0, 131081, 786476, 0, 131081, 786477, 0, 131081, 786478, 0, 131081, 786479, 0, 131081, 786480, 0, 131081, 786481, 0, 131081, 786482, 0, 131081, 786483, 0, 131081, 786484, 0, 131081, 786485, 0, 131081, 786486, 0, 131081, 786487, 0, 131081, 786488, 0, 131081, 786489, 0, 131081, 786490, 0, 131081, 786491, 0, 131081, 786492, 0, 131081, 786493, 0, 131081, 786494, 0, 131081, 786495, 0, 131081, 786496, 0, 131081, 786497, 0, 131083, 851968, 0, 65544, 851969, 0, 131081, 851970, 0, 131081, 851971, 0, 131081, 851972, 0, 131081, 851973, 0, 131081, 851974, 0, 131081, 851975, 0, 131081, 851976, 0, 131081, 851977, 0, 131081, 851978, 0, 131078, 851979, 0, 196619, 851994, 0, 196616, 851995, 0, 196617, 851996, 0, 196617, 851997, 0, 196617, 851998, 0, 196617, 851999, 0, 196617, 852000, 0, 196617, 852001, 0, 196617, 852002, 0, 196617, 852003, 0, 196617, 852004, 0, 196617, 852005, 0, 196617, 852006, 0, 196617, 852007, 0, 196617, 852008, 0, 196617, 852009, 0, 196617, 852010, 0, 196617, 852011, 0, 196617, 852012, 0, 196617, 852013, 0, 196617, 852014, 0, 196617, 852015, 0, 196617, 852016, 0, 196617, 852017, 0, 196617, 852018, 0, 196617, 852019, 0, 196617, 852020, 0, 196617, 852021, 0, 196617, 852022, 0, 196617, 852023, 0, 196617, 852024, 0, 196617, 852025, 0, 196617, 852026, 0, 196617, 852027, 0, 196617, 852028, 0, 196617, 852029, 0, 196617, 852030, 0, 196617, 852031, 0, 131077, 852032, 0, 131081, 852033, 0, 131083, 917504, 0, 65544, 917505, 0, 131081, 917506, 0, 131078, 917507, 0, 196617, 917508, 0, 196617, 917509, 0, 196617, 917510, 0, 196617, 917511, 0, 196617, 917512, 0, 196617, 917513, 0, 196617, 917514, 0, 196619, 917567, 0, 65544, 917568, 0, 131081, 917569, 0, 131083, 983040, 0, 65544, 983041, 0, 131081, 983042, 0, 131083, 983103, 0, 65544, 983104, 0, 131081, 983105, 0, 131083, 1048576, 0, 65544, 1048577, 0, 131081, 1048578, 0, 131083, 1048639, 0, 65544, 1048640, 0, 131081, 1048641, 0, 131083, 1114112, 0, 65544, 1114113, 0, 131081, 1114114, 0, 131083, 1114175, 0, 65544, 1114176, 0, 131081, 1114177, 0, 131083, 1179648, 0, 65544, 1179649, 0, 131081, 1179650, 0, 131083, 1179674, 0, 8, 1179675, 0, 10, 1179676, 0, 10, 1179677, 0, 10, 1179678, 0, 10, 1179679, 0, 10, 1179680, 0, 10, 1179681, 0, 10, 1179682, 0, 10, 1179683, 0, 10, 1179684, 0, 10, 1179685, 0, 10, 1179686, 0, 10, 1179687, 0, 10, 1179688, 0, 10, 1179689, 0, 10, 1179690, 0, 10, 1179691, 0, 10, 1179692, 0, 10, 1179693, 0, 10, 1179694, 0, 10, 1179695, 0, 10, 1179696, 0, 10, 1179697, 0, 10, 1179698, 0, 10, 1179699, 0, 10, 1179700, 0, 10, 1179701, 0, 10, 1179702, 0, 10, 1179703, 0, 10, 1179704, 0, 10, 1179705, 0, 10, 1179706, 0, 10, 1179707, 0, 10, 1179708, 0, 10, 1179709, 0, 10, 1179710, 0, 10, 1179711, 0, 65541, 1179712, 0, 131081, 1179713, 0, 131083, 1245184, 0, 65544, 1245185, 0, 131081, 1245186, 0, 131083, 1245210, 0, 65544, 1245211, 0, 131081, 1245212, 0, 131081, 1245213, 0, 131081, 1245214, 0, 131081, 1245215, 0, 131081, 1245216, 0, 131081, 1245217, 0, 131081, 1245218, 0, 131081, 1245219, 0, 131081, 1245220, 0, 131081, 1245221, 0, 131081, 1245222, 0, 131081, 1245223, 0, 131081, 1245224, 0, 131081, 1245225, 0, 131081, 1245226, 0, 131081, 1245227, 0, 131081, 1245228, 0, 131081, 1245229, 0, 131081, 1245230, 0, 131081, 1245231, 0, 131081, 1245232, 0, 131081, 1245233, 0, 131081, 1245234, 0, 131081, 1245235, 0, 131081, 1245236, 0, 131081, 1245237, 0, 131081, 1245238, 0, 131081, 1245239, 0, 131081, 1245240, 0, 131081, 1245241, 0, 131081, 1245242, 0, 131081, 1245243, 0, 131081, 1245244, 0, 131081, 1245245, 0, 131081, 1245246, 0, 131081, 1245247, 0, 131081, 1245248, 0, 131081, 1245249, 0, 131083, 1310720, 0, 65544, 1310721, 0, 131081, 1310722, 0, 131083, 1310729, 0, 8, 1310730, 0, 10, 1310731, 0, 11, 1310745, 0, 8, 1310746, 0, 65541, 1310747, 0, 131081, 1310748, 0, 131081, 1310749, 0, 131081, 1310750, 0, 131081, 1310751, 0, 131081, 1310752, 0, 131081, 1310753, 0, 131081, 1310754, 0, 131081, 1310755, 0, 131081, 1310756, 0, 131081, 1310757, 0, 131081, 1310758, 0, 131081, 1310759, 0, 131081, 1310760, 0, 131081, 1310761, 0, 131081, 1310762, 0, 131081, 1310763, 0, 131081, 1310764, 0, 131081, 1310765, 0, 131081, 1310766, 0, 131081, 1310767, 0, 131081, 1310768, 0, 131081, 1310769, 0, 131081, 1310770, 0, 131081, 1310771, 0, 131081, 1310772, 0, 131081, 1310773, 0, 131081, 1310774, 0, 131081, 1310775, 0, 131081, 1310776, 0, 131081, 1310777, 0, 131081, 1310778, 0, 131081, 1310779, 0, 131081, 1310780, 0, 131081, 1310781, 0, 131081, 1310782, 0, 131081, 1310783, 0, 131081, 1310784, 0, 131081, 1310785, 0, 131083, 1376256, 0, 65544, 1376257, 0, 131081, 1376258, 0, 131083, 1376264, 0, 8, 1376265, 0, 65541, 1376266, 0, 131081, 1376267, 0, 65542, 1376268, 0, 11, 1376281, 0, 65544, 1376282, 0, 131081, 1376283, 0, 131081, 1376284, 0, 131081, 1376285, 0, 131081, 1376286, 0, 131081, 1376287, 0, 131081, 1376288, 0, 131081, 1376289, 0, 131081, 1376290, 0, 131081, 1376291, 0, 131081, 1376292, 0, 131081, 1376293, 0, 131081, 1376294, 0, 131081, 1376295, 0, 131081, 1376296, 0, 131081, 1376297, 0, 131081, 1376298, 0, 131081, 1376299, 0, 131081, 1376300, 0, 131081, 1376301, 0, 131081, 1376302, 0, 131081, 1376303, 0, 131081, 1376304, 0, 131081, 1376305, 0, 131081, 1376306, 0, 131081, 1376307, 0, 131081, 1376308, 0, 131081, 1376309, 0, 131081, 1376310, 0, 131081, 1376311, 0, 131081, 1376312, 0, 131081, 1376313, 0, 131081, 1376314, 0, 131081, 1376315, 0, 131081, 1376316, 0, 131081, 1376317, 0, 131081, 1376318, 0, 131081, 1376319, 0, 131081, 1376320, 0, 131081, 1376321, 0, 131083, 1441792, 0, 65544, 1441793, 0, 131081, 1441794, 0, 65542, 1441795, 0, 10, 1441796, 0, 10, 1441797, 0, 10, 1441798, 0, 10, 1441799, 0, 10, 1441800, 0, 65541, 1441801, 0, 131081, 1441802, 0, 131081, 1441803, 0, 131081, 1441804, 0, 65542, 1441805, 0, 10, 1441806, 0, 10, 1441807, 0, 10, 1441808, 0, 10, 1441809, 0, 10, 1441810, 0, 10, 1441811, 0, 10, 1441812, 0, 10, 1441813, 0, 10, 1441814, 0, 10, 1441815, 0, 10, 1441816, 0, 10, 1441817, 0, 65541, 1441818, 0, 131081, 1441819, 0, 131081, 1441820, 0, 131081, 1441821, 0, 131081, 1441822, 0, 131081, 1441823, 0, 131081, 1441824, 0, 131081, 1441825, 0, 131081, 1441826, 0, 131081, 1441827, 0, 131081, 1441828, 0, 131081, 1441829, 0, 131081, 1441830, 0, 131081, 1441831, 0, 131081, 1441832, 0, 131081, 1441833, 0, 131081, 1441834, 0, 131081, 1441835, 0, 131081, 1441836, 0, 131081, 1441837, 0, 131081, 1441838, 0, 131081, 1441839, 0, 131081, 1441840, 0, 131081, 1441841, 0, 131081, 1441842, 0, 131081, 1441843, 0, 131081, 1441844, 0, 131081, 1441845, 0, 131081, 1441846, 0, 131081, 1441847, 0, 131081, 1441848, 0, 131081, 1441849, 0, 131081, 1441850, 0, 131081, 1441851, 0, 131081, 1441852, 0, 131081, 1441853, 0, 131081, 1441854, 0, 131081, 1441855, 0, 131081, 1441856, 0, 131081, 1441857, 0, 131083, 1507328, 0, 65544, 1507329, 0, 131081, 1507330, 0, 131081, 1507331, 0, 131081, 1507332, 0, 131081, 1507333, 0, 131081, 1507334, 0, 131081, 1507335, 0, 131081, 1507336, 0, 131081, 1507337, 0, 131081, 1507338, 0, 131081, 1507339, 0, 131081, 1507340, 0, 131081, 1507341, 0, 131081, 1507342, 0, 131081, 1507343, 0, 131081, 1507344, 0, 131081, 1507345, 0, 131081, 1507346, 0, 131081, 1507347, 0, 131081, 1507348, 0, 131081, 1507349, 0, 131081, 1507350, 0, 131081, 1507351, 0, 131081, 1507352, 0, 131081, 1507353, 0, 131081, 1507354, 0, 131081, 1507355, 0, 131081, 1507356, 0, 131081, 1507357, 0, 131081, 1507358, 0, 131081, 1507359, 0, 131081, 1507360, 0, 131081, 1507361, 0, 131081, 1507362, 0, 131081, 1507363, 0, 131081, 1507364, 0, 131081, 1507365, 0, 131081, 1507366, 0, 131081, 1507367, 0, 131081, 1507368, 0, 131081, 1507369, 0, 131081, 1507370, 0, 131081, 1507371, 0, 131081, 1507372, 0, 131081, 1507373, 0, 131081, 1507374, 0, 131081, 1507375, 0, 131081, 1507376, 0, 131081, 1507377, 0, 131081, 1507378, 0, 131081, 1507379, 0, 131081, 1507380, 0, 131081, 1507381, 0, 131081, 1507382, 0, 131081, 1507383, 0, 131081, 1507384, 0, 131081, 1507385, 0, 131081, 1507386, 0, 131081, 1507387, 0, 131081, 1507388, 0, 131081, 1507389, 0, 131081, 1507390, 0, 131081, 1507391, 0, 131081, 1507392, 0, 131081, 1507393, 0, 131083, 1572864, 0, 196616, 1572865, 0, 196617, 1572866, 0, 196617, 1572867, 0, 196617, 1572868, 0, 196617, 1572869, 0, 196617, 1572870, 0, 196617, 1572871, 0, 196617, 1572872, 0, 196617, 1572873, 0, 196617, 1572874, 0, 196617, 1572875, 0, 196617, 1572876, 0, 196617, 1572877, 0, 196617, 1572878, 0, 196617, 1572879, 0, 196617, 1572880, 0, 196617, 1572881, 0, 196617, 1572882, 0, 196617, 1572883, 0, 196617, 1572884, 0, 196617, 1572885, 0, 196617, 1572886, 0, 196617, 1572887, 0, 196617, 1572888, 0, 196617, 1572889, 0, 196617, 1572890, 0, 196617, 1572891, 0, 196617, 1572892, 0, 196617, 1572893, 0, 196617, 1572894, 0, 196617, 1572895, 0, 196617, 1572896, 0, 196617, 1572897, 0, 196617, 1572898, 0, 196617, 1572899, 0, 196617, 1572900, 0, 196617, 1572901, 0, 196617, 1572902, 0, 196617, 1572903, 0, 196617, 1572904, 0, 196617, 1572905, 0, 196617, 1572906, 0, 196617, 1572907, 0, 196617, 1572908, 0, 196617, 1572909, 0, 196617, 1572910, 0, 196617, 1572911, 0, 196617, 1572912, 0, 196617, 1572913, 0, 196617, 1572914, 0, 196617, 1572915, 0, 196617, 1572916, 0, 196617, 1572917, 0, 196617, 1572918, 0, 196617, 1572919, 0, 196617, 1572920, 0, 196617, 1572921, 0, 196617, 1572922, 0, 196617, 1572923, 0, 196617, 1572924, 0, 196617, 1572925, 0, 196617, 1572926, 0, 196617, 1572927, 0, 196617, 1572928, 0, 196617, 1572929, 0, 196619 ) [node name="Torch" type="Node" parent="."] @@ -32,12 +32,12 @@ position = Vector2( 112, 288 ) [node name="torch2" parent="Torch" instance=ExtResource( 5 )] position = Vector2( 256, 288 ) -[node name="torch3" parent="Torch" instance=ExtResource( 5 )] -position = Vector2( 416, 288 ) - [node name="torch4" parent="Torch" instance=ExtResource( 5 )] position = Vector2( 672, 256 ) +[node name="torch6" parent="Torch" instance=ExtResource( 5 )] +position = Vector2( 480, 256 ) + [node name="torch5" parent="Torch" instance=ExtResource( 5 )] position = Vector2( 896, 256 ) @@ -47,19 +47,29 @@ position = Vector2( 324, 253 ) [node name="Enemy" type="Node" parent="."] [node name="Skeleton Enemy" parent="Enemy" instance=ExtResource( 2 )] -position = Vector2( 941, 280 ) +position = Vector2( 944, 272 ) +max_range = null +stationary = null [node name="Skeleton Enemy2" parent="Enemy" instance=ExtResource( 2 )] -position = Vector2( 829, 280 ) +position = Vector2( 656, 272 ) +max_range = null +stationary = null [node name="Skeleton Enemy3" parent="Enemy" instance=ExtResource( 2 )] -position = Vector2( 886, 280 ) +position = Vector2( 800, 272 ) +max_range = null +stationary = null [node name="Skeleton Enemy4" parent="Enemy" instance=ExtResource( 2 )] -position = Vector2( 921, 280 ) +position = Vector2( 864, 272 ) +max_range = null +stationary = null [node name="Skeleton Enemy5" parent="Enemy" instance=ExtResource( 2 )] -position = Vector2( 862, 280 ) +position = Vector2( 736, 272 ) +max_range = null +stationary = null [node name="Lever" parent="." instance=ExtResource( 4 )] position = Vector2( 984, 280 ) diff --git a/levels/Campaign/Level 2/Level 2.tscn b/levels/Campaign/Level 2/Level 2.tscn index fee7816..3adb4a6 100644 --- a/levels/Campaign/Level 2/Level 2.tscn +++ b/levels/Campaign/Level 2/Level 2.tscn @@ -3,19 +3,21 @@ [ext_resource path="res://meta/DungeonTilemap.tres" type="TileSet" id=1] [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=2] [ext_resource path="res://art/door.png" type="Texture" id=3] -[ext_resource path="res://ai/Scenes/Demon.tscn" type="PackedScene" id=4] +[ext_resource path="res://objects/torch.tscn" type="PackedScene" id=4] [ext_resource path="res://ai/Scenes/Skeleton Enemy.tscn" type="PackedScene" id=5] -[ext_resource path="res://ai/Scenes/ogre.tscn" type="PackedScene" id=6] [ext_resource path="res://levels/Campaign/Level 2/Area2D.gd" type="Script" id=7] [ext_resource path="res://objects/Door.tscn" type="PackedScene" id=8] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 1810, 13 ) +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 7, 39 ) + [node name="Level 2" type="Node"] [node name="Door" parent="." instance=ExtResource( 8 )] -position = Vector2( 2246, 144 ) +position = Vector2( 896, 64 ) [node name="door" type="Sprite" parent="."] position = Vector2( 16, 161 ) @@ -30,80 +32,52 @@ cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 0 format = 1 -tile_data = PoolIntArray( -3, 0, 8, -2, 0, 10, -1, 0, 10, -65536, 0, 10, -65535, 0, 10, -65534, 0, 10, -65533, 0, 10, -65532, 0, 10, -65531, 0, 10, -65530, 0, 10, -65529, 0, 10, -65528, 0, 10, -65527, 0, 10, -65526, 0, 10, -65525, 0, 10, -65524, 0, 10, -65523, 0, 10, -65522, 0, 10, -65521, 0, 10, -65520, 0, 10, -65519, 0, 10, -65518, 0, 10, -65517, 0, 10, -65516, 0, 10, -65515, 0, 10, -65514, 0, 10, -65513, 0, 10, -65512, 0, 10, -65511, 0, 10, -65510, 0, 10, -65509, 0, 10, -65508, 0, 10, -65507, 0, 10, -65506, 0, 10, -65505, 0, 10, -65504, 0, 10, -65503, 0, 10, -65502, 0, 10, -65501, 0, 10, -65500, 0, 10, -65499, 0, 10, -65498, 0, 10, -65497, 0, 10, -65496, 0, 10, -65495, 0, 10, -65494, 0, 10, -65493, 0, 10, -65492, 0, 10, -65491, 0, 10, -65490, 0, 10, -65489, 0, 10, -65488, 0, 10, -65487, 0, 10, -65486, 0, 10, -65485, 0, 10, -65484, 0, 10, -65483, 0, 10, -65482, 0, 10, -65481, 0, 10, -65480, 0, 10, -65479, 0, 10, -65478, 0, 10, -65477, 0, 10, -65476, 0, 10, -65475, 0, 10, -65474, 0, 10, -65473, 0, 10, -65472, 0, 10, -65471, 0, 10, -65470, 0, 10, -65469, 0, 10, -65468, 0, 10, -65467, 0, 10, -65466, 0, 10, -65465, 0, 10, -65464, 0, 10, -65463, 0, 10, -65462, 0, 10, -65461, 0, 10, -65460, 0, 10, -65459, 0, 10, -65458, 0, 10, -65457, 0, 10, -65456, 0, 10, -65455, 0, 10, -65454, 0, 10, -65453, 0, 10, -65452, 0, 10, -65451, 0, 10, -65450, 0, 10, -65449, 0, 10, -65448, 0, 10, -65447, 0, 10, -65446, 0, 10, -65445, 0, 10, -65444, 0, 10, -65443, 0, 10, -65442, 0, 10, -65441, 0, 10, -65440, 0, 10, -65439, 0, 10, -65438, 0, 10, -65437, 0, 10, -65436, 0, 10, -65435, 0, 10, -65434, 0, 10, -65433, 0, 10, -65432, 0, 10, -65431, 0, 10, -65430, 0, 10, -65429, 0, 10, -65428, 0, 10, -65427, 0, 10, -65426, 0, 10, -65425, 0, 10, -65424, 0, 10, -65423, 0, 10, -65422, 0, 10, -65421, 0, 10, -65420, 0, 10, -65419, 0, 10, -65418, 0, 10, -65417, 0, 10, -65416, 0, 10, -65415, 0, 10, -65414, 0, 10, -65413, 0, 10, -65412, 0, 10, -65411, 0, 10, -65410, 0, 10, -65409, 0, 10, -65408, 0, 10, -65407, 0, 10, -65406, 0, 10, -65405, 0, 10, -65404, 0, 10, -65403, 0, 10, -65402, 0, 10, -65401, 0, 10, -65400, 0, 10, -65399, 0, 10, -65398, 0, 10, -65397, 0, 10, -65396, 0, 10, -65395, 0, 10, -65394, 0, 10, -65393, 0, 10, -65392, 0, 11, 65533, 0, 65544, 65534, 0, 131081, 65535, 0, 131081, 0, 0, 131081, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131081, 16, 0, 131081, 17, 0, 131081, 18, 0, 131081, 19, 0, 131081, 20, 0, 131081, 21, 0, 131081, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 131081, 31, 0, 131081, 32, 0, 131081, 33, 0, 131081, 34, 0, 131081, 35, 0, 131081, 36, 0, 131081, 37, 0, 131081, 38, 0, 131081, 39, 0, 131081, 40, 0, 131081, 41, 0, 131081, 42, 0, 131081, 43, 0, 131081, 44, 0, 131081, 45, 0, 131081, 46, 0, 131081, 47, 0, 131081, 48, 0, 131081, 49, 0, 131081, 50, 0, 131081, 51, 0, 131081, 52, 0, 131081, 53, 0, 131081, 54, 0, 131081, 55, 0, 131081, 56, 0, 131081, 57, 0, 131081, 58, 0, 131081, 59, 0, 131081, 60, 0, 131081, 61, 0, 131081, 62, 0, 131081, 63, 0, 131081, 64, 0, 131081, 65, 0, 131081, 66, 0, 131081, 67, 0, 131081, 68, 0, 131081, 69, 0, 131081, 70, 0, 131081, 71, 0, 131081, 72, 0, 131081, 73, 0, 131081, 74, 0, 131081, 75, 0, 131081, 76, 0, 131081, 77, 0, 131081, 78, 0, 131081, 79, 0, 131081, 80, 0, 131081, 81, 0, 131081, 82, 0, 131081, 83, 0, 131081, 84, 0, 131081, 85, 0, 131081, 86, 0, 131081, 87, 0, 131081, 88, 0, 131081, 89, 0, 131081, 90, 0, 131081, 91, 0, 131081, 92, 0, 131081, 93, 0, 131081, 94, 0, 131081, 95, 0, 131081, 96, 0, 131081, 97, 0, 131081, 98, 0, 131081, 99, 0, 131081, 100, 0, 131081, 101, 0, 131081, 102, 0, 131081, 103, 0, 131081, 104, 0, 131081, 105, 0, 131081, 106, 0, 131081, 107, 0, 131081, 108, 0, 131081, 109, 0, 131081, 110, 0, 131081, 111, 0, 131081, 112, 0, 131081, 113, 0, 131081, 114, 0, 131081, 115, 0, 131081, 116, 0, 131081, 117, 0, 131078, 118, 0, 196617, 119, 0, 196617, 120, 0, 196617, 121, 0, 196617, 122, 0, 196617, 123, 0, 196617, 124, 0, 196617, 125, 0, 196617, 126, 0, 196617, 127, 0, 196617, 128, 0, 196617, 129, 0, 196617, 130, 0, 196617, 131, 0, 196617, 132, 0, 196617, 133, 0, 196617, 134, 0, 196617, 135, 0, 196617, 136, 0, 196617, 137, 0, 196617, 138, 0, 196617, 139, 0, 196617, 140, 0, 196617, 141, 0, 196617, 142, 0, 196617, 143, 0, 131077, 144, 0, 131083, 131069, 0, 65544, 131070, 0, 131081, 131071, 0, 131078, 65536, 0, 196617, 65537, 0, 196617, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 196617, 65556, 0, 196617, 65557, 0, 196617, 65558, 0, 196617, 65559, 0, 196617, 65560, 0, 196617, 65561, 0, 196617, 65562, 0, 196617, 65563, 0, 196617, 65564, 0, 196617, 65565, 0, 196617, 65566, 0, 196617, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 196617, 65582, 0, 196617, 65583, 0, 131077, 65584, 0, 131081, 65585, 0, 131081, 65586, 0, 131081, 65587, 0, 131081, 65588, 0, 131081, 65589, 0, 131078, 65590, 0, 196617, 65591, 0, 196617, 65592, 0, 196617, 65593, 0, 196617, 65594, 0, 196617, 65595, 0, 196617, 65596, 0, 196617, 65597, 0, 196617, 65598, 0, 196617, 65599, 0, 196617, 65600, 0, 196617, 65601, 0, 196617, 65602, 0, 196617, 65603, 0, 196617, 65604, 0, 196617, 65605, 0, 196617, 65606, 0, 196617, 65607, 0, 196617, 65608, 0, 196617, 65609, 0, 196617, 65610, 0, 196617, 65611, 0, 196617, 65612, 0, 196617, 65613, 0, 196617, 65614, 0, 196617, 65615, 0, 196617, 65616, 0, 196617, 65617, 0, 196617, 65618, 0, 196617, 65619, 0, 196617, 65620, 0, 196617, 65621, 0, 196617, 65622, 0, 196617, 65623, 0, 196617, 65624, 0, 196617, 65625, 0, 196617, 65626, 0, 196617, 65627, 0, 196617, 65628, 0, 196617, 65629, 0, 196617, 65630, 0, 196617, 65631, 0, 196617, 65632, 0, 196617, 65633, 0, 196617, 65634, 0, 196617, 65635, 0, 196617, 65636, 0, 196617, 65637, 0, 196617, 65638, 0, 196617, 65639, 0, 196617, 65640, 0, 196617, 65641, 0, 196617, 65642, 0, 196617, 65643, 0, 196617, 65644, 0, 196617, 65645, 0, 196617, 65646, 0, 196617, 65647, 0, 196617, 65648, 0, 196617, 65649, 0, 196617, 65650, 0, 196617, 65651, 0, 196617, 65652, 0, 131077, 65653, 0, 131083, 65679, 0, 65544, 65680, 0, 131083, 196605, 0, 65544, 196606, 0, 131081, 196607, 0, 131083, 131119, 0, 65544, 131120, 0, 131081, 131121, 0, 131081, 131122, 0, 131081, 131123, 0, 131081, 131124, 0, 131078, 131125, 0, 196619, 131188, 0, 65544, 131189, 0, 65547, 131190, 0, 196611, 131215, 0, 65544, 131216, 0, 131083, 262141, 0, 65544, 262142, 0, 131081, 262143, 0, 131083, 196655, 0, 65544, 196656, 0, 131081, 196657, 0, 131081, 196658, 0, 131081, 196659, 0, 131078, 196660, 0, 196619, 196724, 0, 65544, 196725, 0, 131083, 196751, 0, 65544, 196752, 0, 131083, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131083, 262191, 0, 65544, 262192, 0, 131081, 262193, 0, 131081, 262194, 0, 131078, 262195, 0, 196619, 262260, 0, 65544, 262261, 0, 65547, 262262, 0, 196611, 262287, 0, 65544, 262288, 0, 131083, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131083, 327727, 0, 65544, 327728, 0, 131081, 327729, 0, 131078, 327730, 0, 196619, 327796, 0, 65544, 327797, 0, 131083, 327823, 0, 65544, 327824, 0, 131083, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131083, 393263, 0, 65544, 393264, 0, 131078, 393265, 0, 196619, 393332, 0, 65544, 393333, 0, 65547, 393334, 0, 196611, 393359, 0, 65544, 393360, 0, 131083, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131083, 458799, 0, 196616, 458800, 0, 196619, 458868, 0, 65544, 458869, 0, 131083, 458895, 0, 65544, 458896, 0, 131083, 589821, 0, 65544, 589822, 0, 131081, 589823, 0, 131083, 524404, 0, 65544, 524405, 0, 65547, 524406, 0, 196611, 524431, 0, 65544, 524432, 0, 131083, 655357, 0, 65544, 655358, 0, 131081, 655359, 0, 131083, 589866, 0, 0, 589940, 0, 196616, 589941, 0, 196619, 589967, 0, 65544, 589968, 0, 131083, 720893, 0, 65544, 720894, 0, 131081, 720895, 0, 131083, 655395, 0, 0, 655400, 0, 0, 655402, 0, 65536, 655503, 0, 65544, 655504, 0, 131083, 786429, 0, 65544, 786430, 0, 131081, 786431, 0, 65542, 720896, 0, 10, 720897, 0, 10, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 10, 720911, 0, 10, 720912, 0, 10, 720913, 0, 10, 720914, 0, 10, 720915, 0, 10, 720916, 0, 10, 720917, 0, 10, 720918, 0, 10, 720919, 0, 10, 720920, 0, 10, 720921, 0, 10, 720922, 0, 10, 720923, 0, 10, 720924, 0, 10, 720925, 0, 11, 720928, 0, 0, 720931, 0, 65536, 720934, 0, 0, 720936, 0, 65536, 720938, 0, 65536, 720940, 0, 0, 720943, 0, 8, 720944, 0, 10, 720945, 0, 10, 720946, 0, 10, 720947, 0, 10, 720948, 0, 10, 720949, 0, 10, 720950, 0, 10, 720951, 0, 10, 720952, 0, 10, 720953, 0, 10, 720954, 0, 10, 720955, 0, 10, 720956, 0, 10, 720957, 0, 10, 720958, 0, 10, 720959, 0, 10, 720960, 0, 10, 720961, 0, 10, 720962, 0, 10, 720963, 0, 10, 720964, 0, 10, 720965, 0, 10, 720966, 0, 10, 720967, 0, 10, 720968, 0, 10, 720969, 0, 10, 720970, 0, 10, 720971, 0, 10, 720972, 0, 10, 720973, 0, 10, 720974, 0, 10, 720975, 0, 11, 720982, 0, 8, 720983, 0, 10, 720984, 0, 10, 720985, 0, 10, 720986, 0, 10, 720987, 0, 10, 720988, 0, 10, 720989, 0, 10, 720990, 0, 11, 720992, 0, 8, 720993, 0, 10, 720994, 0, 10, 720995, 0, 10, 720996, 0, 10, 720997, 0, 10, 720998, 0, 10, 720999, 0, 10, 721000, 0, 10, 721001, 0, 10, 721002, 0, 10, 721003, 0, 10, 721004, 0, 10, 721005, 0, 10, 721006, 0, 10, 721007, 0, 10, 721008, 0, 10, 721009, 0, 10, 721010, 0, 10, 721011, 0, 10, 721012, 0, 10, 721013, 0, 10, 721014, 0, 10, 721015, 0, 10, 721016, 0, 10, 721017, 0, 10, 721018, 0, 10, 721019, 0, 10, 721020, 0, 10, 721021, 0, 10, 721022, 0, 10, 721023, 0, 10, 721024, 0, 10, 721025, 0, 10, 721026, 0, 10, 721027, 0, 10, 721028, 0, 10, 721029, 0, 10, 721030, 0, 10, 721031, 0, 10, 721032, 0, 10, 721033, 0, 10, 721034, 0, 10, 721035, 0, 10, 721036, 0, 10, 721037, 0, 10, 721038, 0, 10, 721039, 0, 65541, 721040, 0, 131083, 851965, 0, 196616, 851966, 0, 196617, 851967, 0, 196617, 786432, 0, 196617, 786433, 0, 196617, 786434, 0, 196617, 786435, 0, 196617, 786436, 0, 196617, 786437, 0, 196617, 786438, 0, 196617, 786439, 0, 196617, 786440, 0, 196617, 786441, 0, 196617, 786442, 0, 196617, 786443, 0, 196617, 786444, 0, 196617, 786445, 0, 196617, 786446, 0, 196617, 786447, 0, 196617, 786448, 0, 196617, 786449, 0, 196617, 786450, 0, 196617, 786451, 0, 196617, 786452, 0, 196617, 786453, 0, 196617, 786454, 0, 196617, 786455, 0, 196617, 786456, 0, 196617, 786457, 0, 196617, 786458, 0, 196617, 786459, 0, 196617, 786460, 0, 196617, 786461, 0, 196619, 786464, 0, 131072, 786467, 0, 131072, 786470, 0, 131072, 786472, 0, 131072, 786474, 0, 131072, 786476, 0, 131072, 786479, 0, 196616, 786480, 0, 196617, 786481, 0, 196617, 786482, 0, 196617, 786483, 0, 196617, 786484, 0, 196617, 786485, 0, 196617, 786486, 0, 196617, 786487, 0, 196617, 786488, 0, 196617, 786489, 0, 196617, 786490, 0, 196617, 786491, 0, 196617, 786492, 0, 196617, 786493, 0, 196617, 786494, 0, 196617, 786495, 0, 196617, 786496, 0, 196617, 786497, 0, 196617, 786498, 0, 196617, 786499, 0, 196617, 786500, 0, 196617, 786501, 0, 196617, 786502, 0, 196617, 786503, 0, 196617, 786504, 0, 196617, 786505, 0, 196617, 786506, 0, 196617, 786507, 0, 196617, 786508, 0, 196617, 786509, 0, 196617, 786510, 0, 196617, 786511, 0, 196619, 786518, 0, 196616, 786519, 0, 196617, 786520, 0, 196617, 786521, 0, 196617, 786522, 0, 196617, 786523, 0, 196617, 786524, 0, 196617, 786525, 0, 196617, 786526, 0, 196619, 786528, 0, 196616, 786529, 0, 196617, 786530, 0, 196617, 786531, 0, 196617, 786532, 0, 196617, 786533, 0, 196617, 786534, 0, 196617, 786535, 0, 196617, 786536, 0, 196617, 786537, 0, 196617, 786538, 0, 196617, 786539, 0, 196617, 786540, 0, 196617, 786541, 0, 196617, 786542, 0, 196617, 786543, 0, 196617, 786544, 0, 196617, 786545, 0, 196617, 786546, 0, 196617, 786547, 0, 196617, 786548, 0, 196617, 786549, 0, 196617, 786550, 0, 196617, 786551, 0, 196617, 786552, 0, 196617, 786553, 0, 196617, 786554, 0, 196617, 786555, 0, 196617, 786556, 0, 196617, 786557, 0, 196617, 786558, 0, 196617, 786559, 0, 196617, 786560, 0, 196617, 786561, 0, 196617, 786562, 0, 196617, 786563, 0, 196617, 786564, 0, 196617, 786565, 0, 196617, 786566, 0, 196617, 786567, 0, 196617, 786568, 0, 196617, 786569, 0, 196617, 786570, 0, 196617, 786571, 0, 196617, 786572, 0, 196617, 786573, 0, 196617, 786574, 0, 196617, 786575, 0, 196617, 786576, 0, 196619 ) +tile_data = PoolIntArray( -3, 0, 8, -2, 0, 10, -1, 0, 10, -65536, 0, 10, -65535, 0, 10, -65534, 0, 10, -65533, 0, 10, -65532, 0, 10, -65531, 0, 10, -65530, 0, 10, -65529, 0, 10, -65528, 0, 10, -65527, 0, 10, -65526, 0, 10, -65525, 0, 10, -65524, 0, 10, -65523, 0, 10, -65522, 0, 10, -65521, 0, 10, -65520, 0, 10, -65519, 0, 10, -65518, 0, 10, -65517, 0, 10, -65516, 0, 10, -65515, 0, 10, -65514, 0, 10, -65513, 0, 10, -65512, 0, 10, -65511, 0, 10, -65510, 0, 10, -65509, 0, 10, -65508, 0, 10, -65507, 0, 10, -65506, 0, 10, -65505, 0, 10, -65504, 0, 10, -65503, 0, 10, -65502, 0, 10, -65501, 0, 10, -65500, 0, 10, -65499, 0, 10, -65498, 0, 10, -65497, 0, 10, -65496, 0, 10, -65495, 0, 10, -65494, 0, 10, -65493, 0, 10, -65492, 0, 10, -65491, 0, 10, -65490, 0, 10, -65489, 0, 10, -65488, 0, 10, -65487, 0, 10, -65486, 0, 10, -65485, 0, 10, -65484, 0, 10, -65483, 0, 10, -65482, 0, 10, -65481, 0, 10, -65480, 0, 10, -65479, 0, 10, -65478, 0, 10, -65477, 0, 10, -65476, 0, 11, 65533, 0, 65544, 65534, 0, 131081, 65535, 0, 131081, 0, 0, 131081, 1, 0, 131081, 2, 0, 131081, 3, 0, 131081, 4, 0, 131081, 5, 0, 131081, 6, 0, 131081, 7, 0, 131081, 8, 0, 131081, 9, 0, 131081, 10, 0, 131081, 11, 0, 131081, 12, 0, 131081, 13, 0, 131081, 14, 0, 131081, 15, 0, 131081, 16, 0, 131081, 17, 0, 131081, 18, 0, 131081, 19, 0, 131081, 20, 0, 131081, 21, 0, 131081, 22, 0, 131081, 23, 0, 131081, 24, 0, 131081, 25, 0, 131081, 26, 0, 131081, 27, 0, 131081, 28, 0, 131081, 29, 0, 131081, 30, 0, 131081, 31, 0, 131081, 32, 0, 131081, 33, 0, 131081, 34, 0, 131081, 35, 0, 131081, 36, 0, 131081, 37, 0, 131081, 38, 0, 131081, 39, 0, 131081, 40, 0, 131081, 41, 0, 131081, 42, 0, 131081, 43, 0, 131081, 44, 0, 131081, 45, 0, 131081, 46, 0, 131081, 47, 0, 131081, 48, 0, 131081, 49, 0, 131081, 50, 0, 131081, 51, 0, 131081, 52, 0, 131081, 53, 0, 131081, 54, 0, 131081, 55, 0, 131081, 56, 0, 131081, 57, 0, 131081, 58, 0, 131081, 59, 0, 131081, 60, 0, 131083, 131069, 0, 65544, 131070, 0, 131081, 131071, 0, 131078, 65536, 0, 196617, 65537, 0, 196617, 65538, 0, 196617, 65539, 0, 196617, 65540, 0, 196617, 65541, 0, 196617, 65542, 0, 196617, 65543, 0, 196617, 65544, 0, 196617, 65545, 0, 196617, 65546, 0, 196617, 65547, 0, 196617, 65548, 0, 196617, 65549, 0, 196617, 65550, 0, 196617, 65551, 0, 196617, 65552, 0, 196617, 65553, 0, 196617, 65554, 0, 196617, 65555, 0, 196617, 65556, 0, 196617, 65557, 0, 196617, 65558, 0, 196617, 65559, 0, 196617, 65560, 0, 196617, 65561, 0, 196617, 65562, 0, 196617, 65563, 0, 196617, 65564, 0, 196617, 65565, 0, 196617, 65566, 0, 196617, 65567, 0, 196617, 65568, 0, 196617, 65569, 0, 196617, 65570, 0, 196617, 65571, 0, 196617, 65572, 0, 196617, 65573, 0, 196617, 65574, 0, 196617, 65575, 0, 196617, 65576, 0, 196617, 65577, 0, 196617, 65578, 0, 196617, 65579, 0, 196617, 65580, 0, 196617, 65581, 0, 196617, 65582, 0, 196617, 65583, 0, 196617, 65584, 0, 196617, 65585, 0, 196617, 65586, 0, 196617, 65587, 0, 196617, 65588, 0, 196617, 65589, 0, 196617, 65590, 0, 196617, 65591, 0, 196617, 65592, 0, 196617, 65593, 0, 196617, 65594, 0, 131077, 65595, 0, 131081, 65596, 0, 131083, 196605, 0, 65544, 196606, 0, 131081, 196607, 0, 131083, 131130, 0, 65544, 131131, 0, 131081, 131132, 0, 131083, 262141, 0, 65544, 262142, 0, 131081, 262143, 0, 131083, 196666, 0, 65544, 196667, 0, 131081, 196668, 0, 131083, 327677, 0, 65544, 327678, 0, 131081, 327679, 0, 131083, 262202, 0, 65544, 262203, 0, 131081, 262204, 0, 131083, 393213, 0, 65544, 393214, 0, 131081, 393215, 0, 131083, 327738, 0, 65544, 327739, 0, 131081, 327740, 0, 131083, 458749, 0, 65544, 458750, 0, 131081, 458751, 0, 131083, 393234, 0, 8, 393235, 0, 10, 393236, 0, 10, 393237, 0, 10, 393238, 0, 10, 393239, 0, 10, 393240, 0, 10, 393241, 0, 10, 393242, 0, 10, 393243, 0, 10, 393244, 0, 10, 393245, 0, 11, 393251, 0, 8, 393252, 0, 11, 393266, 0, 8, 393267, 0, 10, 393268, 0, 10, 393269, 0, 10, 393270, 0, 10, 393271, 0, 10, 393272, 0, 10, 393273, 0, 10, 393274, 0, 65541, 393275, 0, 131081, 393276, 0, 131083, 524285, 0, 65544, 524286, 0, 131081, 524287, 0, 131083, 458769, 0, 8, 458770, 0, 65541, 458771, 0, 131081, 458772, 0, 131081, 458773, 0, 131081, 458774, 0, 131081, 458775, 0, 131081, 458776, 0, 131081, 458777, 0, 131081, 458778, 0, 131081, 458779, 0, 131081, 458780, 0, 131081, 458781, 0, 131083, 458783, 0, 8, 458784, 0, 11, 458787, 0, 65544, 458788, 0, 131083, 458792, 0, 8, 458793, 0, 11, 458802, 0, 65544, 458803, 0, 131081, 458804, 0, 131081, 458805, 0, 131081, 458806, 0, 131081, 458807, 0, 131081, 458808, 0, 131078, 458809, 0, 196617, 458810, 0, 196617, 458811, 0, 196617, 458812, 0, 196619, 589821, 0, 65544, 589822, 0, 131081, 589823, 0, 131083, 524304, 0, 8, 524305, 0, 65541, 524306, 0, 131081, 524307, 0, 131081, 524308, 0, 131081, 524309, 0, 131081, 524310, 0, 131081, 524311, 0, 131081, 524312, 0, 131081, 524313, 0, 131081, 524314, 0, 131081, 524315, 0, 131081, 524316, 0, 131081, 524317, 0, 131083, 524319, 0, 65544, 524320, 0, 131083, 524323, 0, 65544, 524324, 0, 131083, 524328, 0, 65544, 524329, 0, 131083, 524334, 0, 8, 524335, 0, 11, 524338, 0, 65544, 524339, 0, 131081, 524340, 0, 131081, 524341, 0, 131081, 524342, 0, 131081, 524343, 0, 131078, 524344, 0, 196619, 655357, 0, 65544, 655358, 0, 131081, 655359, 0, 131083, 589839, 0, 8, 589840, 0, 65541, 589841, 0, 131081, 589842, 0, 131081, 589843, 0, 131081, 589844, 0, 131081, 589845, 0, 131081, 589846, 0, 131081, 589847, 0, 131081, 589848, 0, 131081, 589849, 0, 131081, 589850, 0, 131081, 589851, 0, 131081, 589852, 0, 131081, 589853, 0, 65542, 589854, 0, 10, 589855, 0, 65541, 589856, 0, 65542, 589857, 0, 10, 589858, 0, 10, 589859, 0, 65541, 589860, 0, 65542, 589861, 0, 10, 589862, 0, 10, 589863, 0, 10, 589864, 0, 65541, 589865, 0, 131083, 589870, 0, 65544, 589871, 0, 131083, 589874, 0, 65544, 589875, 0, 131081, 589876, 0, 131081, 589877, 0, 131081, 589878, 0, 131078, 589879, 0, 196619, 720893, 0, 65544, 720894, 0, 131081, 720895, 0, 131083, 655374, 0, 8, 655375, 0, 65541, 655376, 0, 131081, 655377, 0, 131081, 655378, 0, 131081, 655379, 0, 131081, 655380, 0, 131081, 655381, 0, 131081, 655382, 0, 131081, 655383, 0, 131081, 655384, 0, 131081, 655385, 0, 131081, 655386, 0, 131081, 655387, 0, 131081, 655388, 0, 131081, 655389, 0, 131081, 655390, 0, 131081, 655391, 0, 131081, 655392, 0, 131081, 655393, 0, 131081, 655394, 0, 131081, 655395, 0, 131081, 655396, 0, 131081, 655397, 0, 131081, 655398, 0, 131081, 655399, 0, 131081, 655400, 0, 131081, 655401, 0, 65542, 655402, 0, 10, 655403, 0, 10, 655404, 0, 10, 655405, 0, 10, 655406, 0, 65541, 655407, 0, 65542, 655408, 0, 10, 655409, 0, 10, 655410, 0, 65541, 655411, 0, 131081, 655412, 0, 131081, 655413, 0, 131078, 655414, 0, 196619, 786429, 0, 65544, 786430, 0, 131081, 786431, 0, 65542, 720896, 0, 10, 720897, 0, 10, 720898, 0, 10, 720899, 0, 10, 720900, 0, 10, 720901, 0, 10, 720902, 0, 10, 720903, 0, 10, 720904, 0, 10, 720905, 0, 10, 720906, 0, 10, 720907, 0, 10, 720908, 0, 10, 720909, 0, 10, 720910, 0, 65541, 720911, 0, 131081, 720912, 0, 131081, 720913, 0, 131081, 720914, 0, 131081, 720915, 0, 131081, 720916, 0, 131081, 720917, 0, 131081, 720918, 0, 131081, 720919, 0, 131081, 720920, 0, 131081, 720921, 0, 131081, 720922, 0, 131081, 720923, 0, 131081, 720924, 0, 131081, 720925, 0, 131081, 720926, 0, 131081, 720927, 0, 131081, 720928, 0, 131081, 720929, 0, 131081, 720930, 0, 131081, 720931, 0, 131081, 720932, 0, 131081, 720933, 0, 131081, 720934, 0, 131081, 720935, 0, 131081, 720936, 0, 131081, 720937, 0, 131081, 720938, 0, 131081, 720939, 0, 131081, 720940, 0, 131081, 720941, 0, 131081, 720942, 0, 131081, 720943, 0, 131081, 720944, 0, 131081, 720945, 0, 131081, 720946, 0, 131081, 720947, 0, 131081, 720948, 0, 131078, 720949, 0, 196619, 851965, 0, 65544, 851966, 0, 131081, 851967, 0, 131081, 786432, 0, 131081, 786433, 0, 131081, 786434, 0, 131081, 786435, 0, 131081, 786436, 0, 131081, 786437, 0, 131081, 786438, 0, 131081, 786439, 0, 131081, 786440, 0, 131081, 786441, 0, 131081, 786442, 0, 131081, 786443, 0, 131081, 786444, 0, 131081, 786445, 0, 131081, 786446, 0, 131081, 786447, 0, 131081, 786448, 0, 131081, 786449, 0, 131081, 786450, 0, 131081, 786451, 0, 131081, 786452, 0, 131081, 786453, 0, 131081, 786454, 0, 131081, 786455, 0, 131081, 786456, 0, 131081, 786457, 0, 131081, 786458, 0, 131081, 786459, 0, 131081, 786460, 0, 131081, 786461, 0, 131081, 786462, 0, 131081, 786463, 0, 131081, 786464, 0, 131081, 786465, 0, 131081, 786466, 0, 131081, 786467, 0, 131081, 786468, 0, 131081, 786469, 0, 131081, 786470, 0, 131081, 786471, 0, 131081, 786472, 0, 131081, 786473, 0, 131081, 786474, 0, 131081, 786475, 0, 131081, 786476, 0, 131081, 786477, 0, 131081, 786478, 0, 131081, 786479, 0, 131081, 786480, 0, 131081, 786481, 0, 131081, 786482, 0, 131081, 786483, 0, 131078, 786484, 0, 196619, 917501, 0, 196616, 917502, 0, 196617, 917503, 0, 196617, 851968, 0, 196617, 851969, 0, 196617, 851970, 0, 196617, 851971, 0, 196617, 851972, 0, 196617, 851973, 0, 196617, 851974, 0, 196617, 851975, 0, 196617, 851976, 0, 196617, 851977, 0, 196617, 851978, 0, 196617, 851979, 0, 196617, 851980, 0, 196617, 851981, 0, 196617, 851982, 0, 196617, 851983, 0, 196617, 851984, 0, 196617, 851985, 0, 196617, 851986, 0, 196617, 851987, 0, 196617, 851988, 0, 196617, 851989, 0, 196617, 851990, 0, 196617, 851991, 0, 196617, 851992, 0, 196617, 851993, 0, 196617, 851994, 0, 196617, 851995, 0, 196617, 851996, 0, 196617, 851997, 0, 196617, 851998, 0, 196617, 851999, 0, 196617, 852000, 0, 196617, 852001, 0, 196617, 852002, 0, 196617, 852003, 0, 196617, 852004, 0, 196617, 852005, 0, 196617, 852006, 0, 196617, 852007, 0, 196617, 852008, 0, 196617, 852009, 0, 196617, 852010, 0, 196617, 852011, 0, 196617, 852012, 0, 196617, 852013, 0, 196617, 852014, 0, 196617, 852015, 0, 196617, 852016, 0, 196617, 852017, 0, 196617, 852018, 0, 196617, 852019, 0, 196619 ) -[node name="Skeleton Enemy" parent="TileMap" instance=ExtResource( 5 )] -position = Vector2( 1582, 161 ) +[node name="Node" type="Node" parent="."] + +[node name="torch" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 64, 112 ) + +[node name="torch2" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 208, 64 ) + +[node name="torch3" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 400, 64 ) + +[node name="torch4" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 608, 64 ) + +[node name="torch6" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 880, 64 ) + +[node name="torch5" parent="Node" instance=ExtResource( 4 )] +position = Vector2( 752, 64 ) [node name="Player" parent="." instance=ExtResource( 2 )] position = Vector2( 108, 164 ) -[node name="Enemies" type="Node" parent="."] - -[node name="Demon" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 952, 163 ) - -[node name="Skeleton Enemy" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 295, 165 ) - -[node name="Ogre" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 330, 171 ) - -[node name="Skeleton Enemy2" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1154, 165 ) - -[node name="Skeleton Enemy3" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1240, 167 ) - -[node name="Skeleton Enemy4" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1240, 167 ) - -[node name="Demon2" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1385, 167 ) - -[node name="Ogre3" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 1660, 173 ) - -[node name="Demon3" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1896, 87 ) - -[node name="Demon4" parent="Enemies" instance=ExtResource( 4 )] -position = Vector2( 1896, 20 ) - -[node name="Ogre2" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 1198, 169 ) - -[node name="Ogre4" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2162, 166 ) - -[node name="Ogre5" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2097, 167 ) - -[node name="Ogre6" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2209, 170 ) - -[node name="Ogre7" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2027, 168 ) - -[node name="Ogre8" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2054, 168 ) - -[node name="Ogre9" parent="Enemies" instance=ExtResource( 6 )] -position = Vector2( 2128, 167 ) - -[node name="Skeleton Enemy5" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1895, 120 ) - -[node name="Skeleton Enemy6" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1893, 55 ) - -[node name="Skeleton Enemy7" parent="Enemies" instance=ExtResource( 5 )] -position = Vector2( 1893, 55 ) - [node name="Area2D" type="Area2D" parent="."] script = ExtResource( 7 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 1610, 259 ) shape = SubResource( 1 ) + +[node name="Skeleton Enemy" parent="." instance=ExtResource( 5 )] +position = Vector2( 843, 85 ) +max_range = 999999 +stationary = true + +[node name="CanvasModulate" type="CanvasModulate" parent="."] +color = Color( 0.564706, 0.564706, 0.564706, 1 ) + +[node name="StaticBody2D" type="StaticBody2D" parent="."] +position = Vector2( 843, 64 ) +collision_layer = 0 +collision_mask = 4 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] +position = Vector2( -20, 0 ) +shape = SubResource( 2 ) [connection signal="body_entered" from="Area2D" to="Area2D" method="_on_Area2D_body_entered"] diff --git a/magic/Projectiles/EcoProjectile.tscn b/magic/Projectiles/EcoProjectile.tscn index b08f532..f47fe8c 100644 --- a/magic/Projectiles/EcoProjectile.tscn +++ b/magic/Projectiles/EcoProjectile.tscn @@ -8,6 +8,7 @@ radius = 6.08276 [node name="EcoProjectile" type="KinematicBody2D"] +scale = Vector2( 1.5, 1.5 ) collision_layer = 8 collision_mask = 6 script = ExtResource( 2 ) diff --git a/magic/Wands/ChargedWand.gd b/magic/Wands/ChargedWand.gd index 3bbadc6..7a588e9 100644 --- a/magic/Wands/ChargedWand.gd +++ b/magic/Wands/ChargedWand.gd @@ -7,11 +7,10 @@ var projectile = null onready var ChargeTimer: Timer = $ChargeTimer func fire(p): - print(p) projectile = p if ChargeTimer.is_stopped(): ChargeTimer.start() - if charge_level == 0: + if charge_level == 0 and p != null: var temp = p.instance() get_tree().current_scene.add_child(temp) var energy = temp.energy_cost @@ -27,7 +26,7 @@ func _on_ChargeTimer_timeout(): func _input(event): if event.is_action_released("shoot"): ChargeTimer.stop() - if charge_level <= 0: + if charge_level <= 0 or projectile == null: charge_level = 0 return var temp = projectile.instance() diff --git a/objects/Door.gd b/objects/Door.gd index bcf7b2a..12c0e52 100644 --- a/objects/Door.gd +++ b/objects/Door.gd @@ -11,7 +11,6 @@ func _process(delta): $Label.text = "F to Open" if Input.is_action_just_pressed("open"): Player.current_scene = next_scene - print(Player.current_scene) get_tree().change_scene(""+next_scene+"") else: $Label.text = "Locked"