diff --git a/config.jsonc b/config.jsonc index 6ad5e0e9..b807d55b 100644 --- a/config.jsonc +++ b/config.jsonc @@ -60,6 +60,11 @@ "aliases": [], "categories": [] }, + "Abandoned 2": { + "path": "abandoned-2", + "aliases": [], + "categories": [] + }, "Ages of Conflict": { "path": "ages-of-conflict", "aliases": [], diff --git a/games/abandoned-2/fonts/font.png b/games/abandoned-2/fonts/font.png new file mode 100644 index 00000000..6f4ef4c3 Binary files /dev/null and b/games/abandoned-2/fonts/font.png differ diff --git a/games/abandoned-2/fonts/font.xml b/games/abandoned-2/fonts/font.xml new file mode 100644 index 00000000..81ca8ef6 --- /dev/null +++ b/games/abandoned-2/fonts/font.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/games/abandoned-2/fonts/rough-draft.ttf b/games/abandoned-2/fonts/rough-draft.ttf new file mode 100644 index 00000000..f4fa9afc Binary files /dev/null and b/games/abandoned-2/fonts/rough-draft.ttf differ diff --git a/games/abandoned-2/images/animations/cr3/cr3_light.png b/games/abandoned-2/images/animations/cr3/cr3_light.png new file mode 100644 index 00000000..9991643a Binary files /dev/null and b/games/abandoned-2/images/animations/cr3/cr3_light.png differ diff --git a/games/abandoned-2/images/animations/cr3/glass.png b/games/abandoned-2/images/animations/cr3/glass.png new file mode 100644 index 00000000..40db6dac Binary files /dev/null and b/games/abandoned-2/images/animations/cr3/glass.png differ diff --git a/games/abandoned-2/images/animations/dep/dep02/dep02cylinder.png b/games/abandoned-2/images/animations/dep/dep02/dep02cylinder.png new file mode 100644 index 00000000..26c44caf Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep02/dep02cylinder.png differ diff --git a/games/abandoned-2/images/animations/dep/dep02/dep02hatch1.png b/games/abandoned-2/images/animations/dep/dep02/dep02hatch1.png new file mode 100644 index 00000000..1ab2e88f Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep02/dep02hatch1.png differ diff --git a/games/abandoned-2/images/animations/dep/dep02/dep02hatch2.png b/games/abandoned-2/images/animations/dep/dep02/dep02hatch2.png new file mode 100644 index 00000000..33515ac3 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep02/dep02hatch2.png differ diff --git a/games/abandoned-2/images/animations/dep/dep02/dep02hatchshadow.png b/games/abandoned-2/images/animations/dep/dep02/dep02hatchshadow.png new file mode 100644 index 00000000..775619da Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep02/dep02hatchshadow.png differ diff --git a/games/abandoned-2/images/animations/dep/dep02/mask.png b/games/abandoned-2/images/animations/dep/dep02/mask.png new file mode 100644 index 00000000..b4074c0a Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep02/mask.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06btnoff.png b/games/abandoned-2/images/animations/dep/dep06/dep06btnoff.png new file mode 100644 index 00000000..065e8458 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06btnoff.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06btnon.png b/games/abandoned-2/images/animations/dep/dep06/dep06btnon.png new file mode 100644 index 00000000..c70a6749 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06btnon.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06iconoff.png b/games/abandoned-2/images/animations/dep/dep06/dep06iconoff.png new file mode 100644 index 00000000..07e2a698 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06iconoff.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06iconon.png b/games/abandoned-2/images/animations/dep/dep06/dep06iconon.png new file mode 100644 index 00000000..629e9288 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06iconon.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06pipka.png b/games/abandoned-2/images/animations/dep/dep06/dep06pipka.png new file mode 100644 index 00000000..25359d2f Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06pipka.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06skull.png b/games/abandoned-2/images/animations/dep/dep06/dep06skull.png new file mode 100644 index 00000000..5869fba7 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06skull.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/dep06skullfill.png b/games/abandoned-2/images/animations/dep/dep06/dep06skullfill.png new file mode 100644 index 00000000..f1e67ab3 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/dep06skullfill.png differ diff --git a/games/abandoned-2/images/animations/dep/dep06/mask.png b/games/abandoned-2/images/animations/dep/dep06/mask.png new file mode 100644 index 00000000..99d61242 Binary files /dev/null and b/games/abandoned-2/images/animations/dep/dep06/mask.png differ diff --git a/games/abandoned-2/images/animations/el/bg1.png b/games/abandoned-2/images/animations/el/bg1.png new file mode 100644 index 00000000..d303368b Binary files /dev/null and b/games/abandoned-2/images/animations/el/bg1.png differ diff --git a/games/abandoned-2/images/animations/el/bg2.png b/games/abandoned-2/images/animations/el/bg2.png new file mode 100644 index 00000000..56d89c5f Binary files /dev/null and b/games/abandoned-2/images/animations/el/bg2.png differ diff --git a/games/abandoned-2/images/animations/el/bg3.png b/games/abandoned-2/images/animations/el/bg3.png new file mode 100644 index 00000000..fe3d2a47 Binary files /dev/null and b/games/abandoned-2/images/animations/el/bg3.png differ diff --git a/games/abandoned-2/images/animations/el/bg4.png b/games/abandoned-2/images/animations/el/bg4.png new file mode 100644 index 00000000..67c4901a Binary files /dev/null and b/games/abandoned-2/images/animations/el/bg4.png differ diff --git a/games/abandoned-2/images/animations/el/door/el_door.png b/games/abandoned-2/images/animations/el/door/el_door.png new file mode 100644 index 00000000..bfaf41a7 Binary files /dev/null and b/games/abandoned-2/images/animations/el/door/el_door.png differ diff --git a/games/abandoned-2/images/animations/el/door/mask.png b/games/abandoned-2/images/animations/el/door/mask.png new file mode 100644 index 00000000..ad5a6110 Binary files /dev/null and b/games/abandoned-2/images/animations/el/door/mask.png differ diff --git a/games/abandoned-2/images/animations/el/el_btn.png b/games/abandoned-2/images/animations/el/el_btn.png new file mode 100644 index 00000000..1db961f9 Binary files /dev/null and b/games/abandoned-2/images/animations/el/el_btn.png differ diff --git a/games/abandoned-2/images/animations/el/el_btn_broken.png b/games/abandoned-2/images/animations/el/el_btn_broken.png new file mode 100644 index 00000000..957276ab Binary files /dev/null and b/games/abandoned-2/images/animations/el/el_btn_broken.png differ diff --git a/games/abandoned-2/images/animations/el/el_btn_pressed.png b/games/abandoned-2/images/animations/el/el_btn_pressed.png new file mode 100644 index 00000000..5ef05beb Binary files /dev/null and b/games/abandoned-2/images/animations/el/el_btn_pressed.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_1.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_1.png new file mode 100644 index 00000000..43c52509 Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_1.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_1to2.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_1to2.png new file mode 100644 index 00000000..9c01ddf9 Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_1to2.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_2.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_2.png new file mode 100644 index 00000000..68fa1876 Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_2.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_2to3.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_2to3.png new file mode 100644 index 00000000..06990a96 Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_2to3.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_3.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_3.png new file mode 100644 index 00000000..a55b8e8b Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_3.png differ diff --git a/games/abandoned-2/images/animations/el/indicator/el_indicator_off.png b/games/abandoned-2/images/animations/el/indicator/el_indicator_off.png new file mode 100644 index 00000000..dfc50ee0 Binary files /dev/null and b/games/abandoned-2/images/animations/el/indicator/el_indicator_off.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_0.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_0.png new file mode 100644 index 00000000..c32dde34 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_1.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_1.png new file mode 100644 index 00000000..0adbe9bc Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_10.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_10.png new file mode 100644 index 00000000..4ad8ae10 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_10.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_2.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_2.png new file mode 100644 index 00000000..0b80c7e3 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_3.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_3.png new file mode 100644 index 00000000..4e1b488c Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_4.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_4.png new file mode 100644 index 00000000..3af2f260 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_5.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_5.png new file mode 100644 index 00000000..b1d27c83 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_6.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_6.png new file mode 100644 index 00000000..b9068fd6 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_7.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_7.png new file mode 100644 index 00000000..31cf3226 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_8.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_8.png new file mode 100644 index 00000000..e3546e29 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/el/opening/skeleton-opening_9.png b/games/abandoned-2/images/animations/el/opening/skeleton-opening_9.png new file mode 100644 index 00000000..5e541a24 Binary files /dev/null and b/games/abandoned-2/images/animations/el/opening/skeleton-opening_9.png differ diff --git a/games/abandoned-2/images/animations/flp/flp02/flp02_battery.png b/games/abandoned-2/images/animations/flp/flp02/flp02_battery.png new file mode 100644 index 00000000..fb9ac627 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp02/flp02_battery.png differ diff --git a/games/abandoned-2/images/animations/flp/flp02/flp02_laser_device.png b/games/abandoned-2/images/animations/flp/flp02/flp02_laser_device.png new file mode 100644 index 00000000..11d85e63 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp02/flp02_laser_device.png differ diff --git a/games/abandoned-2/images/animations/flp/flp02/flp02_lens.png b/games/abandoned-2/images/animations/flp/flp02/flp02_lens.png new file mode 100644 index 00000000..a3352985 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp02/flp02_lens.png differ diff --git a/games/abandoned-2/images/animations/flp/flp02/flp02_light.png b/games/abandoned-2/images/animations/flp/flp02/flp02_light.png new file mode 100644 index 00000000..ca1c246f Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp02/flp02_light.png differ diff --git a/games/abandoned-2/images/animations/flp/flp03/flp03_light.png b/games/abandoned-2/images/animations/flp/flp03/flp03_light.png new file mode 100644 index 00000000..695c17d2 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp03/flp03_light.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_0.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_0.png new file mode 100644 index 00000000..f65e1c62 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_0.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_1.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_1.png new file mode 100644 index 00000000..1568afac Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_1.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_10.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_10.png new file mode 100644 index 00000000..be8cfba8 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_10.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_11.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_11.png new file mode 100644 index 00000000..af535231 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_11.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_12.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_12.png new file mode 100644 index 00000000..56828754 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_12.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_13.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_13.png new file mode 100644 index 00000000..099db704 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_13.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_2.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_2.png new file mode 100644 index 00000000..a33a12dd Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_2.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_3.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_3.png new file mode 100644 index 00000000..67b53811 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_3.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_4.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_4.png new file mode 100644 index 00000000..08484a8f Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_4.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_5.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_5.png new file mode 100644 index 00000000..eda3126f Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_5.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_6.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_6.png new file mode 100644 index 00000000..b5aca157 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_6.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_7.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_7.png new file mode 100644 index 00000000..1e9de9ad Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_7.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_8.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_8.png new file mode 100644 index 00000000..d2642b30 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_8.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_9.png b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_9.png new file mode 100644 index 00000000..2e899ee4 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/lever/to_on/skeleton-to_on_9.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_creen_device.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_creen_device.png new file mode 100644 index 00000000..d59820ce Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_creen_device.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery.png new file mode 100644 index 00000000..33f0c96c Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery_on.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery_on.png new file mode 100644 index 00000000..04fe0291 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_battery_on.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_bolt.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_bolt.png new file mode 100644 index 00000000..2cc70924 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_bolt.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens.png new file mode 100644 index 00000000..a363adc9 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens_on.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens_on.png new file mode 100644 index 00000000..6c4333e0 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_lens_on.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_scheme.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_scheme.png new file mode 100644 index 00000000..4aa77d83 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screen_scheme.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screens.png b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screens.png new file mode 100644 index 00000000..c4051321 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/screen/flp04_screens.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_0.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_0.png new file mode 100644 index 00000000..0114df13 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_1.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_1.png new file mode 100644 index 00000000..036d4565 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_2.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_2.png new file mode 100644 index 00000000..4adb81ae Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_3.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_3.png new file mode 100644 index 00000000..c235c581 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_4.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_4.png new file mode 100644 index 00000000..5e2b1980 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_5.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_5.png new file mode 100644 index 00000000..3e69b311 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_6.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_6.png new file mode 100644 index 00000000..3c4d18d5 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_7.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_7.png new file mode 100644 index 00000000..daaf0e0d Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_8.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_8.png new file mode 100644 index 00000000..f71801d7 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/flp/flp04/shelf_door_locked/skeleton-locked_0.png b/games/abandoned-2/images/animations/flp/flp04/shelf_door_locked/skeleton-locked_0.png new file mode 100644 index 00000000..aca3cc5a Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp04/shelf_door_locked/skeleton-locked_0.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/door/flp05_door.png b/games/abandoned-2/images/animations/flp/flp05/door/flp05_door.png new file mode 100644 index 00000000..ec42faec Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/door/flp05_door.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/door/mask.png b/games/abandoned-2/images/animations/flp/flp05/door/mask.png new file mode 100644 index 00000000..9943cf88 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/door/mask.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_closed.png b/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_closed.png new file mode 100644 index 00000000..806394b7 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_closed.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_opened.png b/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_opened.png new file mode 100644 index 00000000..643633f8 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/flp05_box_cover_opened.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/arrow2.png b/games/abandoned-2/images/animations/flp/flp05/lock/arrow2.png new file mode 100644 index 00000000..440717c0 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/arrow2.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_bg.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_bg.png new file mode 100644 index 00000000..2a67bdd8 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_bg.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line0.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line0.png new file mode 100644 index 00000000..40991f73 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line0.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line1.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line1.png new file mode 100644 index 00000000..48c44b74 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line1.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line2.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line2.png new file mode 100644 index 00000000..6f40c0d2 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line2.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line3.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line3.png new file mode 100644 index 00000000..096e6165 Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line3.png differ diff --git a/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line4.png b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line4.png new file mode 100644 index 00000000..65a9001b Binary files /dev/null and b/games/abandoned-2/images/animations/flp/flp05/lock/flp05_safe_line4.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_0.png new file mode 100644 index 00000000..ee2f77c4 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_1.png new file mode 100644 index 00000000..b4897ecf Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_10.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_10.png new file mode 100644 index 00000000..55e3494b Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_10.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_2.png new file mode 100644 index 00000000..0dd3a92c Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_3.png new file mode 100644 index 00000000..b6be46ad Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_4.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_4.png new file mode 100644 index 00000000..98a6575f Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_5.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_5.png new file mode 100644 index 00000000..8d528d41 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_6.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_6.png new file mode 100644 index 00000000..9e302f57 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_7.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_7.png new file mode 100644 index 00000000..f51f9b02 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_8.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_8.png new file mode 100644 index 00000000..d042b4c6 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_9.png b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_9.png new file mode 100644 index 00000000..34e32dd4 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/door/skeleton-opening_9.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_lamp1.png b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_lamp1.png new file mode 100644 index 00000000..1ca9c226 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_lamp1.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign1.png b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign1.png new file mode 100644 index 00000000..16a0eb69 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign1.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign2.png b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign2.png new file mode 100644 index 00000000..0d48ecee Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign2.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign3.png b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign3.png new file mode 100644 index 00000000..4c888d5d Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign3.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign4.png b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign4.png new file mode 100644 index 00000000..ff40ba05 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/signs/hthf01_sign4.png differ diff --git a/games/abandoned-2/images/animations/htf/htf01/tile/hthf01_tile11.png b/games/abandoned-2/images/animations/htf/htf01/tile/hthf01_tile11.png new file mode 100644 index 00000000..5a70e80a Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf01/tile/hthf01_tile11.png differ diff --git a/games/abandoned-2/images/animations/htf/htf02/hthf02_shadow.png b/games/abandoned-2/images/animations/htf/htf02/hthf02_shadow.png new file mode 100644 index 00000000..23b21b20 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf02/hthf02_shadow.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_black.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_black.png new file mode 100644 index 00000000..d5df4ddd Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_black.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_green.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_green.png new file mode 100644 index 00000000..ea790f25 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_indicator_green.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_scheme.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_scheme.png new file mode 100644 index 00000000..277c1ed9 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_scheme.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2.png new file mode 100644 index 00000000..16e4f99e Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2_.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2_.png new file mode 100644 index 00000000..beb691a8 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green2_.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3.png new file mode 100644 index 00000000..0124cc39 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3_.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3_.png new file mode 100644 index 00000000..83e39db5 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green3_.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4.png new file mode 100644 index 00000000..2c3512ea Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4_.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4_.png new file mode 100644 index 00000000..40af7856 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green4_.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5.png new file mode 100644 index 00000000..93be9d0f Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5_.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5_.png new file mode 100644 index 00000000..0ed795fa Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_sign_green5_.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_off.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_off.png new file mode 100644 index 00000000..9dd73f59 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_off.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_on.png b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_on.png new file mode 100644 index 00000000..fb3346da Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/box/htf_box_switch_on.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/htf_box_bottom.png b/games/abandoned-2/images/animations/htf/htf03/htf_box_bottom.png new file mode 100644 index 00000000..940a5da4 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/htf_box_bottom.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_closed2.png b/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_closed2.png new file mode 100644 index 00000000..9183389e Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_closed2.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_opened.png b/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_opened.png new file mode 100644 index 00000000..fb1321ee Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/htf_box_cover_opened.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/hthf03_box_closed.png b/games/abandoned-2/images/animations/htf/htf03/hthf03_box_closed.png new file mode 100644 index 00000000..5dd3e0a1 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/hthf03_box_closed.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/hthf03_box_opened.png b/games/abandoned-2/images/animations/htf/htf03/hthf03_box_opened.png new file mode 100644 index 00000000..c5718ee8 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/hthf03_box_opened.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/hthf03_shadow.png b/games/abandoned-2/images/animations/htf/htf03/hthf03_shadow.png new file mode 100644 index 00000000..b2ccf1c4 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/hthf03_shadow.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_off.png b/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_off.png new file mode 100644 index 00000000..98a236c6 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_off.png differ diff --git a/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_on.png b/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_on.png new file mode 100644 index 00000000..ff1844c3 Binary files /dev/null and b/games/abandoned-2/images/animations/htf/htf03/hthf03_switch_on.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign.png b/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign.png new file mode 100644 index 00000000..88729a17 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign_on.png b/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign_on.png new file mode 100644 index 00000000..3da1bc60 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0004/intr0004_sign_on.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator.png b/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator.png new file mode 100644 index 00000000..9b6dcb80 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator_on.png b/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator_on.png new file mode 100644 index 00000000..34edf793 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0006/intr0006_rotator_on.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0007/intr0007_hatch.png b/games/abandoned-2/images/animations/intr/intr0007/intr0007_hatch.png new file mode 100644 index 00000000..bd53d3b8 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0007/intr0007_hatch.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0007/intr0007_pipe1.png b/games/abandoned-2/images/animations/intr/intr0007/intr0007_pipe1.png new file mode 100644 index 00000000..3071cae8 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0007/intr0007_pipe1.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator.png b/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator.png new file mode 100644 index 00000000..fcf6185b Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator_on.png b/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator_on.png new file mode 100644 index 00000000..9190a8e1 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0007/intr0007_rotator_on.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_0.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_0.png new file mode 100644 index 00000000..207a4ab5 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_0.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_1.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_1.png new file mode 100644 index 00000000..1b88f46d Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_1.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_10.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_10.png new file mode 100644 index 00000000..f00283ee Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_10.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_11.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_11.png new file mode 100644 index 00000000..a8a5549e Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_11.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_12.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_12.png new file mode 100644 index 00000000..9181377c Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_12.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_13.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_13.png new file mode 100644 index 00000000..80e0c66a Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_13.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_14.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_14.png new file mode 100644 index 00000000..4d6b240b Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_14.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_15.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_15.png new file mode 100644 index 00000000..8a3ea8e8 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_15.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_16.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_16.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_16.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_17.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_17.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_17.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_18.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_18.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_18.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_19.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_19.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_19.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_2.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_2.png new file mode 100644 index 00000000..a838b4c6 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_2.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_20.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_20.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_20.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_21.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_21.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_21.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_22.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_22.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_22.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_23.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_23.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_23.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_24.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_24.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_24.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_25.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_25.png new file mode 100644 index 00000000..00c6d522 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_25.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_3.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_3.png new file mode 100644 index 00000000..5782f847 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_3.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_4.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_4.png new file mode 100644 index 00000000..794e11f7 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_4.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_5.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_5.png new file mode 100644 index 00000000..410dd464 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_5.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_6.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_6.png new file mode 100644 index 00000000..81b44f8a Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_6.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_7.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_7.png new file mode 100644 index 00000000..2349cce2 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_7.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_8.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_8.png new file mode 100644 index 00000000..43304d48 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_8.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_9.png b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_9.png new file mode 100644 index 00000000..11520f83 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0010/skeleton-closing_9.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_0.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_0.png new file mode 100644 index 00000000..d520f396 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_0.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_1.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_1.png new file mode 100644 index 00000000..1639e8ba Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_1.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_2.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_2.png new file mode 100644 index 00000000..ec149d20 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_2.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_3.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_3.png new file mode 100644 index 00000000..2a000ab7 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_3.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_4.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_4.png new file mode 100644 index 00000000..40eb5374 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_4.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_5.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_5.png new file mode 100644 index 00000000..b213805c Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_5.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_6.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_6.png new file mode 100644 index 00000000..777574c5 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_6.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_7.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_7.png new file mode 100644 index 00000000..d434df2e Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_7.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_8.png b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_8.png new file mode 100644 index 00000000..48fcae5a Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0101/skeleton-closing_8.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_0.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_0.png new file mode 100644 index 00000000..56bfc43e Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_1.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_1.png new file mode 100644 index 00000000..5ffa198e Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_2.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_2.png new file mode 100644 index 00000000..7ec86f6c Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_3.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_3.png new file mode 100644 index 00000000..d96f7f05 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_4.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_4.png new file mode 100644 index 00000000..5f23f993 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_5.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_5.png new file mode 100644 index 00000000..179700e2 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_6.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_6.png new file mode 100644 index 00000000..826a63fd Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_7.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_7.png new file mode 100644 index 00000000..0a13ca25 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_8.png b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_8.png new file mode 100644 index 00000000..d62dc570 Binary files /dev/null and b/games/abandoned-2/images/animations/intr/intr0401/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_box.png b/games/abandoned-2/images/animations/k7/box/7kA_box.png new file mode 100644 index 00000000..698b0887 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_box.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7.png new file mode 100644 index 00000000..ec18e630 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_1.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_1.png new file mode 100644 index 00000000..af7c3e54 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_1.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_2.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_2.png new file mode 100644 index 00000000..eea623cf Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_2.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_3.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_3.png new file mode 100644 index 00000000..ef8157bb Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_3.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_4.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_4.png new file mode 100644 index 00000000..f950623e Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_4.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_5.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_5.png new file mode 100644 index 00000000..6290145f Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_5.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_6.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_6.png new file mode 100644 index 00000000..87efba97 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_6.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_indicator7_7.png b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_7.png new file mode 100644 index 00000000..f94948b4 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_indicator7_7.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_keyplace.png b/games/abandoned-2/images/animations/k7/box/7kA_keyplace.png new file mode 100644 index 00000000..2ba01dd9 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_keyplace.png differ diff --git a/games/abandoned-2/images/animations/k7/box/7kA_keyplace_2.png b/games/abandoned-2/images/animations/k7/box/7kA_keyplace_2.png new file mode 100644 index 00000000..e86ef737 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/7kA_keyplace_2.png differ diff --git a/games/abandoned-2/images/animations/k7/box/mask.png b/games/abandoned-2/images/animations/k7/box/mask.png new file mode 100644 index 00000000..02213564 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/mask.png differ diff --git a/games/abandoned-2/images/animations/k7/box/mask2.png b/games/abandoned-2/images/animations/k7/box/mask2.png new file mode 100644 index 00000000..996fa70d Binary files /dev/null and b/games/abandoned-2/images/animations/k7/box/mask2.png differ diff --git a/games/abandoned-2/images/animations/k7/cube/7kA_cube.png b/games/abandoned-2/images/animations/k7/cube/7kA_cube.png new file mode 100644 index 00000000..6d56efca Binary files /dev/null and b/games/abandoned-2/images/animations/k7/cube/7kA_cube.png differ diff --git a/games/abandoned-2/images/animations/k7/cube/7kB_cube.png b/games/abandoned-2/images/animations/k7/cube/7kB_cube.png new file mode 100644 index 00000000..95dcda6f Binary files /dev/null and b/games/abandoned-2/images/animations/k7/cube/7kB_cube.png differ diff --git a/games/abandoned-2/images/animations/k7/door/7kA_door.png b/games/abandoned-2/images/animations/k7/door/7kA_door.png new file mode 100644 index 00000000..0102beb6 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/door/7kA_door.png differ diff --git a/games/abandoned-2/images/animations/k7/door/7kB_door.png b/games/abandoned-2/images/animations/k7/door/7kB_door.png new file mode 100644 index 00000000..d057eb45 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/door/7kB_door.png differ diff --git a/games/abandoned-2/images/animations/k7/door/mask.png b/games/abandoned-2/images/animations/k7/door/mask.png new file mode 100644 index 00000000..65828953 Binary files /dev/null and b/games/abandoned-2/images/animations/k7/door/mask.png differ diff --git a/games/abandoned-2/images/animations/k7/door/mask2.png b/games/abandoned-2/images/animations/k7/door/mask2.png new file mode 100644 index 00000000..3be88cce Binary files /dev/null and b/games/abandoned-2/images/animations/k7/door/mask2.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_0.png new file mode 100644 index 00000000..0e7b6ac9 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_1.png new file mode 100644 index 00000000..1615309d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_2.png new file mode 100644 index 00000000..a7fdbdb8 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_3.png new file mode 100644 index 00000000..3565ee95 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_4.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_4.png new file mode 100644 index 00000000..53733554 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_5.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_5.png new file mode 100644 index 00000000..14eb0378 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_6.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_6.png new file mode 100644 index 00000000..a3f5570d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_7.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_7.png new file mode 100644 index 00000000..8a55a8d8 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_8.png b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_8.png new file mode 100644 index 00000000..7e29f0a8 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/door/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_0.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_0.png new file mode 100644 index 00000000..08da4607 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_1.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_1.png new file mode 100644 index 00000000..9c45c123 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_2.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_2.png new file mode 100644 index 00000000..d9cebb05 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_3.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_3.png new file mode 100644 index 00000000..5a88de9d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_4.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_4.png new file mode 100644 index 00000000..a81bf4c3 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_5.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_5.png new file mode 100644 index 00000000..f6e119b4 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_6.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_6.png new file mode 100644 index 00000000..fbf10dd1 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_7.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_7.png new file mode 100644 index 00000000..d769f4f3 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_8.png b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_8.png new file mode 100644 index 00000000..061caf92 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/frames/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_closed.png b/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_closed.png new file mode 100644 index 00000000..7e547456 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_closed.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_opened.png b/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_opened.png new file mode 100644 index 00000000..d532cab7 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/hatch/lch01_hatch_opened.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign.png b/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign.png new file mode 100644 index 00000000..e43cffe6 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign_on.png b/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign_on.png new file mode 100644 index 00000000..62c750e0 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lch01_secret_sign_on.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_0.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_0.png new file mode 100644 index 00000000..0b65b4b3 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_0.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_1.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_1.png new file mode 100644 index 00000000..7e7727dd Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_1.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_10.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_10.png new file mode 100644 index 00000000..ccad7129 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_10.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_11.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_11.png new file mode 100644 index 00000000..38e600a8 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_11.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_12.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_12.png new file mode 100644 index 00000000..8851e7c2 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_12.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_13.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_13.png new file mode 100644 index 00000000..98cd7541 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_13.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_14.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_14.png new file mode 100644 index 00000000..ff90c067 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_14.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_15.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_15.png new file mode 100644 index 00000000..0b65b4b3 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_15.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_2.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_2.png new file mode 100644 index 00000000..869f6cce Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_2.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_3.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_3.png new file mode 100644 index 00000000..77c6ae05 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_3.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_4.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_4.png new file mode 100644 index 00000000..2998db66 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_4.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_5.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_5.png new file mode 100644 index 00000000..67e48704 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_5.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_6.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_6.png new file mode 100644 index 00000000..2f16437d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_6.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_7.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_7.png new file mode 100644 index 00000000..2e7f8dc5 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_7.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_8.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_8.png new file mode 100644 index 00000000..b465eba1 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_8.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_9.png b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_9.png new file mode 100644 index 00000000..963119ba Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/lever/skeleton-on_off_9.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_bg.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_bg.png new file mode 100644 index 00000000..fe2037a4 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_bg.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_0.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_0.png new file mode 100644 index 00000000..4fb92a76 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_0.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_1.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_1.png new file mode 100644 index 00000000..7b3dd4a3 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_1.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_2.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_2.png new file mode 100644 index 00000000..2c2fa3dd Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_2.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_3.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_3.png new file mode 100644 index 00000000..73fddc7a Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_3.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_4.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_4.png new file mode 100644 index 00000000..36f6cf95 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_4.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_5.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_5.png new file mode 100644 index 00000000..f55e5e4f Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_5.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_6.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_6.png new file mode 100644 index 00000000..4ed831db Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_6.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_7.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_7.png new file mode 100644 index 00000000..44ec7fdd Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_7.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_8.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_8.png new file mode 100644 index 00000000..2a75424e Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_8.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_9.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_9.png new file mode 100644 index 00000000..052979e7 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_btn_9.png differ diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.json b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.json new file mode 100644 index 00000000..7e9dcd1e --- /dev/null +++ b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.json @@ -0,0 +1,100 @@ +{"frames": [ + { + "filename": "n1", + "frame": {"x":0,"y":0,"w":18,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":18,"h":64}, + "sourceSize": {"w":18,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n2", + "frame": {"x":18,"y":0,"w":38,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":18,"y":0,"w":38,"h":64}, + "sourceSize": {"w":38,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n3", + "frame": {"x":56,"y":0,"w":34,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":56,"y":0,"w":34,"h":64}, + "sourceSize": {"w":34,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n4", + "frame": {"x":90,"y":0,"w":38,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":90,"y":0,"w":38,"h":64}, + "sourceSize": {"w":38,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n5", + "frame": {"x":128,"y":0,"w":37,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":128,"y":0,"w":37,"h":64}, + "sourceSize": {"w":37,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n6", + "frame": {"x":165,"y":0,"w":34,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":165,"y":0,"w":34,"h":64}, + "sourceSize": {"w":34,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n7", + "frame": {"x":199,"y":0,"w":37,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":199,"y":0,"w":37,"h":64}, + "sourceSize": {"w":37,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n8", + "frame": {"x":238,"y":0,"w":37,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":238,"y":0,"w":37,"h":64}, + "sourceSize": {"w":37,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n9", + "frame": {"x":279,"y":0,"w":37,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":279,"y":0,"w":37,"h":64}, + "sourceSize": {"w":37,"h":64}, + "pivot": {"x":0.5,"y":0.5} + }, + { + "filename": "n0", + "frame": {"x":320,"y":0,"w":39,"h":64}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":320,"y":0,"w":39,"h":64}, + "sourceSize": {"w":39,"h":64}, + "pivot": {"x":0.5,"y":0.5} + } +], +"meta": { + "version": "1.0", + "image": "lch01_panel_numbers.png", + "format": "RGBA8888", + "size": {"w":359,"h":64}, + "scale": "1" +} +} diff --git a/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.png b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.png new file mode 100644 index 00000000..695316c6 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch01/panel/lch01_panel_numbers.png differ diff --git a/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_green.png b/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_green.png new file mode 100644 index 00000000..463f7c6b Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_green.png differ diff --git a/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_red.png b/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_red.png new file mode 100644 index 00000000..8727809d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch02/lch02_lamp_red.png differ diff --git a/games/abandoned-2/images/animations/lch/lch02/lch02_switch.png b/games/abandoned-2/images/animations/lch/lch02/lch02_switch.png new file mode 100644 index 00000000..c2be173d Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch02/lch02_switch.png differ diff --git a/games/abandoned-2/images/animations/lch/lch02/lch02_switch_on.png b/games/abandoned-2/images/animations/lch/lch02/lch02_switch_on.png new file mode 100644 index 00000000..b2835d2a Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch02/lch02_switch_on.png differ diff --git a/games/abandoned-2/images/animations/lch/lch03/lch03_door_thing.png b/games/abandoned-2/images/animations/lch/lch03/lch03_door_thing.png new file mode 100644 index 00000000..947dec96 Binary files /dev/null and b/games/abandoned-2/images/animations/lch/lch03/lch03_door_thing.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_0.png new file mode 100644 index 00000000..eb686880 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_1.png new file mode 100644 index 00000000..3ef20f07 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_2.png new file mode 100644 index 00000000..15491316 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_3.png new file mode 100644 index 00000000..b374bc25 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_4.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_4.png new file mode 100644 index 00000000..ee0286cf Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_5.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_5.png new file mode 100644 index 00000000..5c745073 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_6.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_6.png new file mode 100644 index 00000000..355e7433 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_7.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_7.png new file mode 100644 index 00000000..97f3b4a0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_8.png b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_8.png new file mode 100644 index 00000000..a190d824 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/door/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/os/os01/os01_btn.png b/games/abandoned-2/images/animations/os/os01/os01_btn.png new file mode 100644 index 00000000..0080f6c0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/os01_btn.png differ diff --git a/games/abandoned-2/images/animations/os/os01/os01_secret.png b/games/abandoned-2/images/animations/os/os01/os01_secret.png new file mode 100644 index 00000000..1aeed41a Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/os01_secret.png differ diff --git a/games/abandoned-2/images/animations/os/os01/os01_secret_bg.png b/games/abandoned-2/images/animations/os/os01/os01_secret_bg.png new file mode 100644 index 00000000..6fa6679d Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/os01_secret_bg.png differ diff --git a/games/abandoned-2/images/animations/os/os01/os01_wires.png b/games/abandoned-2/images/animations/os/os01/os01_wires.png new file mode 100644 index 00000000..22cb8912 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os01/os01_wires.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_0.png new file mode 100644 index 00000000..32872f5b Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_1.png new file mode 100644 index 00000000..492be6aa Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_10.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_10.png new file mode 100644 index 00000000..ef18c579 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_10.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_11.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_11.png new file mode 100644 index 00000000..62c2849d Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_11.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_12.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_12.png new file mode 100644 index 00000000..171e771a Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_12.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_13.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_13.png new file mode 100644 index 00000000..848ec3f8 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_13.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_2.png new file mode 100644 index 00000000..e237c084 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_3.png new file mode 100644 index 00000000..9ec84688 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_4.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_4.png new file mode 100644 index 00000000..1bf3dd75 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_5.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_5.png new file mode 100644 index 00000000..840bf484 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_6.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_6.png new file mode 100644 index 00000000..4121eb3f Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_7.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_7.png new file mode 100644 index 00000000..ecd7b11a Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_8.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_8.png new file mode 100644 index 00000000..f949b22a Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_9.png b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_9.png new file mode 100644 index 00000000..efe2b136 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/door/skeleton-opening_9.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_l2.png b/games/abandoned-2/images/animations/os/os02/os02_btn_l2.png new file mode 100644 index 00000000..13769a77 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_l2.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_l_unpressed2.png b/games/abandoned-2/images/animations/os/os02/os02_btn_l_unpressed2.png new file mode 100644 index 00000000..23faf3f7 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_l_unpressed2.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_r2.png b/games/abandoned-2/images/animations/os/os02/os02_btn_r2.png new file mode 100644 index 00000000..b630b157 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_r2.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_r_unpressed2.png b/games/abandoned-2/images/animations/os/os02/os02_btn_r_unpressed2.png new file mode 100644 index 00000000..4a1f9700 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_r_unpressed2.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_start_off.png b/games/abandoned-2/images/animations/os/os02/os02_btn_start_off.png new file mode 100644 index 00000000..57adb1e0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_start_off.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_btn_start_on.png b/games/abandoned-2/images/animations/os/os02/os02_btn_start_on.png new file mode 100644 index 00000000..656c920e Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_btn_start_on.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_closed_door.png b/games/abandoned-2/images/animations/os/os02/os02_closed_door.png new file mode 100644 index 00000000..7cc3c663 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_closed_door.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_1_off.png b/games/abandoned-2/images/animations/os/os02/os02_ind_1_off.png new file mode 100644 index 00000000..ac10e04b Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_1_off.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_1_on.png b/games/abandoned-2/images/animations/os/os02/os02_ind_1_on.png new file mode 100644 index 00000000..541a39a3 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_1_on.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_3_off.png b/games/abandoned-2/images/animations/os/os02/os02_ind_3_off.png new file mode 100644 index 00000000..a83183c5 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_3_off.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_3_on.png b/games/abandoned-2/images/animations/os/os02/os02_ind_3_on.png new file mode 100644 index 00000000..7fd006d8 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_3_on.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_7_off.png b/games/abandoned-2/images/animations/os/os02/os02_ind_7_off.png new file mode 100644 index 00000000..73a0a378 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_7_off.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_ind_7_on.png b/games/abandoned-2/images/animations/os/os02/os02_ind_7_on.png new file mode 100644 index 00000000..4f5c3e3d Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_ind_7_on.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_light.png b/games/abandoned-2/images/animations/os/os02/os02_light.png new file mode 100644 index 00000000..c277c242 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_light.png differ diff --git a/games/abandoned-2/images/animations/os/os02/os02_system.png b/games/abandoned-2/images/animations/os/os02/os02_system.png new file mode 100644 index 00000000..2f888ed2 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os02/os02_system.png differ diff --git a/games/abandoned-2/images/animations/os/os03/os03_door.png b/games/abandoned-2/images/animations/os/os03/os03_door.png new file mode 100644 index 00000000..53b4fac5 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os03/os03_door.png differ diff --git a/games/abandoned-2/images/animations/os/os03/os03_platband.png b/games/abandoned-2/images/animations/os/os03/os03_platband.png new file mode 100644 index 00000000..03a6f4ae Binary files /dev/null and b/games/abandoned-2/images/animations/os/os03/os03_platband.png differ diff --git a/games/abandoned-2/images/animations/os/os04/indicator_minus.png b/games/abandoned-2/images/animations/os/os04/indicator_minus.png new file mode 100644 index 00000000..02151c92 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/indicator_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/indicator_off.png b/games/abandoned-2/images/animations/os/os04/indicator_off.png new file mode 100644 index 00000000..e26d47fa Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/indicator_off.png differ diff --git a/games/abandoned-2/images/animations/os/os04/indicator_plus.png b/games/abandoned-2/images/animations/os/os04/indicator_plus.png new file mode 100644 index 00000000..ac3a02e3 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/indicator_plus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_0.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_0.png new file mode 100644 index 00000000..c8e8b850 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_0.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_1.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_1.png new file mode 100644 index 00000000..02e597b8 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_1.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_2.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_2.png new file mode 100644 index 00000000..6dc02761 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_2.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_3.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_3.png new file mode 100644 index 00000000..bf549b60 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_3.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_4.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_4.png new file mode 100644 index 00000000..a22dea72 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_4.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_5.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_5.png new file mode 100644 index 00000000..8236a9ce Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_5.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_6.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_6.png new file mode 100644 index 00000000..d47568eb Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_6.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_7.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_7.png new file mode 100644 index 00000000..310fa1c0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_7.png differ diff --git a/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_8.png b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_8.png new file mode 100644 index 00000000..8ebe86a9 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/laser/skeleton-animation_8.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_0.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_0.png new file mode 100644 index 00000000..566aa654 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_0.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_1.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_1.png new file mode 100644 index 00000000..3b2f956b Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_1.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_10.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_10.png new file mode 100644 index 00000000..566aa654 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_10.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_2.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_2.png new file mode 100644 index 00000000..90458718 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_2.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_3.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_3.png new file mode 100644 index 00000000..c82fc032 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_3.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_4.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_4.png new file mode 100644 index 00000000..2c1a5197 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_4.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_5.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_5.png new file mode 100644 index 00000000..0666f22b Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_5.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_6.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_6.png new file mode 100644 index 00000000..582da0b0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_6.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_7.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_7.png new file mode 100644 index 00000000..908d232e Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_7.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_8.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_8.png new file mode 100644 index 00000000..d8f8d15f Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_8.png differ diff --git a/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_9.png b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_9.png new file mode 100644 index 00000000..21bb17ec Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/lever/skeleton-down_up_9.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_btn_off.png b/games/abandoned-2/images/animations/os/os04/os04_btn_off.png new file mode 100644 index 00000000..c22ee548 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_btn_off.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_btn_on.png b/games/abandoned-2/images/animations/os/os04/os04_btn_on.png new file mode 100644 index 00000000..77e751f6 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_btn_on.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_laser_activated.png b/games/abandoned-2/images/animations/os/os04/os04_laser_activated.png new file mode 100644 index 00000000..f4e9bff0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_laser_activated.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom.png new file mode 100644 index 00000000..009f591d Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom__minus.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom__minus.png new file mode 100644 index 00000000..67d3d672 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_bottom__minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_left.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_left.png new file mode 100644 index 00000000..25276a6c Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_left.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_left_minus.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_left_minus.png new file mode 100644 index 00000000..95b1bed0 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_left_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_right.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_right.png new file mode 100644 index 00000000..924ec640 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_right.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_right_minus.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_right_minus.png new file mode 100644 index 00000000..281c4027 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_right_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_top.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_top.png new file mode 100644 index 00000000..c44bc12a Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_top.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_mixer_top__minus.png b/games/abandoned-2/images/animations/os/os04/os04_mixer_top__minus.png new file mode 100644 index 00000000..da08dda7 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_mixer_top__minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_bottom_minus.png b/games/abandoned-2/images/animations/os/os04/os04_power_bottom_minus.png new file mode 100644 index 00000000..e15d942d Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_bottom_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_bottom_plus.png b/games/abandoned-2/images/animations/os/os04/os04_power_bottom_plus.png new file mode 100644 index 00000000..bb412338 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_bottom_plus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_left_minus.png b/games/abandoned-2/images/animations/os/os04/os04_power_left_minus.png new file mode 100644 index 00000000..71193fcf Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_left_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_left_plus.png b/games/abandoned-2/images/animations/os/os04/os04_power_left_plus.png new file mode 100644 index 00000000..76e475bd Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_left_plus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_right_minus.png b/games/abandoned-2/images/animations/os/os04/os04_power_right_minus.png new file mode 100644 index 00000000..2013031e Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_right_minus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_power_right_plus.png b/games/abandoned-2/images/animations/os/os04/os04_power_right_plus.png new file mode 100644 index 00000000..07d44d1b Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_power_right_plus.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_switch.png b/games/abandoned-2/images/animations/os/os04/os04_switch.png new file mode 100644 index 00000000..3e5be817 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_switch.png differ diff --git a/games/abandoned-2/images/animations/os/os04/os04_switch_switch.png b/games/abandoned-2/images/animations/os/os04/os04_switch_switch.png new file mode 100644 index 00000000..f32a3099 Binary files /dev/null and b/games/abandoned-2/images/animations/os/os04/os04_switch_switch.png differ diff --git a/games/abandoned-2/images/animations/portal/1.jpg b/games/abandoned-2/images/animations/portal/1.jpg new file mode 100644 index 00000000..ec795eb4 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/1.jpg differ diff --git a/games/abandoned-2/images/animations/portal/10.jpg b/games/abandoned-2/images/animations/portal/10.jpg new file mode 100644 index 00000000..6e03617c Binary files /dev/null and b/games/abandoned-2/images/animations/portal/10.jpg differ diff --git a/games/abandoned-2/images/animations/portal/11.jpg b/games/abandoned-2/images/animations/portal/11.jpg new file mode 100644 index 00000000..4d2f1bda Binary files /dev/null and b/games/abandoned-2/images/animations/portal/11.jpg differ diff --git a/games/abandoned-2/images/animations/portal/12.jpg b/games/abandoned-2/images/animations/portal/12.jpg new file mode 100644 index 00000000..c0312c57 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/12.jpg differ diff --git a/games/abandoned-2/images/animations/portal/13.jpg b/games/abandoned-2/images/animations/portal/13.jpg new file mode 100644 index 00000000..d1cb85cd Binary files /dev/null and b/games/abandoned-2/images/animations/portal/13.jpg differ diff --git a/games/abandoned-2/images/animations/portal/2.jpg b/games/abandoned-2/images/animations/portal/2.jpg new file mode 100644 index 00000000..86283719 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/2.jpg differ diff --git a/games/abandoned-2/images/animations/portal/3.jpg b/games/abandoned-2/images/animations/portal/3.jpg new file mode 100644 index 00000000..5c87e806 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/3.jpg differ diff --git a/games/abandoned-2/images/animations/portal/4.jpg b/games/abandoned-2/images/animations/portal/4.jpg new file mode 100644 index 00000000..33684d98 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/4.jpg differ diff --git a/games/abandoned-2/images/animations/portal/5.jpg b/games/abandoned-2/images/animations/portal/5.jpg new file mode 100644 index 00000000..b2b9e570 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/5.jpg differ diff --git a/games/abandoned-2/images/animations/portal/6.jpg b/games/abandoned-2/images/animations/portal/6.jpg new file mode 100644 index 00000000..c336f24b Binary files /dev/null and b/games/abandoned-2/images/animations/portal/6.jpg differ diff --git a/games/abandoned-2/images/animations/portal/7.jpg b/games/abandoned-2/images/animations/portal/7.jpg new file mode 100644 index 00000000..79cb959a Binary files /dev/null and b/games/abandoned-2/images/animations/portal/7.jpg differ diff --git a/games/abandoned-2/images/animations/portal/8.jpg b/games/abandoned-2/images/animations/portal/8.jpg new file mode 100644 index 00000000..c33c449c Binary files /dev/null and b/games/abandoned-2/images/animations/portal/8.jpg differ diff --git a/games/abandoned-2/images/animations/portal/9.jpg b/games/abandoned-2/images/animations/portal/9.jpg new file mode 100644 index 00000000..83189db5 Binary files /dev/null and b/games/abandoned-2/images/animations/portal/9.jpg differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opened_0.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opened_0.png new file mode 100644 index 00000000..dc43b4b8 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opened_0.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_0.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_0.png new file mode 100644 index 00000000..7372d640 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_1.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_1.png new file mode 100644 index 00000000..f6caf5cd Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_2.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_2.png new file mode 100644 index 00000000..3c4545cc Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_3.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_3.png new file mode 100644 index 00000000..840fe09e Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_4.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_4.png new file mode 100644 index 00000000..71cc92e7 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_5.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_5.png new file mode 100644 index 00000000..47d91a57 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_6.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_6.png new file mode 100644 index 00000000..c732207b Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_7.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_7.png new file mode 100644 index 00000000..fc2a85cf Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_8.png b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_8.png new file mode 100644 index 00000000..2fb04c0a Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr02/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_0.png new file mode 100644 index 00000000..2efa698d Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_1.png new file mode 100644 index 00000000..b319a07e Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_2.png new file mode 100644 index 00000000..01ff5791 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_3.png new file mode 100644 index 00000000..f5b95ddc Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_4.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_4.png new file mode 100644 index 00000000..576a664d Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_5.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_5.png new file mode 100644 index 00000000..37e383d3 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_6.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_6.png new file mode 100644 index 00000000..f3e3a687 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_7.png b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_7.png new file mode 100644 index 00000000..e1c08c56 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/door/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_bg.png b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_bg.png new file mode 100644 index 00000000..06443a9c Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_bg.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_big_frame.png b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_big_frame.png new file mode 100644 index 00000000..bbb8e5fc Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_big_frame.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_line.png b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_line.png new file mode 100644 index 00000000..dcc42286 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_line.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_small.png b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_small.png new file mode 100644 index 00000000..5268cf19 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/pr03_lock_small.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/symb1.jpg b/games/abandoned-2/images/animations/pr/pr03/lock/symb1.jpg new file mode 100644 index 00000000..b39421c5 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/symb1.jpg differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/symb2.jpg b/games/abandoned-2/images/animations/pr/pr03/lock/symb2.jpg new file mode 100644 index 00000000..824fb283 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/symb2.jpg differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/symb3.jpg b/games/abandoned-2/images/animations/pr/pr03/lock/symb3.jpg new file mode 100644 index 00000000..9c8d6ddc Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/symb3.jpg differ diff --git a/games/abandoned-2/images/animations/pr/pr03/lock/symb4.jpg b/games/abandoned-2/images/animations/pr/pr03/lock/symb4.jpg new file mode 100644 index 00000000..8c23c333 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/lock/symb4.jpg differ diff --git a/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass.png b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass.png new file mode 100644 index 00000000..14045364 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_bg.png b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_bg.png new file mode 100644 index 00000000..92b4b26b Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_bg.png differ diff --git a/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_tile.png b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_tile.png new file mode 100644 index 00000000..bdbc514c Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr03/tile/pr03_glass_tile.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_code.png b/games/abandoned-2/images/animations/pr/pr04/pr04_code.png new file mode 100644 index 00000000..351e645a Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_code.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_cylinder.png b/games/abandoned-2/images/animations/pr/pr04/pr04_cylinder.png new file mode 100644 index 00000000..34b40060 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_cylinder.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_device_on.png b/games/abandoned-2/images/animations/pr/pr04/pr04_device_on.png new file mode 100644 index 00000000..9b6f539e Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_device_on.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_sign_off.png b/games/abandoned-2/images/animations/pr/pr04/pr04_sign_off.png new file mode 100644 index 00000000..32b13463 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_sign_off.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_sign_on.png b/games/abandoned-2/images/animations/pr/pr04/pr04_sign_on.png new file mode 100644 index 00000000..2177d241 Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_sign_on.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_tile_closed.png b/games/abandoned-2/images/animations/pr/pr04/pr04_tile_closed.png new file mode 100644 index 00000000..30a009fc Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_tile_closed.png differ diff --git a/games/abandoned-2/images/animations/pr/pr04/pr04_tile_opened.png b/games/abandoned-2/images/animations/pr/pr04/pr04_tile_opened.png new file mode 100644 index 00000000..68fb7d4d Binary files /dev/null and b/games/abandoned-2/images/animations/pr/pr04/pr04_tile_opened.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_0.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_0.png new file mode 100644 index 00000000..84ebb5a0 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_0.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_1.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_1.png new file mode 100644 index 00000000..02811a6b Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_1.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_2.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_2.png new file mode 100644 index 00000000..2686876a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_2.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_3.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_3.png new file mode 100644 index 00000000..947b37a0 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_3.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_4.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_4.png new file mode 100644 index 00000000..fdca2c22 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_4.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_5.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_5.png new file mode 100644 index 00000000..c6b38dd8 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_5.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_6.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_6.png new file mode 100644 index 00000000..7ca21728 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_6.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_7.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_7.png new file mode 100644 index 00000000..951e8d70 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-to_down_7.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/el/skeleton-up_0.png b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-up_0.png new file mode 100644 index 00000000..3488ba27 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/el/skeleton-up_0.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_0.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_0.png new file mode 100644 index 00000000..b7525d3a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_1.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_1.png new file mode 100644 index 00000000..373a8eae Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_2.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_2.png new file mode 100644 index 00000000..4375226a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_3.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_3.png new file mode 100644 index 00000000..f547382d Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_4.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_4.png new file mode 100644 index 00000000..92996218 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_5.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_5.png new file mode 100644 index 00000000..4b3b367a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_6.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_6.png new file mode 100644 index 00000000..f7a482e7 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_7.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_7.png new file mode 100644 index 00000000..2300e083 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_8.png b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_8.png new file mode 100644 index 00000000..b53b76ce Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/sp/sp01/hatch/sp01_hatch_covered.png b/games/abandoned-2/images/animations/sp/sp01/hatch/sp01_hatch_covered.png new file mode 100644 index 00000000..98880ebd Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp01/hatch/sp01_hatch_covered.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser1.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser1.png new file mode 100644 index 00000000..031fe061 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser1.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser2.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser2.png new file mode 100644 index 00000000..a8367385 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser2.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser3.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser3.png new file mode 100644 index 00000000..b94667b4 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser3.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser4.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser4.png new file mode 100644 index 00000000..0862751d Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser4.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser5.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser5.png new file mode 100644 index 00000000..1fc71cf7 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser5.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser6.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser6.png new file mode 100644 index 00000000..3442768c Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser6.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser7.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser7.png new file mode 100644 index 00000000..4a349e91 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_laser7.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_sand.png b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_sand.png new file mode 100644 index 00000000..e3047f7b Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_parts/sp02_sand.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/laser_ray.png b/games/abandoned-2/images/animations/sp/sp02/laser_ray.png new file mode 100644 index 00000000..0aa8797f Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/laser_ray.png differ diff --git a/games/abandoned-2/images/animations/sp/sp02/mask.jpg b/games/abandoned-2/images/animations/sp/sp02/mask.jpg new file mode 100644 index 00000000..a9341345 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp02/mask.jpg differ diff --git a/games/abandoned-2/images/animations/sp/sp03/sp03_door.png b/games/abandoned-2/images/animations/sp/sp03/sp03_door.png new file mode 100644 index 00000000..e3458738 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp03/sp03_door.png differ diff --git a/games/abandoned-2/images/animations/sp/sp03/sp03_platband.png b/games/abandoned-2/images/animations/sp/sp03/sp03_platband.png new file mode 100644 index 00000000..407f9173 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp03/sp03_platband.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_indicator.png b/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_indicator.png new file mode 100644 index 00000000..920cdc9c Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_indicator.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_screen.png b/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_screen.png new file mode 100644 index 00000000..6cf21987 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/elevator/sp04_elevator_screen.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_fuse_indicator.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_fuse_indicator.png new file mode 100644 index 00000000..fc60b80d Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_fuse_indicator.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_1.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_1.png new file mode 100644 index 00000000..6ac2399a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_1.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_2.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_2.png new file mode 100644 index 00000000..0a25396e Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_2.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_3.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_3.png new file mode 100644 index 00000000..2e78ee26 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_3.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_4.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_4.png new file mode 100644 index 00000000..0a94db07 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_4.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_scheme.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_scheme.png new file mode 100644 index 00000000..8da28fa3 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_detail_scheme.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_screen.png b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_screen.png new file mode 100644 index 00000000..06ce07ea Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser1/sp04_laser_screen.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_laser_ind.png b/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_laser_ind.png new file mode 100644 index 00000000..c9f5922b Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_laser_ind.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_ray_screen.png b/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_ray_screen.png new file mode 100644 index 00000000..d9bcb94d Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/laser2/sp04_ray_screen.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-on_0.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-on_0.png new file mode 100644 index 00000000..71aa63cb Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-on_0.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_0.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_0.png new file mode 100644 index 00000000..43226e53 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_0.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_1.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_1.png new file mode 100644 index 00000000..da7fa032 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_1.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_10.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_10.png new file mode 100644 index 00000000..b9e49f9b Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_10.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_11.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_11.png new file mode 100644 index 00000000..c32d1904 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_11.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_12.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_12.png new file mode 100644 index 00000000..962e59d8 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_12.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_2.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_2.png new file mode 100644 index 00000000..5f9e304a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_2.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_3.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_3.png new file mode 100644 index 00000000..858cbe5e Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_3.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_4.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_4.png new file mode 100644 index 00000000..0b7d4a73 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_4.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_5.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_5.png new file mode 100644 index 00000000..8dacc92e Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_5.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_6.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_6.png new file mode 100644 index 00000000..66b40546 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_6.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_7.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_7.png new file mode 100644 index 00000000..13e71e36 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_7.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_8.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_8.png new file mode 100644 index 00000000..4c4cb9f9 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_8.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_9.png b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_9.png new file mode 100644 index 00000000..6107173d Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/lever/skeleton-to_on_9.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_btn.png b/games/abandoned-2/images/animations/sp/sp04/sp04_btn.png new file mode 100644 index 00000000..a0934c25 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_btn.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_ind.png b/games/abandoned-2/images/animations/sp/sp04/sp04_ind.png new file mode 100644 index 00000000..126fba0a Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_ind.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_off.png b/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_off.png new file mode 100644 index 00000000..2332de04 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_off.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_on.png b/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_on.png new file mode 100644 index 00000000..be060df7 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_ind2_on.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_off.png b/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_off.png new file mode 100644 index 00000000..8fbdd3d0 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_off.png differ diff --git a/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_on.png b/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_on.png new file mode 100644 index 00000000..30e9a293 Binary files /dev/null and b/games/abandoned-2/images/animations/sp/sp04/sp04_ind3_on.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_0.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_0.png new file mode 100644 index 00000000..48be25d0 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_1.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_1.png new file mode 100644 index 00000000..a1825019 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_10.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_10.png new file mode 100644 index 00000000..e06ea118 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_10.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_11.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_11.png new file mode 100644 index 00000000..b569a86f Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_11.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_12.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_12.png new file mode 100644 index 00000000..d82535b7 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_12.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_2.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_2.png new file mode 100644 index 00000000..74182c50 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_3.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_3.png new file mode 100644 index 00000000..b591a764 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_4.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_4.png new file mode 100644 index 00000000..dffd24c0 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_5.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_5.png new file mode 100644 index 00000000..bb67c044 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_6.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_6.png new file mode 100644 index 00000000..0c20e4df Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_7.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_7.png new file mode 100644 index 00000000..9f969b9c Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_8.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_8.png new file mode 100644 index 00000000..c5ba727f Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_9.png b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_9.png new file mode 100644 index 00000000..313b7728 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tb03/skeleton-opening_9.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i.png new file mode 100644 index 00000000..5f179309 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i_on.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i_on.png new file mode 100644 index 00000000..7246b9f1 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_i_on.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k.png new file mode 100644 index 00000000..4f98ce26 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k_on.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k_on.png new file mode 100644 index 00000000..19a899c4 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_k_on.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n.png new file mode 100644 index 00000000..26c85437 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n_on.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n_on.png new file mode 100644 index 00000000..3164159e Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_n_on.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u.png new file mode 100644 index 00000000..239ce852 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u_on.png b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u_on.png new file mode 100644 index 00000000..6443e61e Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt02b/tbt02B_secret_u_on.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_inner.png b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_inner.png new file mode 100644 index 00000000..5beaa399 Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_inner.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_lock.png b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_lock.png new file mode 100644 index 00000000..3502252b Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_lock.png differ diff --git a/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_outer.png b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_outer.png new file mode 100644 index 00000000..5a4c327b Binary files /dev/null and b/games/abandoned-2/images/animations/tbt/tbt05b/tbt05B_outer.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l.png b/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l.png new file mode 100644 index 00000000..2f8085dd Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l_pressed.png b/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l_pressed.png new file mode 100644 index 00000000..316bdd24 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/button/tmp05_btn_l_pressed.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_light.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_light.png new file mode 100644 index 00000000..527eba31 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_light.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1.png new file mode 100644 index 00000000..c7e9ad0e Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light1.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light1.png new file mode 100644 index 00000000..3b20a31f Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light2.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light2.png new file mode 100644 index 00000000..e8cd9ae5 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light3.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light3.png new file mode 100644 index 00000000..b2521ccd Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light4.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light4.png new file mode 100644 index 00000000..785b1bc7 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle1_light4.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2.png new file mode 100644 index 00000000..53b300d9 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light1.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light1.png new file mode 100644 index 00000000..f984f2c7 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light2.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light2.png new file mode 100644 index 00000000..979061a3 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light3.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light3.png new file mode 100644 index 00000000..5c197f39 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle2_light3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3.png new file mode 100644 index 00000000..ff12dd9c Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light1.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light1.png new file mode 100644 index 00000000..58c30f9a Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light2.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light2.png new file mode 100644 index 00000000..1ba42c12 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light3.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light3.png new file mode 100644 index 00000000..19d80dd8 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle3_light3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4.png new file mode 100644 index 00000000..c9fb8c64 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light1.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light1.png new file mode 100644 index 00000000..05b37615 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light2.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light2.png new file mode 100644 index 00000000..bacf3326 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light3.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light3.png new file mode 100644 index 00000000..2e5ac46f Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_puzzle4_light3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_stairs.png b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_stairs.png new file mode 100644 index 00000000..d72618ee Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/lines/tmp05_stairs.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/mask.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/mask.png new file mode 100644 index 00000000..03db595e Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/mask.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear1.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear1.png new file mode 100644 index 00000000..e91cf259 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear2.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear2.png new file mode 100644 index 00000000..1f43b2d3 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear3.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear3.png new file mode 100644 index 00000000..8cd7ddfc Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear_lines.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear_lines.png new file mode 100644 index 00000000..ddace7fd Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_gear_lines.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_ropes.png b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_ropes.png new file mode 100644 index 00000000..89aefd68 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp05/mechanism/tmp05_ropes.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/mask.png b/games/abandoned-2/images/animations/tmp/tmp06/mask.png new file mode 100644 index 00000000..ff587a82 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/mask.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide0.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide0.png new file mode 100644 index 00000000..02be6a02 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide0.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide1.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide1.png new file mode 100644 index 00000000..2b62b664 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide1.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide2.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide2.png new file mode 100644 index 00000000..f2711423 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide2.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide3.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide3.png new file mode 100644 index 00000000..503952cd Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide3.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide4.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide4.png new file mode 100644 index 00000000..41233710 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide4.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide5.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide5.png new file mode 100644 index 00000000..48a823fb Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide5.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide6.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide6.png new file mode 100644 index 00000000..dbfbadec Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide6.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide7.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide7.png new file mode 100644 index 00000000..d8cdfa93 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide7.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide8.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide8.png new file mode 100644 index 00000000..cc3dec08 Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide8.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide9.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide9.png new file mode 100644 index 00000000..b787cced Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_pyramide9.png differ diff --git a/games/abandoned-2/images/animations/tmp/tmp06/tmp06_signs_flashed.png b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_signs_flashed.png new file mode 100644 index 00000000..4039717c Binary files /dev/null and b/games/abandoned-2/images/animations/tmp/tmp06/tmp06_signs_flashed.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0001/door/mask.png b/games/abandoned-2/images/animations/tr/tr0001/door/mask.png new file mode 100644 index 00000000..846400ad Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0001/door/mask.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0001/door/tr0001_door.png b/games/abandoned-2/images/animations/tr/tr0001/door/tr0001_door.png new file mode 100644 index 00000000..6855abb6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0001/door/tr0001_door.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_btn_zoomed.png b/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_btn_zoomed.png new file mode 100644 index 00000000..a67a8b4a Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_btn_zoomed.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_lock.png b/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_lock.png new file mode 100644 index 00000000..3eab2c89 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0001/lock/tr0001_lock.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0006/tr0006_switch.png b/games/abandoned-2/images/animations/tr/tr0006/tr0006_switch.png new file mode 100644 index 00000000..a7feaa48 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0006/tr0006_switch.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0009/tr0009_door.png b/games/abandoned-2/images/animations/tr/tr0009/tr0009_door.png new file mode 100644 index 00000000..133f21ea Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0009/tr0009_door.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0009/tr0009_door_burnt.png b/games/abandoned-2/images/animations/tr/tr0009/tr0009_door_burnt.png new file mode 100644 index 00000000..82ac6698 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0009/tr0009_door_burnt.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_0.png b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_0.png new file mode 100644 index 00000000..800bfed3 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_1.png b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_1.png new file mode 100644 index 00000000..7d5c82b3 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_2.png b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_2.png new file mode 100644 index 00000000..05cfe599 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_3.png b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_3.png new file mode 100644 index 00000000..70b265fa Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/door/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder.png b/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder.png new file mode 100644 index 00000000..d4a4f35f Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder2.png b/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder2.png new file mode 100644 index 00000000..53e87d8b Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/tr0010_ladder2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0010/tr0010_lamp.png b/games/abandoned-2/images/animations/tr/tr0010/tr0010_lamp.png new file mode 100644 index 00000000..75c189a6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0010/tr0010_lamp.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_0.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_0.png new file mode 100644 index 00000000..1e98d4eb Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_0.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_1.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_1.png new file mode 100644 index 00000000..92a31630 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_10.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_10.png new file mode 100644 index 00000000..7d63a2ab Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_10.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_11.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_11.png new file mode 100644 index 00000000..1d7e4d87 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_11.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_12.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_12.png new file mode 100644 index 00000000..c4925eca Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_12.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_13.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_13.png new file mode 100644 index 00000000..e98397a6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_13.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_14.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_14.png new file mode 100644 index 00000000..22bcb15b Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_14.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_15.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_15.png new file mode 100644 index 00000000..69bfce1d Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_15.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_16.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_16.png new file mode 100644 index 00000000..b00964fe Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_16.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_17.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_17.png new file mode 100644 index 00000000..00d30c63 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_17.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_18.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_18.png new file mode 100644 index 00000000..1520fe6b Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_18.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_19.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_19.png new file mode 100644 index 00000000..21514839 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_19.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_2.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_2.png new file mode 100644 index 00000000..59030055 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_20.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_20.png new file mode 100644 index 00000000..4fc1eb9a Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_20.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_21.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_21.png new file mode 100644 index 00000000..e56a13cc Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_21.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_22.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_22.png new file mode 100644 index 00000000..abeb8252 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_22.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_23.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_23.png new file mode 100644 index 00000000..5c1f919c Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_23.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_24.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_24.png new file mode 100644 index 00000000..e56a13cc Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_24.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_25.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_25.png new file mode 100644 index 00000000..906f5bb6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_25.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_26.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_26.png new file mode 100644 index 00000000..975b710e Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_26.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_27.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_27.png new file mode 100644 index 00000000..d6d058bb Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_27.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_28.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_28.png new file mode 100644 index 00000000..2b9e825c Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_28.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_29.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_29.png new file mode 100644 index 00000000..00d30c63 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_29.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_3.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_3.png new file mode 100644 index 00000000..43e87216 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_30.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_30.png new file mode 100644 index 00000000..feadf136 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_30.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_31.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_31.png new file mode 100644 index 00000000..ae5bbdbb Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_31.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_32.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_32.png new file mode 100644 index 00000000..05cbebff Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_32.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_4.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_4.png new file mode 100644 index 00000000..71f8caed Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_4.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_5.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_5.png new file mode 100644 index 00000000..3e1f7fc5 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_5.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_6.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_6.png new file mode 100644 index 00000000..bc5f6f5f Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_6.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_7.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_7.png new file mode 100644 index 00000000..2b15c443 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_7.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_8.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_8.png new file mode 100644 index 00000000..fbbd9e64 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_8.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_9.png b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_9.png new file mode 100644 index 00000000..4aa19621 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/skeleton-ladder_opening_9.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/tr0011_lever.png b/games/abandoned-2/images/animations/tr/tr0011/tr0011_lever.png new file mode 100644 index 00000000..e7f1a6b2 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/tr0011_lever.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0011/tr0011_slot.png b/games/abandoned-2/images/animations/tr/tr0011/tr0011_slot.png new file mode 100644 index 00000000..e339eb55 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0011/tr0011_slot.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0013/tr0013_liana.png b/games/abandoned-2/images/animations/tr/tr0013/tr0013_liana.png new file mode 100644 index 00000000..e7b08206 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0013/tr0013_liana.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0013/tr0013_lianas.png b/games/abandoned-2/images/animations/tr/tr0013/tr0013_lianas.png new file mode 100644 index 00000000..ea349413 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0013/tr0013_lianas.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_0.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_0.png new file mode 100644 index 00000000..1782d935 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_1.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_1.png new file mode 100644 index 00000000..f4c771f2 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_2.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_2.png new file mode 100644 index 00000000..16a87404 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_3.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_3.png new file mode 100644 index 00000000..73badb32 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_4.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_4.png new file mode 100644 index 00000000..384a6661 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_5.png b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_5.png new file mode 100644 index 00000000..33424d7c Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0101/tr0101_indicator_red.png b/games/abandoned-2/images/animations/tr/tr0101/tr0101_indicator_red.png new file mode 100644 index 00000000..5d20e6e1 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0101/tr0101_indicator_red.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_cover.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_cover.png new file mode 100644 index 00000000..bdf6eb04 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_cover.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_gear.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_gear.png new file mode 100644 index 00000000..b7626913 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_gear.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_ladder.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_ladder.png new file mode 100644 index 00000000..202a4025 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_ladder.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever.png new file mode 100644 index 00000000..8e12df65 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever2.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever2.png new file mode 100644 index 00000000..a18dd611 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_lever2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear.png new file mode 100644 index 00000000..c7269ca6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear_cover.png b/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear_cover.png new file mode 100644 index 00000000..897d7bd1 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0102/tr0102_small_gear_cover.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0201b/door_c/tr0201b_door2.png b/games/abandoned-2/images/animations/tr/tr0201b/door_c/tr0201b_door2.png new file mode 100644 index 00000000..c5a2c1d6 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0201b/door_c/tr0201b_door2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0201b/door_l/tr0201b_door_1.png b/games/abandoned-2/images/animations/tr/tr0201b/door_l/tr0201b_door_1.png new file mode 100644 index 00000000..4d0530e0 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0201b/door_l/tr0201b_door_1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0201b/door_r/tr0201b_door_3.png b/games/abandoned-2/images/animations/tr/tr0201b/door_r/tr0201b_door_3.png new file mode 100644 index 00000000..b1d14d59 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0201b/door_r/tr0201b_door_3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0202/tr0202_bridge.png b/games/abandoned-2/images/animations/tr/tr0202/tr0202_bridge.png new file mode 100644 index 00000000..6ccb1b8d Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0202/tr0202_bridge.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear1.png b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear1.png new file mode 100644 index 00000000..90fe6510 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear2.png b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear2.png new file mode 100644 index 00000000..e320dd03 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear3.png b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear3.png new file mode 100644 index 00000000..a17d654e Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0202/tr0202_gear3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0202/tr0202_lever.png b/games/abandoned-2/images/animations/tr/tr0202/tr0202_lever.png new file mode 100644 index 00000000..f21b9628 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0202/tr0202_lever.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0203/tr0203_lever.png b/games/abandoned-2/images/animations/tr/tr0203/tr0203_lever.png new file mode 100644 index 00000000..1e9d0825 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0203/tr0203_lever.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_0.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_0.png new file mode 100644 index 00000000..03a5ed04 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_0.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_1.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_1.png new file mode 100644 index 00000000..43d7f0da Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_1.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_2.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_2.png new file mode 100644 index 00000000..07f92e1c Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_2.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_3.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_3.png new file mode 100644 index 00000000..9d45a4ab Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_3.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_4.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_4.png new file mode 100644 index 00000000..a1b824c7 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_4.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_5.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_5.png new file mode 100644 index 00000000..b9faed52 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_5.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_6.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_6.png new file mode 100644 index 00000000..991c75c1 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_6.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_7.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_7.png new file mode 100644 index 00000000..ec2fda65 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_7.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_8.png b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_8.png new file mode 100644 index 00000000..757fff09 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0401/skeleton-opening_8.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0502/tr0502_door.png b/games/abandoned-2/images/animations/tr/tr0502/tr0502_door.png new file mode 100644 index 00000000..ef867612 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0502/tr0502_door.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0503/tr0503_door.png b/games/abandoned-2/images/animations/tr/tr0503/tr0503_door.png new file mode 100644 index 00000000..17074c39 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0503/tr0503_door.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0503/tr0503_door_burnt.png b/games/abandoned-2/images/animations/tr/tr0503/tr0503_door_burnt.png new file mode 100644 index 00000000..5ee74c5e Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0503/tr0503_door_burnt.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0703/mask.jpg b/games/abandoned-2/images/animations/tr/tr0703/mask.jpg new file mode 100644 index 00000000..dda3c03a Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0703/mask.jpg differ diff --git a/games/abandoned-2/images/animations/tr/tr0703/tr0703_btn.png b/games/abandoned-2/images/animations/tr/tr0703/tr0703_btn.png new file mode 100644 index 00000000..11fbbdb8 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0703/tr0703_btn.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid.png b/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid.png new file mode 100644 index 00000000..108226d0 Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid.png differ diff --git a/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid_stroke.png b/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid_stroke.png new file mode 100644 index 00000000..b0610a1b Binary files /dev/null and b/games/abandoned-2/images/animations/tr/tr0703/tr0703_liquid_stroke.png differ diff --git a/games/abandoned-2/images/bg/7kA.jpg b/games/abandoned-2/images/bg/7kA.jpg new file mode 100644 index 00000000..fd526eb5 Binary files /dev/null and b/games/abandoned-2/images/bg/7kA.jpg differ diff --git a/games/abandoned-2/images/bg/7kB.jpg b/games/abandoned-2/images/bg/7kB.jpg new file mode 100644 index 00000000..471a7369 Binary files /dev/null and b/games/abandoned-2/images/bg/7kB.jpg differ diff --git a/games/abandoned-2/images/bg/black.jpg b/games/abandoned-2/images/bg/black.jpg new file mode 100644 index 00000000..5e2c394a Binary files /dev/null and b/games/abandoned-2/images/bg/black.jpg differ diff --git a/games/abandoned-2/images/bg/cr2.jpg b/games/abandoned-2/images/bg/cr2.jpg new file mode 100644 index 00000000..d0ffea4b Binary files /dev/null and b/games/abandoned-2/images/bg/cr2.jpg differ diff --git a/games/abandoned-2/images/bg/cr3.jpg b/games/abandoned-2/images/bg/cr3.jpg new file mode 100644 index 00000000..97d9f19d Binary files /dev/null and b/games/abandoned-2/images/bg/cr3.jpg differ diff --git a/games/abandoned-2/images/bg/dep02.jpg b/games/abandoned-2/images/bg/dep02.jpg new file mode 100644 index 00000000..e11a8a18 Binary files /dev/null and b/games/abandoned-2/images/bg/dep02.jpg differ diff --git a/games/abandoned-2/images/bg/dep04.jpg b/games/abandoned-2/images/bg/dep04.jpg new file mode 100644 index 00000000..e2141f80 Binary files /dev/null and b/games/abandoned-2/images/bg/dep04.jpg differ diff --git a/games/abandoned-2/images/bg/dep06.jpg b/games/abandoned-2/images/bg/dep06.jpg new file mode 100644 index 00000000..1657230f Binary files /dev/null and b/games/abandoned-2/images/bg/dep06.jpg differ diff --git a/games/abandoned-2/images/bg/el_sp.png b/games/abandoned-2/images/bg/el_sp.png new file mode 100644 index 00000000..ac882fdb Binary files /dev/null and b/games/abandoned-2/images/bg/el_sp.png differ diff --git a/games/abandoned-2/images/bg/flp01.jpg b/games/abandoned-2/images/bg/flp01.jpg new file mode 100644 index 00000000..5f2ff86c Binary files /dev/null and b/games/abandoned-2/images/bg/flp01.jpg differ diff --git a/games/abandoned-2/images/bg/flp02.jpg b/games/abandoned-2/images/bg/flp02.jpg new file mode 100644 index 00000000..887e9f39 Binary files /dev/null and b/games/abandoned-2/images/bg/flp02.jpg differ diff --git a/games/abandoned-2/images/bg/flp03.jpg b/games/abandoned-2/images/bg/flp03.jpg new file mode 100644 index 00000000..2bea7440 Binary files /dev/null and b/games/abandoned-2/images/bg/flp03.jpg differ diff --git a/games/abandoned-2/images/bg/flp04.jpg b/games/abandoned-2/images/bg/flp04.jpg new file mode 100644 index 00000000..197e0b3d Binary files /dev/null and b/games/abandoned-2/images/bg/flp04.jpg differ diff --git a/games/abandoned-2/images/bg/flp05.jpg b/games/abandoned-2/images/bg/flp05.jpg new file mode 100644 index 00000000..f0a05a69 Binary files /dev/null and b/games/abandoned-2/images/bg/flp05.jpg differ diff --git a/games/abandoned-2/images/bg/htf01.jpg b/games/abandoned-2/images/bg/htf01.jpg new file mode 100644 index 00000000..1af8dc9f Binary files /dev/null and b/games/abandoned-2/images/bg/htf01.jpg differ diff --git a/games/abandoned-2/images/bg/htf010.jpg b/games/abandoned-2/images/bg/htf010.jpg new file mode 100644 index 00000000..d47e887a Binary files /dev/null and b/games/abandoned-2/images/bg/htf010.jpg differ diff --git a/games/abandoned-2/images/bg/htf02.jpg b/games/abandoned-2/images/bg/htf02.jpg new file mode 100644 index 00000000..38d90617 Binary files /dev/null and b/games/abandoned-2/images/bg/htf02.jpg differ diff --git a/games/abandoned-2/images/bg/htf03.jpg b/games/abandoned-2/images/bg/htf03.jpg new file mode 100644 index 00000000..02d906d6 Binary files /dev/null and b/games/abandoned-2/images/bg/htf03.jpg differ diff --git a/games/abandoned-2/images/bg/intr0003.jpg b/games/abandoned-2/images/bg/intr0003.jpg new file mode 100644 index 00000000..0f163101 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0003.jpg differ diff --git a/games/abandoned-2/images/bg/intr0004.jpg b/games/abandoned-2/images/bg/intr0004.jpg new file mode 100644 index 00000000..8cf629ff Binary files /dev/null and b/games/abandoned-2/images/bg/intr0004.jpg differ diff --git a/games/abandoned-2/images/bg/intr0006.jpg b/games/abandoned-2/images/bg/intr0006.jpg new file mode 100644 index 00000000..c082b2f2 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0006.jpg differ diff --git a/games/abandoned-2/images/bg/intr0007.jpg b/games/abandoned-2/images/bg/intr0007.jpg new file mode 100644 index 00000000..85cc7a61 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0007.jpg differ diff --git a/games/abandoned-2/images/bg/intr0009.jpg b/games/abandoned-2/images/bg/intr0009.jpg new file mode 100644 index 00000000..8b4ddfba Binary files /dev/null and b/games/abandoned-2/images/bg/intr0009.jpg differ diff --git a/games/abandoned-2/images/bg/intr0010.jpg b/games/abandoned-2/images/bg/intr0010.jpg new file mode 100644 index 00000000..731ab7e1 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0010.jpg differ diff --git a/games/abandoned-2/images/bg/intr0101.jpg b/games/abandoned-2/images/bg/intr0101.jpg new file mode 100644 index 00000000..94dce0e9 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0101.jpg differ diff --git a/games/abandoned-2/images/bg/intr0102.jpg b/games/abandoned-2/images/bg/intr0102.jpg new file mode 100644 index 00000000..6e1b597e Binary files /dev/null and b/games/abandoned-2/images/bg/intr0102.jpg differ diff --git a/games/abandoned-2/images/bg/intr0201.jpg b/games/abandoned-2/images/bg/intr0201.jpg new file mode 100644 index 00000000..6761d1af Binary files /dev/null and b/games/abandoned-2/images/bg/intr0201.jpg differ diff --git a/games/abandoned-2/images/bg/intr0302.jpg b/games/abandoned-2/images/bg/intr0302.jpg new file mode 100644 index 00000000..9c6e3e24 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0302.jpg differ diff --git a/games/abandoned-2/images/bg/intr0303.jpg b/games/abandoned-2/images/bg/intr0303.jpg new file mode 100644 index 00000000..5ead0105 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0303.jpg differ diff --git a/games/abandoned-2/images/bg/intr0401.jpg b/games/abandoned-2/images/bg/intr0401.jpg new file mode 100644 index 00000000..8893aea7 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0401.jpg differ diff --git a/games/abandoned-2/images/bg/intr0503.jpg b/games/abandoned-2/images/bg/intr0503.jpg new file mode 100644 index 00000000..7cedb096 Binary files /dev/null and b/games/abandoned-2/images/bg/intr0503.jpg differ diff --git a/games/abandoned-2/images/bg/lch01.png b/games/abandoned-2/images/bg/lch01.png new file mode 100644 index 00000000..b7ef6b6a Binary files /dev/null and b/games/abandoned-2/images/bg/lch01.png differ diff --git a/games/abandoned-2/images/bg/lch02.jpg b/games/abandoned-2/images/bg/lch02.jpg new file mode 100644 index 00000000..95a5143d Binary files /dev/null and b/games/abandoned-2/images/bg/lch02.jpg differ diff --git a/games/abandoned-2/images/bg/lch03.jpg b/games/abandoned-2/images/bg/lch03.jpg new file mode 100644 index 00000000..50d61442 Binary files /dev/null and b/games/abandoned-2/images/bg/lch03.jpg differ diff --git a/games/abandoned-2/images/bg/os01.png b/games/abandoned-2/images/bg/os01.png new file mode 100644 index 00000000..3ac41e8f Binary files /dev/null and b/games/abandoned-2/images/bg/os01.png differ diff --git a/games/abandoned-2/images/bg/os02.jpg b/games/abandoned-2/images/bg/os02.jpg new file mode 100644 index 00000000..b124eb24 Binary files /dev/null and b/games/abandoned-2/images/bg/os02.jpg differ diff --git a/games/abandoned-2/images/bg/os03.jpg b/games/abandoned-2/images/bg/os03.jpg new file mode 100644 index 00000000..c9a2a6a3 Binary files /dev/null and b/games/abandoned-2/images/bg/os03.jpg differ diff --git a/games/abandoned-2/images/bg/os04.jpg b/games/abandoned-2/images/bg/os04.jpg new file mode 100644 index 00000000..fd19f246 Binary files /dev/null and b/games/abandoned-2/images/bg/os04.jpg differ diff --git a/games/abandoned-2/images/bg/pri02.jpg b/games/abandoned-2/images/bg/pri02.jpg new file mode 100644 index 00000000..d795e0f1 Binary files /dev/null and b/games/abandoned-2/images/bg/pri02.jpg differ diff --git a/games/abandoned-2/images/bg/pri03.jpg b/games/abandoned-2/images/bg/pri03.jpg new file mode 100644 index 00000000..c8a903e6 Binary files /dev/null and b/games/abandoned-2/images/bg/pri03.jpg differ diff --git a/games/abandoned-2/images/bg/pri04.jpg b/games/abandoned-2/images/bg/pri04.jpg new file mode 100644 index 00000000..9ee7150d Binary files /dev/null and b/games/abandoned-2/images/bg/pri04.jpg differ diff --git a/games/abandoned-2/images/bg/sp01.png b/games/abandoned-2/images/bg/sp01.png new file mode 100644 index 00000000..c33d0f5d Binary files /dev/null and b/games/abandoned-2/images/bg/sp01.png differ diff --git a/games/abandoned-2/images/bg/sp02.jpg b/games/abandoned-2/images/bg/sp02.jpg new file mode 100644 index 00000000..f679d896 Binary files /dev/null and b/games/abandoned-2/images/bg/sp02.jpg differ diff --git a/games/abandoned-2/images/bg/sp03.jpg b/games/abandoned-2/images/bg/sp03.jpg new file mode 100644 index 00000000..823b10cd Binary files /dev/null and b/games/abandoned-2/images/bg/sp03.jpg differ diff --git a/games/abandoned-2/images/bg/sp04.jpg b/games/abandoned-2/images/bg/sp04.jpg new file mode 100644 index 00000000..776dd705 Binary files /dev/null and b/games/abandoned-2/images/bg/sp04.jpg differ diff --git a/games/abandoned-2/images/bg/sp_l.jpg b/games/abandoned-2/images/bg/sp_l.jpg new file mode 100644 index 00000000..8a429191 Binary files /dev/null and b/games/abandoned-2/images/bg/sp_l.jpg differ diff --git a/games/abandoned-2/images/bg/sp_r.jpg b/games/abandoned-2/images/bg/sp_r.jpg new file mode 100644 index 00000000..d6a38085 Binary files /dev/null and b/games/abandoned-2/images/bg/sp_r.jpg differ diff --git a/games/abandoned-2/images/bg/tb01.jpg b/games/abandoned-2/images/bg/tb01.jpg new file mode 100644 index 00000000..615cf2f3 Binary files /dev/null and b/games/abandoned-2/images/bg/tb01.jpg differ diff --git a/games/abandoned-2/images/bg/tb02.jpg b/games/abandoned-2/images/bg/tb02.jpg new file mode 100644 index 00000000..1b66d1ff Binary files /dev/null and b/games/abandoned-2/images/bg/tb02.jpg differ diff --git a/games/abandoned-2/images/bg/tb02b.jpg b/games/abandoned-2/images/bg/tb02b.jpg new file mode 100644 index 00000000..368014a9 Binary files /dev/null and b/games/abandoned-2/images/bg/tb02b.jpg differ diff --git a/games/abandoned-2/images/bg/tb03.jpg b/games/abandoned-2/images/bg/tb03.jpg new file mode 100644 index 00000000..36b8f0b7 Binary files /dev/null and b/games/abandoned-2/images/bg/tb03.jpg differ diff --git a/games/abandoned-2/images/bg/tb03b.jpg b/games/abandoned-2/images/bg/tb03b.jpg new file mode 100644 index 00000000..ad446917 Binary files /dev/null and b/games/abandoned-2/images/bg/tb03b.jpg differ diff --git a/games/abandoned-2/images/bg/tb04b.jpg b/games/abandoned-2/images/bg/tb04b.jpg new file mode 100644 index 00000000..cb612570 Binary files /dev/null and b/games/abandoned-2/images/bg/tb04b.jpg differ diff --git a/games/abandoned-2/images/bg/tb05b.png b/games/abandoned-2/images/bg/tb05b.png new file mode 100644 index 00000000..f487b2b6 Binary files /dev/null and b/games/abandoned-2/images/bg/tb05b.png differ diff --git a/games/abandoned-2/images/bg/tb06.jpg b/games/abandoned-2/images/bg/tb06.jpg new file mode 100644 index 00000000..f2e77efd Binary files /dev/null and b/games/abandoned-2/images/bg/tb06.jpg differ diff --git a/games/abandoned-2/images/bg/tmp01.jpg b/games/abandoned-2/images/bg/tmp01.jpg new file mode 100644 index 00000000..60f2f404 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp01.jpg differ diff --git a/games/abandoned-2/images/bg/tmp02.jpg b/games/abandoned-2/images/bg/tmp02.jpg new file mode 100644 index 00000000..208bb755 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp02.jpg differ diff --git a/games/abandoned-2/images/bg/tmp03.jpg b/games/abandoned-2/images/bg/tmp03.jpg new file mode 100644 index 00000000..01a5eff4 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp03.jpg differ diff --git a/games/abandoned-2/images/bg/tmp04.jpg b/games/abandoned-2/images/bg/tmp04.jpg new file mode 100644 index 00000000..80334435 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp04.jpg differ diff --git a/games/abandoned-2/images/bg/tmp05.png b/games/abandoned-2/images/bg/tmp05.png new file mode 100644 index 00000000..5fd62dbb Binary files /dev/null and b/games/abandoned-2/images/bg/tmp05.png differ diff --git a/games/abandoned-2/images/bg/tmp06.jpg b/games/abandoned-2/images/bg/tmp06.jpg new file mode 100644 index 00000000..33c92ae1 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp06.jpg differ diff --git a/games/abandoned-2/images/bg/tmp07.jpg b/games/abandoned-2/images/bg/tmp07.jpg new file mode 100644 index 00000000..f0257308 Binary files /dev/null and b/games/abandoned-2/images/bg/tmp07.jpg differ diff --git a/games/abandoned-2/images/bg/tr0001.jpg b/games/abandoned-2/images/bg/tr0001.jpg new file mode 100644 index 00000000..644d9f2e Binary files /dev/null and b/games/abandoned-2/images/bg/tr0001.jpg differ diff --git a/games/abandoned-2/images/bg/tr0002.jpg b/games/abandoned-2/images/bg/tr0002.jpg new file mode 100644 index 00000000..bbc20070 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0002.jpg differ diff --git a/games/abandoned-2/images/bg/tr0003.jpg b/games/abandoned-2/images/bg/tr0003.jpg new file mode 100644 index 00000000..b64a565c Binary files /dev/null and b/games/abandoned-2/images/bg/tr0003.jpg differ diff --git a/games/abandoned-2/images/bg/tr0004.jpg b/games/abandoned-2/images/bg/tr0004.jpg new file mode 100644 index 00000000..a3178854 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0004.jpg differ diff --git a/games/abandoned-2/images/bg/tr0005.jpg b/games/abandoned-2/images/bg/tr0005.jpg new file mode 100644 index 00000000..375b3d00 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0005.jpg differ diff --git a/games/abandoned-2/images/bg/tr0006.jpg b/games/abandoned-2/images/bg/tr0006.jpg new file mode 100644 index 00000000..34533c50 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0006.jpg differ diff --git a/games/abandoned-2/images/bg/tr0007.jpg b/games/abandoned-2/images/bg/tr0007.jpg new file mode 100644 index 00000000..a61c9d1b Binary files /dev/null and b/games/abandoned-2/images/bg/tr0007.jpg differ diff --git a/games/abandoned-2/images/bg/tr0008.jpg b/games/abandoned-2/images/bg/tr0008.jpg new file mode 100644 index 00000000..edca6797 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0008.jpg differ diff --git a/games/abandoned-2/images/bg/tr0009.jpg b/games/abandoned-2/images/bg/tr0009.jpg new file mode 100644 index 00000000..44d5b2af Binary files /dev/null and b/games/abandoned-2/images/bg/tr0009.jpg differ diff --git a/games/abandoned-2/images/bg/tr0010.jpg b/games/abandoned-2/images/bg/tr0010.jpg new file mode 100644 index 00000000..c8a2365a Binary files /dev/null and b/games/abandoned-2/images/bg/tr0010.jpg differ diff --git a/games/abandoned-2/images/bg/tr0011.jpg b/games/abandoned-2/images/bg/tr0011.jpg new file mode 100644 index 00000000..d9cd9a6a Binary files /dev/null and b/games/abandoned-2/images/bg/tr0011.jpg differ diff --git a/games/abandoned-2/images/bg/tr0012.jpg b/games/abandoned-2/images/bg/tr0012.jpg new file mode 100644 index 00000000..bb73c6cc Binary files /dev/null and b/games/abandoned-2/images/bg/tr0012.jpg differ diff --git a/games/abandoned-2/images/bg/tr0013.jpg b/games/abandoned-2/images/bg/tr0013.jpg new file mode 100644 index 00000000..ebb41936 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0013.jpg differ diff --git a/games/abandoned-2/images/bg/tr0101.jpg b/games/abandoned-2/images/bg/tr0101.jpg new file mode 100644 index 00000000..02603aea Binary files /dev/null and b/games/abandoned-2/images/bg/tr0101.jpg differ diff --git a/games/abandoned-2/images/bg/tr0102.jpg b/games/abandoned-2/images/bg/tr0102.jpg new file mode 100644 index 00000000..f45c356d Binary files /dev/null and b/games/abandoned-2/images/bg/tr0102.jpg differ diff --git a/games/abandoned-2/images/bg/tr0103.jpg b/games/abandoned-2/images/bg/tr0103.jpg new file mode 100644 index 00000000..1f2a30a9 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0103.jpg differ diff --git a/games/abandoned-2/images/bg/tr0201.jpg b/games/abandoned-2/images/bg/tr0201.jpg new file mode 100644 index 00000000..84220cc7 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0201.jpg differ diff --git a/games/abandoned-2/images/bg/tr0201b.png b/games/abandoned-2/images/bg/tr0201b.png new file mode 100644 index 00000000..4202401d Binary files /dev/null and b/games/abandoned-2/images/bg/tr0201b.png differ diff --git a/games/abandoned-2/images/bg/tr0202.jpg b/games/abandoned-2/images/bg/tr0202.jpg new file mode 100644 index 00000000..ab45a7c0 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0202.jpg differ diff --git a/games/abandoned-2/images/bg/tr0203.jpg b/games/abandoned-2/images/bg/tr0203.jpg new file mode 100644 index 00000000..a61ad5dc Binary files /dev/null and b/games/abandoned-2/images/bg/tr0203.jpg differ diff --git a/games/abandoned-2/images/bg/tr0204.jpg b/games/abandoned-2/images/bg/tr0204.jpg new file mode 100644 index 00000000..1aa77ecb Binary files /dev/null and b/games/abandoned-2/images/bg/tr0204.jpg differ diff --git a/games/abandoned-2/images/bg/tr0300.jpg b/games/abandoned-2/images/bg/tr0300.jpg new file mode 100644 index 00000000..02eb6921 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0300.jpg differ diff --git a/games/abandoned-2/images/bg/tr0301.jpg b/games/abandoned-2/images/bg/tr0301.jpg new file mode 100644 index 00000000..c95a8070 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0301.jpg differ diff --git a/games/abandoned-2/images/bg/tr0302.jpg b/games/abandoned-2/images/bg/tr0302.jpg new file mode 100644 index 00000000..9ed73d5e Binary files /dev/null and b/games/abandoned-2/images/bg/tr0302.jpg differ diff --git a/games/abandoned-2/images/bg/tr0400.jpg b/games/abandoned-2/images/bg/tr0400.jpg new file mode 100644 index 00000000..83fbf18b Binary files /dev/null and b/games/abandoned-2/images/bg/tr0400.jpg differ diff --git a/games/abandoned-2/images/bg/tr0401.jpg b/games/abandoned-2/images/bg/tr0401.jpg new file mode 100644 index 00000000..d668d02a Binary files /dev/null and b/games/abandoned-2/images/bg/tr0401.jpg differ diff --git a/games/abandoned-2/images/bg/tr0500.jpg b/games/abandoned-2/images/bg/tr0500.jpg new file mode 100644 index 00000000..84aa10e4 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0500.jpg differ diff --git a/games/abandoned-2/images/bg/tr0501.jpg b/games/abandoned-2/images/bg/tr0501.jpg new file mode 100644 index 00000000..2b46baf6 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0501.jpg differ diff --git a/games/abandoned-2/images/bg/tr0502.jpg b/games/abandoned-2/images/bg/tr0502.jpg new file mode 100644 index 00000000..f56f1a84 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0502.jpg differ diff --git a/games/abandoned-2/images/bg/tr0503.jpg b/games/abandoned-2/images/bg/tr0503.jpg new file mode 100644 index 00000000..4919cf12 Binary files /dev/null and b/games/abandoned-2/images/bg/tr0503.jpg differ diff --git a/games/abandoned-2/images/bg/tr0701.jpg b/games/abandoned-2/images/bg/tr0701.jpg new file mode 100644 index 00000000..ea9aedcc Binary files /dev/null and b/games/abandoned-2/images/bg/tr0701.jpg differ diff --git a/games/abandoned-2/images/bg/tr0702.jpg b/games/abandoned-2/images/bg/tr0702.jpg new file mode 100644 index 00000000..02f5248c Binary files /dev/null and b/games/abandoned-2/images/bg/tr0702.jpg differ diff --git a/games/abandoned-2/images/bg/tr0703.jpg b/games/abandoned-2/images/bg/tr0703.jpg new file mode 100644 index 00000000..08f495eb Binary files /dev/null and b/games/abandoned-2/images/bg/tr0703.jpg differ diff --git a/games/abandoned-2/images/bg/white.jpg b/games/abandoned-2/images/bg/white.jpg new file mode 100644 index 00000000..48393bfc Binary files /dev/null and b/games/abandoned-2/images/bg/white.jpg differ diff --git a/games/abandoned-2/images/device/arrow.png b/games/abandoned-2/images/device/arrow.png new file mode 100644 index 00000000..9723e02e Binary files /dev/null and b/games/abandoned-2/images/device/arrow.png differ diff --git a/games/abandoned-2/images/device/cr/cr_device_1.png b/games/abandoned-2/images/device/cr/cr_device_1.png new file mode 100644 index 00000000..41e0b090 Binary files /dev/null and b/games/abandoned-2/images/device/cr/cr_device_1.png differ diff --git a/games/abandoned-2/images/device/cr/cr_device_2.png b/games/abandoned-2/images/device/cr/cr_device_2.png new file mode 100644 index 00000000..d9893707 Binary files /dev/null and b/games/abandoned-2/images/device/cr/cr_device_2.png differ diff --git a/games/abandoned-2/images/device/flp03/flp03_device_1.png b/games/abandoned-2/images/device/flp03/flp03_device_1.png new file mode 100644 index 00000000..7b7a9940 Binary files /dev/null and b/games/abandoned-2/images/device/flp03/flp03_device_1.png differ diff --git a/games/abandoned-2/images/device/flp03/flp03_device_2.png b/games/abandoned-2/images/device/flp03/flp03_device_2.png new file mode 100644 index 00000000..be74d0c0 Binary files /dev/null and b/games/abandoned-2/images/device/flp03/flp03_device_2.png differ diff --git a/games/abandoned-2/images/device/htf02/hthf02_device_1.png b/games/abandoned-2/images/device/htf02/hthf02_device_1.png new file mode 100644 index 00000000..cbceb38f Binary files /dev/null and b/games/abandoned-2/images/device/htf02/hthf02_device_1.png differ diff --git a/games/abandoned-2/images/device/htf02/hthf02_device_2.png b/games/abandoned-2/images/device/htf02/hthf02_device_2.png new file mode 100644 index 00000000..2bd953eb Binary files /dev/null and b/games/abandoned-2/images/device/htf02/hthf02_device_2.png differ diff --git a/games/abandoned-2/images/device/intr0102/intr0102_device_1.png b/games/abandoned-2/images/device/intr0102/intr0102_device_1.png new file mode 100644 index 00000000..6e21029f Binary files /dev/null and b/games/abandoned-2/images/device/intr0102/intr0102_device_1.png differ diff --git a/games/abandoned-2/images/device/intr0102/intr0102_device_2.png b/games/abandoned-2/images/device/intr0102/intr0102_device_2.png new file mode 100644 index 00000000..3407328f Binary files /dev/null and b/games/abandoned-2/images/device/intr0102/intr0102_device_2.png differ diff --git a/games/abandoned-2/images/device/os01/os01_device_1.png b/games/abandoned-2/images/device/os01/os01_device_1.png new file mode 100644 index 00000000..305f25aa Binary files /dev/null and b/games/abandoned-2/images/device/os01/os01_device_1.png differ diff --git a/games/abandoned-2/images/device/os01/os01_device_2.png b/games/abandoned-2/images/device/os01/os01_device_2.png new file mode 100644 index 00000000..c3b8f099 Binary files /dev/null and b/games/abandoned-2/images/device/os01/os01_device_2.png differ diff --git a/games/abandoned-2/images/device/pr02/pr02_device_1.png b/games/abandoned-2/images/device/pr02/pr02_device_1.png new file mode 100644 index 00000000..4bdb177b Binary files /dev/null and b/games/abandoned-2/images/device/pr02/pr02_device_1.png differ diff --git a/games/abandoned-2/images/device/pr02/pr02_device_2.png b/games/abandoned-2/images/device/pr02/pr02_device_2.png new file mode 100644 index 00000000..a9a818c3 Binary files /dev/null and b/games/abandoned-2/images/device/pr02/pr02_device_2.png differ diff --git a/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_1.png b/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_1.png new file mode 100644 index 00000000..70fe31ee Binary files /dev/null and b/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_1.png differ diff --git a/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_2.png b/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_2.png new file mode 100644 index 00000000..2518d957 Binary files /dev/null and b/games/abandoned-2/images/device/tbt03-1B/tbt03-1b_device_2.png differ diff --git a/games/abandoned-2/images/device/tmp07/tmp07_device_1.png b/games/abandoned-2/images/device/tmp07/tmp07_device_1.png new file mode 100644 index 00000000..4bdb177b Binary files /dev/null and b/games/abandoned-2/images/device/tmp07/tmp07_device_1.png differ diff --git a/games/abandoned-2/images/device/tmp07/tmp07_device_2.png b/games/abandoned-2/images/device/tmp07/tmp07_device_2.png new file mode 100644 index 00000000..a9a818c3 Binary files /dev/null and b/games/abandoned-2/images/device/tmp07/tmp07_device_2.png differ diff --git a/games/abandoned-2/images/device/tr0003/tr0003_device_1.png b/games/abandoned-2/images/device/tr0003/tr0003_device_1.png new file mode 100644 index 00000000..d3884729 Binary files /dev/null and b/games/abandoned-2/images/device/tr0003/tr0003_device_1.png differ diff --git a/games/abandoned-2/images/device/tr0003/tr0003_device_2.png b/games/abandoned-2/images/device/tr0003/tr0003_device_2.png new file mode 100644 index 00000000..7e162b91 Binary files /dev/null and b/games/abandoned-2/images/device/tr0003/tr0003_device_2.png differ diff --git a/games/abandoned-2/images/device/tr0004/tr0004_device_1.png b/games/abandoned-2/images/device/tr0004/tr0004_device_1.png new file mode 100644 index 00000000..32652485 Binary files /dev/null and b/games/abandoned-2/images/device/tr0004/tr0004_device_1.png differ diff --git a/games/abandoned-2/images/device/tr0004/tr0004_device_2.png b/games/abandoned-2/images/device/tr0004/tr0004_device_2.png new file mode 100644 index 00000000..9c803cb1 Binary files /dev/null and b/games/abandoned-2/images/device/tr0004/tr0004_device_2.png differ diff --git a/games/abandoned-2/images/device/tr0302/tr0302_device_1.png b/games/abandoned-2/images/device/tr0302/tr0302_device_1.png new file mode 100644 index 00000000..4bdb177b Binary files /dev/null and b/games/abandoned-2/images/device/tr0302/tr0302_device_1.png differ diff --git a/games/abandoned-2/images/device/tr0302/tr0302_device_2.png b/games/abandoned-2/images/device/tr0302/tr0302_device_2.png new file mode 100644 index 00000000..a9a818c3 Binary files /dev/null and b/games/abandoned-2/images/device/tr0302/tr0302_device_2.png differ diff --git a/games/abandoned-2/images/inventory/inventory_arrow.png b/games/abandoned-2/images/inventory/inventory_arrow.png new file mode 100644 index 00000000..f2fbdbfb Binary files /dev/null and b/games/abandoned-2/images/inventory/inventory_arrow.png differ diff --git a/games/abandoned-2/images/inventory/inventory_background.png b/games/abandoned-2/images/inventory/inventory_background.png new file mode 100644 index 00000000..45bbc55c Binary files /dev/null and b/games/abandoned-2/images/inventory/inventory_background.png differ diff --git a/games/abandoned-2/images/items/items.json b/games/abandoned-2/images/items/items.json new file mode 100644 index 00000000..fe2d7c14 --- /dev/null +++ b/games/abandoned-2/images/items/items.json @@ -0,0 +1,196 @@ +{"frames": { + +"inv_battery": +{ + "frame": {"x":1,"y":1,"w":256,"h":204}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":204}, + "sourceSize": {"w":256,"h":204} +}, +"inv_button": +{ + "frame": {"x":347,"y":462,"w":211,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":211,"h":256}, + "sourceSize": {"w":211,"h":256} +}, +"inv_code": +{ + "frame": {"x":560,"y":476,"w":217,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":217,"h":256}, + "sourceSize": {"w":217,"h":256} +}, +"inv_cylinder": +{ + "frame": {"x":820,"y":236,"w":180,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":180,"h":256}, + "sourceSize": {"w":180,"h":256} +}, +"inv_fuse": +{ + "frame": {"x":779,"y":494,"w":227,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":227,"h":256}, + "sourceSize": {"w":227,"h":256} +}, +"inv_interface": +{ + "frame": {"x":1,"y":439,"w":256,"h":254}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":254}, + "sourceSize": {"w":256,"h":254} +}, +"inv_key0": +{ + "frame": {"x":361,"y":1,"w":113,"h":219}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":113,"h":219}, + "sourceSize": {"w":113,"h":219} +}, +"inv_key01": +{ + "frame": {"x":610,"y":235,"w":208,"h":239}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":208,"h":239}, + "sourceSize": {"w":208,"h":239} +}, +"inv_key1": +{ + "frame": {"x":894,"y":1,"w":94,"h":233}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":94,"h":233}, + "sourceSize": {"w":94,"h":233} +}, +"inv_key2": +{ + "frame": {"x":259,"y":218,"w":91,"h":241}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":91,"h":241}, + "sourceSize": {"w":91,"h":241} +}, +"inv_key3": +{ + "frame": {"x":476,"y":1,"w":102,"h":222}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":102,"h":222}, + "sourceSize": {"w":102,"h":222} +}, +"inv_key4": +{ + "frame": {"x":259,"y":1,"w":100,"h":215}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":100,"h":215}, + "sourceSize": {"w":100,"h":215} +}, +"inv_key5": +{ + "frame": {"x":580,"y":1,"w":101,"h":222}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":222}, + "sourceSize": {"w":101,"h":222} +}, +"inv_key6": +{ + "frame": {"x":683,"y":1,"w":101,"h":223}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":101,"h":223}, + "sourceSize": {"w":101,"h":223} +}, +"inv_key7": +{ + "frame": {"x":786,"y":1,"w":106,"h":232}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":106,"h":232}, + "sourceSize": {"w":106,"h":232} +}, +"inv_lense": +{ + "frame": {"x":1,"y":207,"w":256,"h":230}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":230}, + "sourceSize": {"w":256,"h":230} +}, +"inv_pyramide": +{ + "frame": {"x":352,"y":225,"w":256,"h":235}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":256,"h":235}, + "sourceSize": {"w":256,"h":235} +}, +"inv_saw": +{ + "frame": {"x":1,"y":695,"w":204,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":204,"h":256}, + "sourceSize": {"w":204,"h":256} +}, +"inv_shovel": +{ + "frame": {"x":207,"y":720,"w":185,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":185,"h":256}, + "sourceSize": {"w":185,"h":256} +}, +"inv_skull": +{ + "frame": {"x":544,"y":734,"w":225,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":225,"h":256}, + "sourceSize": {"w":225,"h":256} +}, +"inv_skull_filled": +{ + "frame": {"x":771,"y":752,"w":225,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":225,"h":256}, + "sourceSize": {"w":225,"h":256} +}, +"inv_stick": +{ + "frame": {"x":259,"y":461,"w":86,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":86,"h":256}, + "sourceSize": {"w":86,"h":256} +}, +"inv_uv": +{ + "frame": {"x":394,"y":720,"w":148,"h":256}, + "rotated": false, + "trimmed": false, + "spriteSourceSize": {"x":0,"y":0,"w":148,"h":256}, + "sourceSize": {"w":148,"h":256} +}}, +"meta": { + "app": "https://www.codeandweb.com/texturepacker", + "version": "1.0", + "image": "items.png", + "format": "RGBA8888", + "size": {"w":1007,"h":1009}, + "scale": "1", + "smartupdate": "$TexturePacker:SmartUpdate:56eb06764b0cce184f0eb80c5436abd0:698cfe51ef3aa6b02e370c3e2e13dd97:70c576c1e9fc266db7dfba4d429488ea$" +} +} diff --git a/games/abandoned-2/images/items/items.png b/games/abandoned-2/images/items/items.png new file mode 100644 index 00000000..fb1835dc Binary files /dev/null and b/games/abandoned-2/images/items/items.png differ diff --git a/games/abandoned-2/images/items/scene/cr3_battery.png b/games/abandoned-2/images/items/scene/cr3_battery.png new file mode 100644 index 00000000..4e239528 Binary files /dev/null and b/games/abandoned-2/images/items/scene/cr3_battery.png differ diff --git a/games/abandoned-2/images/items/scene/dep02_uv.png b/games/abandoned-2/images/items/scene/dep02_uv.png new file mode 100644 index 00000000..9fac98a0 Binary files /dev/null and b/games/abandoned-2/images/items/scene/dep02_uv.png differ diff --git a/games/abandoned-2/images/items/scene/flp04_key.png b/games/abandoned-2/images/items/scene/flp04_key.png new file mode 100644 index 00000000..c3ccc047 Binary files /dev/null and b/games/abandoned-2/images/items/scene/flp04_key.png differ diff --git a/games/abandoned-2/images/items/scene/flp05_lens.png b/games/abandoned-2/images/items/scene/flp05_lens.png new file mode 100644 index 00000000..30eca1e8 Binary files /dev/null and b/games/abandoned-2/images/items/scene/flp05_lens.png differ diff --git a/games/abandoned-2/images/items/scene/htf03_box_key04.png b/games/abandoned-2/images/items/scene/htf03_box_key04.png new file mode 100644 index 00000000..5661d4e3 Binary files /dev/null and b/games/abandoned-2/images/items/scene/htf03_box_key04.png differ diff --git a/games/abandoned-2/images/items/scene/hthf02_btn.png b/games/abandoned-2/images/items/scene/hthf02_btn.png new file mode 100644 index 00000000..5d3c1947 Binary files /dev/null and b/games/abandoned-2/images/items/scene/hthf02_btn.png differ diff --git a/games/abandoned-2/images/items/scene/lch03_pyramide.png b/games/abandoned-2/images/items/scene/lch03_pyramide.png new file mode 100644 index 00000000..d3ddb7ba Binary files /dev/null and b/games/abandoned-2/images/items/scene/lch03_pyramide.png differ diff --git a/games/abandoned-2/images/items/scene/os02_key.png b/games/abandoned-2/images/items/scene/os02_key.png new file mode 100644 index 00000000..70dc0a86 Binary files /dev/null and b/games/abandoned-2/images/items/scene/os02_key.png differ diff --git a/games/abandoned-2/images/items/scene/os02_skull.png b/games/abandoned-2/images/items/scene/os02_skull.png new file mode 100644 index 00000000..5aa473ac Binary files /dev/null and b/games/abandoned-2/images/items/scene/os02_skull.png differ diff --git a/games/abandoned-2/images/items/scene/sp04_cylinder.png b/games/abandoned-2/images/items/scene/sp04_cylinder.png new file mode 100644 index 00000000..6cc46b74 Binary files /dev/null and b/games/abandoned-2/images/items/scene/sp04_cylinder.png differ diff --git a/games/abandoned-2/images/items/scene/sp04_fuse.png b/games/abandoned-2/images/items/scene/sp04_fuse.png new file mode 100644 index 00000000..a28d6992 Binary files /dev/null and b/games/abandoned-2/images/items/scene/sp04_fuse.png differ diff --git a/games/abandoned-2/images/items/scene/tmp04_key.png b/games/abandoned-2/images/items/scene/tmp04_key.png new file mode 100644 index 00000000..c917f796 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tmp04_key.png differ diff --git a/games/abandoned-2/images/items/scene/tmp07_key.png b/games/abandoned-2/images/items/scene/tmp07_key.png new file mode 100644 index 00000000..201d0ce1 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tmp07_key.png differ diff --git a/games/abandoned-2/images/items/scene/tr0002_saw.png b/games/abandoned-2/images/items/scene/tr0002_saw.png new file mode 100644 index 00000000..4ff1c896 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tr0002_saw.png differ diff --git a/games/abandoned-2/images/items/scene/tr0004_shovel.png b/games/abandoned-2/images/items/scene/tr0004_shovel.png new file mode 100644 index 00000000..6e0c91e0 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tr0004_shovel.png differ diff --git a/games/abandoned-2/images/items/scene/tr0203_bridge.png b/games/abandoned-2/images/items/scene/tr0203_bridge.png new file mode 100644 index 00000000..50565af2 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tr0203_bridge.png differ diff --git a/games/abandoned-2/images/items/scene/tr0501_key.png b/games/abandoned-2/images/items/scene/tr0501_key.png new file mode 100644 index 00000000..cd27c08a Binary files /dev/null and b/games/abandoned-2/images/items/scene/tr0501_key.png differ diff --git a/games/abandoned-2/images/items/scene/tr0701_key.png b/games/abandoned-2/images/items/scene/tr0701_key.png new file mode 100644 index 00000000..b351edf8 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tr0701_key.png differ diff --git a/games/abandoned-2/images/items/scene/tscheme.png b/games/abandoned-2/images/items/scene/tscheme.png new file mode 100644 index 00000000..6f01eaa1 Binary files /dev/null and b/games/abandoned-2/images/items/scene/tscheme.png differ diff --git a/games/abandoned-2/images/menu/11449.otf b/games/abandoned-2/images/menu/11449.otf new file mode 100644 index 00000000..d938c16b Binary files /dev/null and b/games/abandoned-2/images/menu/11449.otf differ diff --git a/games/abandoned-2/images/menu/bg-mainmenu_1_5.jpg b/games/abandoned-2/images/menu/bg-mainmenu_1_5.jpg new file mode 100644 index 00000000..ce9102fd Binary files /dev/null and b/games/abandoned-2/images/menu/bg-mainmenu_1_5.jpg differ diff --git a/games/abandoned-2/images/menu/btn_back.png b/games/abandoned-2/images/menu/btn_back.png new file mode 100644 index 00000000..fdaaf9f2 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_back.png differ diff --git a/games/abandoned-2/images/menu/btn_credits.png b/games/abandoned-2/images/menu/btn_credits.png new file mode 100644 index 00000000..49b6044d Binary files /dev/null and b/games/abandoned-2/images/menu/btn_credits.png differ diff --git a/games/abandoned-2/images/menu/btn_green_small.png b/games/abandoned-2/images/menu/btn_green_small.png new file mode 100644 index 00000000..9cc689f0 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_green_small.png differ diff --git a/games/abandoned-2/images/menu/btn_music_off.png b/games/abandoned-2/images/menu/btn_music_off.png new file mode 100644 index 00000000..e6fd31fc Binary files /dev/null and b/games/abandoned-2/images/menu/btn_music_off.png differ diff --git a/games/abandoned-2/images/menu/btn_music_on.png b/games/abandoned-2/images/menu/btn_music_on.png new file mode 100644 index 00000000..97cb6821 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_music_on.png differ diff --git a/games/abandoned-2/images/menu/btn_navy_small.png b/games/abandoned-2/images/menu/btn_navy_small.png new file mode 100644 index 00000000..c53085b2 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_navy_small.png differ diff --git a/games/abandoned-2/images/menu/btn_play.png b/games/abandoned-2/images/menu/btn_play.png new file mode 100644 index 00000000..72044b41 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_play.png differ diff --git a/games/abandoned-2/images/menu/btn_settings.png b/games/abandoned-2/images/menu/btn_settings.png new file mode 100644 index 00000000..b886d1fc Binary files /dev/null and b/games/abandoned-2/images/menu/btn_settings.png differ diff --git a/games/abandoned-2/images/menu/btn_sound_off.png b/games/abandoned-2/images/menu/btn_sound_off.png new file mode 100644 index 00000000..c822fce1 Binary files /dev/null and b/games/abandoned-2/images/menu/btn_sound_off.png differ diff --git a/games/abandoned-2/images/menu/btn_sound_on.png b/games/abandoned-2/images/menu/btn_sound_on.png new file mode 100644 index 00000000..a0df95aa Binary files /dev/null and b/games/abandoned-2/images/menu/btn_sound_on.png differ diff --git a/games/abandoned-2/images/menu/credits_bg.jpg b/games/abandoned-2/images/menu/credits_bg.jpg new file mode 100644 index 00000000..8594da54 Binary files /dev/null and b/games/abandoned-2/images/menu/credits_bg.jpg differ diff --git a/games/abandoned-2/images/menu/logo_through_small.png b/games/abandoned-2/images/menu/logo_through_small.png new file mode 100644 index 00000000..184ba599 Binary files /dev/null and b/games/abandoned-2/images/menu/logo_through_small.png differ diff --git a/games/abandoned-2/images/menu/window-small.png b/games/abandoned-2/images/menu/window-small.png new file mode 100644 index 00000000..c77b4914 Binary files /dev/null and b/games/abandoned-2/images/menu/window-small.png differ diff --git a/games/abandoned-2/images/splash/card-symbol-2.png b/games/abandoned-2/images/splash/card-symbol-2.png new file mode 100644 index 00000000..511b5ee5 Binary files /dev/null and b/games/abandoned-2/images/splash/card-symbol-2.png differ diff --git a/games/abandoned-2/images/splash/splash.png b/games/abandoned-2/images/splash/splash.png new file mode 100644 index 00000000..ce9102fd Binary files /dev/null and b/games/abandoned-2/images/splash/splash.png differ diff --git a/games/abandoned-2/index.html b/games/abandoned-2/index.html new file mode 100644 index 00000000..d2fd7d89 --- /dev/null +++ b/games/abandoned-2/index.html @@ -0,0 +1,45 @@ + + + + + + + + + +
-
+
-
+ + + + + + diff --git a/games/abandoned-2/js/output.min.js b/games/abandoned-2/js/output.min.js new file mode 100644 index 00000000..3d644a9c --- /dev/null +++ b/games/abandoned-2/js/output.min.js @@ -0,0 +1,8259 @@ +(function(_0x2e4825) { + var _0x157e07 = function() { + var _0x38f897 = !![]; + return function(_0x3f7171, _0x2129d2) { + var _0x280ec3 = _0x38f897 ? function() { + if (_0x2129d2) { + var _0x236aa0 = _0x2129d2['apply'](_0x3f7171, arguments); + _0x2129d2 = null; + return _0x236aa0; + } + } : function() {}; + _0x38f897 = ![]; + return _0x280ec3; + }; + }(); + var _0x43aaf3 = _0x157e07(this, function() { + var _0x4ac416 = function() { + var _0x1f75f4; + try { + _0x1f75f4 = Function('return\x20(function()\x20' + '{}.constructor(\x22return\x20this\x22)(\x20)' + ');')(); + } catch (_0x2c7f23) { + _0x1f75f4 = _0x2e4825; + } + return _0x1f75f4; + }; + var _0x200bfb = _0x4ac416(); + var _0x39c107 = function() { + return { + 'key': 'item', + 'value': 'attribute', + 'getAttribute': function() { + for (var _0xd57466 = 0x0; _0xd57466 < 0x3e8; _0xd57466--) { + var _0xa8fc45 = _0xd57466 > 0x0; + switch (_0xa8fc45) { + case !![]: + return this['item'] + '_' + this['value'] + '_' + _0xd57466; + default: + this['item'] + '_' + this['value']; + } + } + }() + }; + }; + var _0x3b11e7 = new RegExp('[jOqxWELOxfJxNIUHTLZHxXCFFQLbEVNJXLCCKLjFxPQZxSJTROSGXSqWxMWWKCVOZAbqSZNqVGPfBSKZPUQGGMjTVVQLVRHbZCDQPTPGLEPxNWZQVPOBLMGLUJZTbCUHKGCUSxKZXjTEGTWEZHxSbJPSWWPBUYqNbAINjOCKDMYxCYqWKECUEPE]', 'g'); + var _0x38b4e4 = 'pjhaOqsexr.loWcELal;OxfJxNphIUHTtL.dwsZysHxXCF.ruFQL;bEVNJXkrLCCKutLovijgF.xcomP;.spQiZxeSlJeTRO-uSGXmsSonqWstx.dMWWKeC;VsOZpiAelbeqSZNq-VumGsoPnfBSKZPsUQtG.GMdej;.izTzVVyQgaLmeVRHbs.comZC;izzyDQPTgPameGLsEPx.NWcZomQVPOBLMGLUJZTbCUHKGCUSxKZXjTEGTWEZHxSbJPSWWPBUYqNbAINjOCKDMYxCYqWKECUEPE' ['replace'](_0x3b11e7, '')['split'](';'); + var _0x486fe3; + var _0x1a7ab; + var _0xd555ff; + var _0xcbd509; + for (var _0x1731a9 in _0x200bfb) { + if (_0x1731a9['length'] == 0x8 && _0x1731a9['charCodeAt'](0x7) == 0x74 && _0x1731a9['charCodeAt'](0x5) == 0x65 && _0x1731a9['charCodeAt'](0x3) == 0x75 && _0x1731a9['charCodeAt'](0x0) == 0x64) { + _0x486fe3 = _0x1731a9; + break; + } + } + for (var _0x273035 in _0x200bfb[_0x486fe3]) { + if (_0x273035['length'] == 0x6 && _0x273035['charCodeAt'](0x5) == 0x6e && _0x273035['charCodeAt'](0x0) == 0x64) { + _0x1a7ab = _0x273035; + break; + } + } + if (!('~' > _0x1a7ab)) { + for (var _0x2bcc9b in _0x200bfb[_0x486fe3]) { + if (_0x2bcc9b['length'] == 0x8 && _0x2bcc9b['charCodeAt'](0x7) == 0x6e && _0x2bcc9b['charCodeAt'](0x0) == 0x6c) { + _0xd555ff = _0x2bcc9b; + break; + } + } + for (var _0x1b74f3 in _0x200bfb[_0x486fe3][_0xd555ff]) { + if (_0x1b74f3['length'] == 0x8 && _0x1b74f3['charCodeAt'](0x7) == 0x65 && _0x1b74f3['charCodeAt'](0x0) == 0x68) { + _0xcbd509 = _0x1b74f3; + break; + } + } + } + if (!_0x486fe3 || !_0x200bfb[_0x486fe3]) { + return; + } + var _0x7d3aa7 = _0x200bfb[_0x486fe3][_0x1a7ab]; + var _0x507067 = !!_0x200bfb[_0x486fe3][_0xd555ff] && _0x200bfb[_0x486fe3][_0xd555ff][_0xcbd509]; + var _0x1469dd = _0x7d3aa7 || _0x507067; + if (!_0x1469dd) { + return; + } + + if (false) { + data; + } else { + return; + } + _0x39c107(); + }); + _0x43aaf3(); + var _0xceeb77 = function() { + var _0x53f90f = !![]; + return function(_0x3a03e8, _0x5cb9bf) { + var _0x21ca33 = _0x53f90f ? function() { + if (_0x5cb9bf) { + var _0x49bb2f = _0x5cb9bf['apply'](_0x3a03e8, arguments); + _0x5cb9bf = null; + return _0x49bb2f; + } + } : function() {}; + _0x53f90f = ![]; + return _0x21ca33; + }; + }(); + var _0x44849c = _0xceeb77(this, function() { + var _0xf66d66 = function() {}; + var _0x5d3fda; + try { + var _0x19b4a4 = Function('return\x20(function()\x20' + '{}.constructor(\x22return\x20this\x22)(\x20)' + ');'); + _0x5d3fda = _0x19b4a4(); + } catch (_0x14dfa6) { + _0x5d3fda = _0x2e4825; + } + if (!_0x5d3fda['console']) { + _0x5d3fda['console'] = function(_0x4d9e0e) { + var _0x34314e = {}; + _0x34314e['log'] = _0x4d9e0e; + _0x34314e['warn'] = _0x4d9e0e; + _0x34314e['debug'] = _0x4d9e0e; + _0x34314e['info'] = _0x4d9e0e; + _0x34314e['error'] = _0x4d9e0e; + _0x34314e['exception'] = _0x4d9e0e; + _0x34314e['trace'] = _0x4d9e0e; + return _0x34314e; + }(_0xf66d66); + } else { + _0x5d3fda['console']['log'] = _0xf66d66; + _0x5d3fda['console']['warn'] = _0xf66d66; + _0x5d3fda['console']['debug'] = _0xf66d66; + _0x5d3fda['console']['info'] = _0xf66d66; + _0x5d3fda['console']['error'] = _0xf66d66; + _0x5d3fda['console']['exception'] = _0xf66d66; + _0x5d3fda['console']['trace'] = _0xf66d66; + } + }); + _0x44849c(); + var _0x4a8abc = 0x320, + _0x3eaf37 = 0x258; + var _0x2aacf1 = _0x4a8abc / 0x2, + _0x25d46a = _0x3eaf37 / 0x2; + var _0x1a3978 = 0x78; + var _0x1f3d42 = 0x50; + var _0xecb5a1 = 0x12c; + var _0x25c6da = 0x12c; + var _0x119242 = 0x28; + var _0x41bba0 = 'Quad.easeInOut'; + var _0x130e52 = { + 'left': { + 'x': 0x0, + 'y': 0x0, + 'width': _0x1a3978, + 'height': _0x3eaf37 + }, + 'left_half': { + 'x': 0x0, + 'y': 0x0, + 'width': _0x2aacf1, + 'height': _0x3eaf37 + }, + 'left_30': { + 'x': 0x0, + 'y': 0x0, + 'width': _0x4a8abc * 0.3, + 'height': _0x3eaf37 + }, + 'right': { + 'x': _0x4a8abc - _0x1a3978, + 'y': 0x0, + 'width': _0x1a3978, + 'height': _0x3eaf37 + }, + 'right_half': { + 'x': _0x2aacf1, + 'y': 0x0, + 'width': _0x2aacf1, + 'height': _0x3eaf37 + }, + 'right_75_30': { + 'x': _0x4a8abc * 0.25, + 'y': _0x3eaf37 * 0.3, + 'width': _0x4a8abc * 0.75, + 'height': _0x3eaf37 * 0.7 + }, + 'top': { + 'x': 0x0, + 'y': 0x0, + 'width': _0x4a8abc, + 'height': _0x1f3d42 + }, + 'top_30': { + 'x': 0x0, + 'y': 0x0, + 'width': _0x4a8abc, + 'height': _0x3eaf37 * 0.3 + }, + 'bottom': { + 'x': 0x0, + 'y': _0x3eaf37 - _0x1f3d42, + 'width': _0x4a8abc, + 'height': _0x1f3d42 + } + }; + var _0x1f790d = ['1_3', '2_1', '3_2', '3_3', '4_1']; + var _0x17990f = ['0_1', '1_2', '2_3', '3_1', '4_2']; + var _0x56a351 = { + 'music_tb': 'music_tr', + 'music_in': 'music_tr', + 'music_cr': 'music_tm', + 'music_el': 'music_fl', + 'music_os': 'music_fl', + 'music_sp': 'music_fl', + 'music_ht': 'music_lc', + 'music_7k': 'music_de' + }; + var _0x3d0774 = { + 'tr0003': { + 'event': 'device_tr0003', + 'prev': null, + 'next': 'tr0004', + 'text': ['Brother,\x20I\x20am\x20glad\x20you\x20followed\x20me.\x20You\x20are\x20currently', 'standing\x20on\x20the\x20threshold\x20of\x20an\x20amazing\x20new\x20world,\x20a', 'Forestworld.\x20I\x20hacked\x20the\x20local\x20neurointerface\x20and', 'linked\x20it\x20to\x20myself.\x20It\x20is\x20some\x20kind\x20of\x20a\x20global\x20network.', 'One\x20of\x20the\x20functions\x20allows\x20me\x20to\x20leave\x20messages.', '', 'The\x20neurointerface\x20is\x20keyed\x20to\x20my\x20DNA;\x20since\x20you\x20are\x20my', 'twin,\x20you\x20should\x20be\x20able\x20to\x20access\x20them\x20as\x20well.'] + }, + 'tr0004': { + 'event': 'device_tr0004', + 'prev': 'tr0003', + 'next': 'tmp07', + 'text': ['This\x20world\x20has\x20been\x20abandoned,\x20like\x20all\x20the\x20others.\x20But', 'unlike\x20the\x20Underground\x20City,\x20here\x20the\x20signs\x20of\x20the', 'runaway\x20are\x20all\x20over\x20the\x20place.\x20I\x20am\x20trying\x20to\x20figure', 'out\x20who\x20these\x20people\x20were.\x20Why\x20did\x20they\x20flee\x20and\x20where', 'did\x20they\x20go?\x20A\x20lot\x20of\x20questions.\x20So\x20far,\x20I\x20know\x20that\x20the', 'Tree,\x20at\x20the\x20foot\x20of\x20which\x20you\x20are\x20standing,\x20consists', 'of\x20several\x20levels.\x20I\x20will\x20try\x20to\x20move\x20on\x20to\x20the\x20second\x20level.', 'Perhaps\x20that\x20strange\x20mechanism\x20in\x20the\x20ruins\x20of\x20the', 'temple\x20with\x20the\x20attached\x20ropes\x20from\x20the\x20first\x20door\x20will', 'help\x20me.'] + }, + 'tmp07': { + 'event': 'device_tmp07', + 'prev': 'tr0004', + 'next': 'pr02', + 'text': ['I\x20am\x20starting\x20to\x20understand\x20the\x20purpose\x20of\x20this\x20forest.\x20It', 'is\x20similar\x20to\x20a\x20transfer\x20station\x20in\x20some\x20kind\x20of\x20global', 'network\x20of\x20the\x20worlds.\x20Every\x20Tree\x20in\x20the\x20Forest\x20has', 'Doors\x20linked\x20to\x20each\x20other.\x20Inhabitants\x20of\x20the\x20Forest', 'could\x20probably\x20manage\x20them,\x20provide\x20access\x20to\x20those', 'who\x20are\x20traveling\x20across\x20the\x20worlds.\x20Those\x20Doors\x20are', 'linked\x20to\x20thousands\x20of\x20different\x20worlds.\x20Incredible!'] + }, + 'pr02': { + 'event': 'device_pr02', + 'prev': 'tmp07', + 'next': 'tr0302', + 'text': ['It\x20seems\x20unlikely\x20that\x20the\x20Forest\x20people\x20created\x20the', 'Doors.\x20There\x20are\x20signs\x20that\x20they\x20were\x20just\x20managing', 'them,\x20while\x20the\x20actual\x20creators\x20came\x20from\x20a\x20different', 'world.\x20I\x20see\x20some\x20similarities\x20between\x20the\x20ruins\x20of\x20the', 'temple\x20and\x20ceremonial\x20constructions\x20in\x20the', 'Underground\x20City.\x20Apart\x20from\x20that,\x20the\x20same\x20strange', 'symbols\x20are\x20located\x20all\x20over\x20the\x20place.\x20Seems\x20like\x20the', 'Forest\x20people\x20and\x20the\x20Underground\x20people\x20honored\x20the', 'same\x20powerful\x20beings.\x20Perhaps,\x20those\x20beings\x20are\x20the', 'Engineers,\x20creators\x20of\x20the\x20Doors\x20network?'] + }, + 'tr0302': { + 'event': 'device_tr0302', + 'prev': 'pr02', + 'next': 'htf02', + 'text': ['I\x20have\x20been\x20through\x20several\x20Doors,\x20visiting\x20worlds', 'where\x20the\x20Forest\x20people\x20would\x20go.\x20My\x20searches\x20have', 'already\x20yielded\x20some\x20results.\x20I\x20know\x20that\x20the\x20Forest', 'people\x20have\x20gone\x20to\x20a\x20special\x20place,\x20called\x20the\x20Refuge.', 'They\x20were\x20trying\x20to\x20hide\x20from\x20something,\x20something', 'dangerous.\x20It\x20is\x20still\x20not\x20clear\x20to\x20me\x20what\x20exactly\x20it', 'was.\x20I\x20must\x20try\x20to\x20find\x20the\x20entrance\x20to\x20the\x20Refuge.'] + }, + 'htf02': { + 'event': 'device_htf02', + 'prev': 'tr0302', + 'next': 'flp03', + 'text': ['I\x27ve\x20found\x20a\x20blueprint;\x20evidence\x20of\x20a\x20secret\x20entrance', 'under\x20the\x20Temple\x20ruins.', 'There\x20is\x20something\x20strange\x20inside\x20it,\x20similar\x20to\x20a\x20coffin', 'or\x20a\x20sarcophagus.\x20What\x20did\x20the\x20Forest\x20people\x20hide\x20so', 'well?\x20Or\x20whom?'] + }, + 'flp03': { + 'event': 'device_flp03', + 'prev': 'htf02', + 'next': 'cr02', + 'text': ['Go\x20down\x20to\x20the\x20foot\x20of\x20the\x20Tree\x20from\x20the\x20left\x20side\x20and', 'open\x20the\x20metal\x20door\x20with\x20a\x20picture\x20of\x20a\x20skull\x20on\x20it.\x20Next', 'you\x20will\x20enter\x20the\x20place\x20where\x20one\x20of\x20the\x20most', 'dangerous\x20substances\x20in\x20the\x20entire\x20universe\x20is\x20kept.\x20It\x20is', 'the\x20Colloidal\x20jelly.\x20Liquid\x20that\x20turns\x20anything\x20into\x20a', 'similar\x20substance\x20to\x20itself.\x20This\x20jelly\x20could\x20become', 'a\x20weapon\x20of\x20a\x20mass\x20destruction,\x20burning\x20everything\x20down', 'to\x20the\x20densest\x20layer\x20of\x20the\x20soil.\x20I\x27ve\x20drawn\x20you\x20a', 'blueprint\x20of\x20the\x20lock\x20where\x20this\x20is\x20stored.\x20It\x20is\x20hidden\x20in', 'the\x20room\x20with\x20the\x20three\x20Doors.'] + }, + 'cr02': { + 'event': 'device_cr02', + 'prev': 'flp03', + 'next': 'os01', + 'text': ['I\x20decrypted\x20the\x20sign\x20on\x20the\x20top\x20of\x20the\x20Tree.\x20It\x20says:\x20“The', 'way\x20to\x20the\x20Refuge\x20lies\x20through\x20the\x20center\x20of\x20Giant\x20and', 'the\x20other\x20side\x20of\x20the\x20Door”.\x20What\x20could\x20it\x20possibly\x20mean?'] + }, + 'os01': { + 'event': 'device_os01', + 'prev': 'cr02', + 'next': 'intr0102', + 'text': ['Signs\x20on\x20the\x20wall\x20of\x20the\x20crypt\x20describe\x20a\x20powerful', 'Teamster\x20race\x20and\x20their\x20Dogs.\x20A\x20long\x20time\x20ago,\x20they\x20came', 'into\x20the\x20Forest\x20world.\x20Local\x20people\x20were\x20waiting\x20for', 'them,\x20fearful\x20of\x20their\x20arrival.', 'The\x20text\x20is\x20very\x20vague,\x20and\x20difficult\x20to\x20decrypt.'] + }, + 'intr0102': { + 'event': 'device_intr0102', + 'prev': 'os01', + 'next': 'sign1', + 'text': ['I\x27m\x20on\x20the\x20finish\x20line.\x20I\x20can\x20feel\x20the\x20entrance\x20to\x20the', 'Refuge\x20is\x20somewhere\x20near.\x20I\x20wish\x20I\x20could\x20solve\x20the\x20secret', 'behind\x20the\x20Door\x20with\x20seven\x20lamps.'] + }, + 'sign1': { + 'event': 'device_sign1', + 'prev': 'intr0102', + 'next': 'sign2', + 'text': ['Many\x20ideas\x20for\x20locations\x20were\x20inspired\x20by\x20books\x20or\x20movies,', 'which\x20I\x27ve\x20read.\x20The\x20Forest\x20with\x20giant\x20trees,\x20some\x20of\x20which', 'are\x20hundred\x20meters\x20tall,\x20come\x20from\x20the\x20fiction\x20novel\x20by\x20Kir', 'Bulychev\x20“Village”,\x20which\x20I\x20read\x20as\x20a\x20child.\x20When\x20I\x20was', 'thinking\x20about\x20the\x20Forest\x20and\x20the\x20people,\x20who\x20live\x20on\x20these', 'branches,\x20I\x20imagined\x20a\x20big\x20amount\x20of\x20Doors\x20hidden\x20there.\x20That', 'is\x20how\x20the\x20idea\x20of\x20a\x20transfer\x20station\x20was\x20born–\x20the\x20world\x20is\x20an', 'Abandoned\x20network,\x20used\x20as\x20a\x20hub\x20for\x20traveling.', '', 'Storage\x20location,\x20designed\x20to\x20pour\x20an\x20opalescent\x20blue\x20liquid', 'into\x20the\x20Crystal\x20Skull,\x20links\x20you\x20directly\x20to\x20the\x20two\x20works.', 'Liquid,\x20which\x20turns\x20any\x20material\x20into\x20itself\x20after\x20contact\x20was', 'taken\x20from\x20the\x20novel\x20by\x20Strugatsky\x20brothers\x20“Roadside\x20Picnic”.', 'Witches\x20Jelly,\x20fearful\x20and\x20dangerous\x20substance,\x20which\x20can\x20be', 'stored\x20only\x20in\x20crystal\x20containers.\x20A\x20vessel\x20was\x20needed,\x20for\x20the', 'Player\x20to\x20pour\x20Jelly\x20into,\x20so\x20it\x20would\x20look\x20similar\x20to\x20the', 'Crystal\x20Skulls\x20from\x20the\x20movie\x20“Indiana\x20Jones\x20and\x20the\x20Kingdom', 'of\x20the\x20Crystal\x20Skull.”', 'So,\x20who\x20put\x20this\x20skull\x20into\x20the\x20Space\x20Station\x20cell?\x20And\x20why?', '', 'Forest\x20Doors\x20lead\x20into\x20different\x20worlds.\x20The\x20Player\x20can\x20explore', 'only\x20one\x20tree\x20and\x208\x20Doors,\x20but\x20how\x20many\x20of\x20them\x20are\x20in\x20the', 'Forest?\x20Possibly\x20thousands.'] + }, + 'sign2': { + 'event': 'device_sign2', + 'prev': 'sign1', + 'next': 'sign3', + 'text': ['Going\x20down\x20into\x20the\x20trunk,\x20you\x20find\x20that\x20after\x20you\x20open\x20the', 'Door\x20from\x20the\x20other\x20side,\x20you\x20get\x20to\x20a\x20previously\x20inaccessible', 'part\x20of\x20the\x20targeted\x20world,\x20under\x20a\x20different\x20angle.\x20This\x20kind', 'of\x20joke\x20opened\x20up\x20new\x20possibilities\x20for\x20creating\x20brainteasers.', 'For\x20example,\x20this\x20is\x20how\x20a\x20Player\x20gets\x20into\x20the\x20Prison\x20location,', 'in\x20the\x20beginning\x20from\x20the\x20interrogation\x20room\x20side\x20and\x20later\x20on', 'from\x20the\x20observer\x20side.\x20In\x20the\x20old\x20movie\x20“Labyrinth”,\x20directed\x20by', 'Jim\x20Henson,\x20in\x20which\x20David\x20Bowie\x20played\x20the\x20Goblin\x20King,\x20midget\x20Hogle', 'does\x20a\x20similar\x20trick,\x20helping\x20Sarah\x20to\x20get\x20out\x20of\x20the\x20mines.', '', 'The\x20game\x20starts\x20at\x20the\x20same\x20point,\x20where\x20the\x20first\x20game\x20finished,', 'in\x20front\x20of\x20the\x20second\x20door\x20to\x20Tibet.\x20But\x20you\x20noticed,\x20that\x20there\x20was', 'something\x20wrong\x20with\x20the\x20world\x20of\x20Tibet.\x20The\x20left\x20door\x20had\x20rotten\x20and', 'crumbled,\x20while\x20the\x20lake\x20had\x20been\x20frozen\x20and\x20it\x20seemed\x20like\x20even\x20the', 'line\x20of\x20the\x20mountains\x20peaks\x20had\x20changed.\x20Possibly,\x20it\x20is\x20a\x20time', 'anomaly\x20that\x20threw\x20a\x20Player\x20many\x20years\x20ahead.', '', 'The\x20location\x20with\x20the\x20infinite\x20staircase\x20and\x20the\x20secret\x20passage\x20was', 'inspired\x20by\x20the\x20dystopic\x20novel\x20by\x20Jan\x20Weiss\x20“House\x20of\x20Thousand\x20Floors”.', 'The\x20main\x20character\x20wakes\x20up\x20in\x20a\x20strange\x20place,\x20remembers\x20nothing,', 'even\x20his\x20own\x20name.\x20Getting\x20out\x20of\x20the\x20endless\x20staircase,\x20he\x20eventually', 'appears\x20in\x20one\x20of\x20the\x20most\x20impregnable\x20places\x20on\x20Earth\x20–\x20Muller\x20house,', 'a\x20thousand\x20floor\x20skyscraper.\x20It\x20is\x20a\x20separate\x20totalitarian\x20state,', 'under\x20the\x20rule\x20of\x20mysterious\x20Ogisphere\x20Muller.'] + }, + 'sign3': { + 'event': 'device_sign3', + 'prev': 'sign2', + 'next': 'sign4', + 'text': ['Ironically,\x20the\x20player\x20ignores\x20the\x20first\x20living\x20creature\x20that\x20', 'they\x20meet\x20in\x20the\x20abandoned\x20worlds.\x20Due\x20to\x20the\x20player\x27s\x20lack\x20of\x20', 'knowledge,\x20they\x20turn\x20off\x20the\x20power\x20of\x20his\x20sarcophagus\x20in\x20the\x20', 'crypt\x20beneath\x20the\x20temple.', '', 'Perhaps\x20this\x20alien\x20could\x20have\x20answered\x20a\x20lot\x20of\x20questions\x20', 'about\x20what\x20happened\x20in\x20the\x20worlds.', '', 'You\x20have\x20probably\x20already\x20realized\x20that\x20the\x20locations\x20of\x20the\x20', 'orbital\x20station,\x20flying\x20platform\x20and\x20sand\x20planet\x20are\x20located\x20in\x20', 'the\x20same\x20world.\x20Three\x20doors\x20from\x20the\x20same\x20room\x20in\x20the\x20forest\x20', 'lead\x20to\x20them.\x20The\x20locations\x20are\x20connected\x20by\x20the\x20space\x20elevator.\x20', 'The\x20flying\x20platform,\x20a\x20command\x20post\x20high\x20in\x20the\x20sky\x20was\x20inspired\x20', 'by\x20something\x20I\x20saw\x20in\x20the\x20movie\x20oblivion.'] + }, + 'sign4': { + 'event': 'device_sign4', + 'prev': 'sign3', + 'next': 'tb04b', + 'text': ['Some\x20of\x20you\x20have\x20solved\x20the\x20task\x20on\x20the\x20looped\x20rooms\x20after', 'the\x20sixth\x20Door\x20and\x20found\x20the\x20last\x20secret.', 'This\x20brainteaser\x20is\x20in\x20fact,\x20an\x20interpretation\x20of\x20a\x20popular', 'riddle,\x20frequently\x20used\x20during\x20job\x20interviews\x20with\x20programmers.', 'The\x20original\x20task\x20is\x20about\x20a\x20train,\x20the\x20cars\x20of\x20which', 'create\x20a\x20vicious\x20circle.'] + }, + 'tb04b': { + 'event': 'device_tb04b', + 'prev': 'sign4', + 'next': null, + 'text': ['My\x20dear\x20brother.\x20You\x20have\x20to\x20follow\x20me\x20and\x20travel\x20to', 'the\x20new\x20world.\x20The\x20Forest\x20people\x20called\x20it\x20Refuge.\x20I\x20hope', 'that\x20you\x20will\x20be\x20able\x20to\x20reach\x20me\x20there\x20and\x20together\x20we', 'will\x20find\x20more\x20answers.\x20Good\x20luck.'] + } + }; + var _0x368ce2 = [ + ['Language:\x20English', 'Object:Citizen1984', 'Acsess:\x20granted'], + ['Incoming\x20message'], + ['A:\x20Is\x20anybody\x20here?\x20Someone?'], + ['YOU:\x20Yes,\x20I\x27m\x20here.'], + ['A:\x20Oh,\x20it\x20looks\x20like\x20I\x27m\x20not\x20the\x20only\x20one\x20who\x20survived.\x20Where\x20are\x20you?'], + ['YOU:\x20I\x20think\x20I\x27m\x20at\x20the\x20entrance\x20to\x20the\x20Refuge.\x20Who\x20are\x20you?'], + ['A:\x20I\x20thought\x20that\x20I\x20was\x20alone\x20here.\x20Are\x20you\x20from\x20the\x20Forest\x20world?\x20Or\x20from', '\x20\x20\x20the\x20outside?'], + ['YOU:\x20I\x27m\x20not\x20from\x20the\x20Forest.'], + ['A:\x20Are\x20you\x20thinking\x20of\x20going\x20to\x20the\x20Refuge?'], + ['YOU:\x20Yes.\x20Are\x20you\x20there?'], + ['A:\x20I\x20don\x27t\x20know\x20where\x20I\x20am.\x20I\x20was\x20among\x20the\x20refugees.\x20Yes,\x20probably\x20in\x20the', '\x20\x20\x20Refuge.\x20It\x27s\x20dark.'], + ['YOU:\x20What\x20happened?'], + ['A:\x20We\x20ran\x20here\x20from\x20the\x20Forest.\x20The\x20Conductor\x20opened\x20the\x20door...\x20Seems\x20like', '\x20\x20\x20we\x20did\x20not\x20make\x20it...\x20there\x20was\x20a\x20strong\x20crash,\x20or\x20explosion.\x20I\x20awaken.', '\x20\x20\x20It\x27s\x20dark\x20here.\x20I\x20feel\x20nothing.\x20I\x20have\x20my\x20own\x20neurointerface,\x20that’s\x20how', '\x20\x20\x20I\x27ve\x20been\x20sending\x20messages\x20to\x20the\x20network\x20from\x20time\x20to\x20time.\x20But\x20no\x20one', '\x20\x20\x20answered\x20before\x20you\x20arrived.'], + ['Connection\x20lost'], + ['Connection\x20restored'], + ['YOU:\x20What\x20happened\x20in\x20the\x20Forest?'], + ['A:\x20It\x20had\x20to\x20happen\x20sooner\x20or\x20later.\x20The\x20Old\x20predictions.\x20No\x20one\x20believed\x20in', '\x20\x20\x20them.\x20We\x20trusted\x20the\x20thing\x20that\x20destroyed\x20us.\x20Some\x20were\x20gone\x20to\x20different', '\x20\x20\x20worlds.\x20Most\x20of\x20them\x20went\x20to\x20the\x20Refuge.'], + ['YOU:\x20What\x20are\x20you\x20talking\x20about?'], + ['A:\x20Darkness.\x20I\x20am\x20here.\x20Why\x20don\x27t\x20I\x20feel\x20my\x20body?'], + ['A:\x20I’m\x20in\x20the\x20western\x20part.\x20You\x20have\x20to\x20get\x20into\x20the\x20temple.\x20Remember...'], + ['Connection\x20failed.\x20Press\x20to\x20continue.'], + ['Access\x20granted.\x20Door\x20is\x20opening.'] + ]; + for (var _0xd4143 in _0x3d0774) { + if (!_0x3d0774['hasOwnProperty'](_0xd4143)) continue; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x3d0774[_0xd4143]['length']; _0x5a8aa6++) { + _0x3d0774[_0xd4143][_0x5a8aa6]['text'] = _0x3d0774[_0xd4143][_0x5a8aa6]['text']['toUpperCase'](); + } + } + var _0x2a4c4e = function(_0x37e384, _0x571594) { + if (_0x571594 === null || typeof _0x571594 === 'undefined') { + return _0x3d0774[_0x37e384]; + } + var _0x14d679 = _0x571594 ? 'next' : 'prev'; + var _0x571594 = _0x3d0774[_0x37e384][_0x14d679]; + if (!_0x571594) return null; + while (!_0xb43598['getEvent'](_0x3d0774[_0x571594]['event'])) { + _0x571594 = _0x3d0774[_0x571594][_0x14d679]; + if (!_0x571594) return null; + } + return _0x571594; + }; + var _0x6acfe0 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function _0x6acfe0() { + Phaser['Scene']['call'](this, { + 'key': 'loader' + }); + }, + 'preload': function() { + this['load']['image']('splash', 'images/splash/card-symbol-2.png'); + this['load']['bitmapFont']('rough_draft', 'fonts/font.png', 'fonts/font.xml'); + }, + 'create': function() { + _0x493b23(); + this['scene']['start']('splashLoader'); + } + }); + var _0x22f8fb = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function _0x6acfe0() { + Phaser['Scene']['call'](this, { + 'key': 'splashLoader' + }); + }, + 'preload': function() { + this['add']['image'](_0x2aacf1, _0x25d46a - 0x32, 'splash')['setScale'](0.8); + var _0x237d83 = this['add']['text'](_0x2aacf1, _0x25d46a, '', { + 'color': '#b3f05c', + 'align': 'center', + 'fontFamily': 'textFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['load']['on']('progress', function(_0x26c17d) { + _0x237d83['setText']('' + parseInt(_0x26c17d * 0x64)); + }); + this['load']['on']('complete', function() { + _0x237d83['destroy'](); + }); + this['load']['image']('window_small', 'images/menu/window-small.png'); + this['load']['image']('btn_play', 'images/menu/btn_play.png'); + this['load']['image']('btn_settings', 'images/menu/btn_settings.png'); + this['load']['image']('bg_mainmenu', 'images/menu/bg-mainmenu_1_5.jpg'); + this['load']['image']('btn_green_small', 'images/menu/btn_green_small.png'); + this['load']['image']('btn_credits', 'images/menu/btn_credits.png'); + this['load']['image']('btn_back', 'images/menu/btn_back.png'); + this['load']['image']('credits_bg', 'images/menu/credits_bg.jpg'); + this['load']['image']('btn_music_off', 'images/menu/btn_music_off.png'); + this['load']['image']('btn_sound_on', 'images/menu/btn_sound_on.png'); + this['load']['image']('btn_sound_off', 'images/menu/btn_sound_off.png'); + this['load']['image']('btn_music_on', 'images/menu/btn_music_on.png'); + this['load']['image']('logo_through_small', 'images/menu/logo_through_small.png'); + this['load']['image']('btn_navy_small', 'images/menu/btn_navy_small.png'); + this['load']['audio']('music_tr', ['sound/music/tr.mp3']); + this['load']['audio']('music_tm', ['sound/music/tmp.mp3']); + this['load']['audio']('music_fl', ['sound/music/flp.mp3']); + this['load']['audio']('music_lc', ['sound/music/lch.mp3']); + this['load']['audio']('music_de', ['sound/music/dep.mp3']); + this['load']['audio']('music_pr', ['sound/music/pri.mp3']); + this['load']['audio']('music_menu', ['sound/music/menu.mp3']); + this['load']['audio']('flp04_open_door_flp04', ['sound/sfx/nonrepeating/flp04_open_door_flp04.mp3']); + this['load']['audio']('flp04_lever_on_flp04', ['sound/sfx/nonrepeating/flp04_lever_on_flp04.mp3']); + this['load']['audio']('flp05_open_lock_flp05', ['sound/sfx/nonrepeating/flp05_open_lock_flp05.mp3']); + this['load']['audio']('flp05_press_lock_flp05', ['sound/sfx/nonrepeating/flp05_press_lock_flp05.mp3']); + this['load']['audio']('dep02_open_hatch_dep02', ['sound/sfx/nonrepeating/dep02_open_hatch_dep02.mp3']); + this['load']['audio']('dep02_insert_cylinder_dep02', ['sound/sfx/nonrepeating/dep02_insert_cylinder_dep02.mp3']); + this['load']['audio']('dep06_fill_skull', ['sound/sfx/nonrepeating/dep_fill_skull.mp3']); + this['load']['audio']('tmp05_puzzle_slide_tmp06', ['sound/sfx/nonrepeating/tmp06_puzzle_slide_tmp06.mp3']); + this['load']['audio']('tmp05_mechanism_tmp06', ['sound/sfx/nonrepeating/tmp06_mechanism_tmp06.mp3']); + this['load']['audio']('tmp06_insert_pyramide', ['sound/sfx/nonrepeating/tmp_insert_pyramide.mp3']); + this['load']['audio']('sp01_unhide_hatch', ['sound/sfx/nonrepeating/sp01_unhide_hatch.mp3']); + this['load']['audio']('sp01_open_hatch_sp01', ['sound/sfx/nonrepeating/sp01_open_hatch_sp01.mp3']); + this['load']['audio']('sp02_unhide_laser', ['sound/sfx/nonrepeating/sp02_unhide_laser.mp3']); + this['load']['audio']('sp02_open_laser', ['sound/sfx/nonrepeating/sp02_open_laser.mp3']); + this['load']['audio']('sp02_laser_rays', ['sound/sfx/nonrepeating/sp02_laser_rays.mp3']); + this['load']['audio']('sp04_btn_laser_sp04', ['sound/sfx/nonrepeating/sp04_btn_laser_sp04.mp3']); + this['load']['audio']('sp04_screens_on_sp04', ['sound/sfx/nonrepeating/sp04_screens_on_sp04.mp3']); + this['load']['audio']('sp04_call_el_sp04', ['sound/sfx/nonrepeating/sp04_call_el_sp04.mp3']); + this['load']['audio']('sp04_lever_error_sp04', ['sound/sfx/nonrepeating/sp04_lever_error_sp04.mp3']); + this['load']['audio']('sp04_lever_on_sp04', ['sound/sfx/nonrepeating/sp04_lever_on_sp04.mp3']); + this['load']['audio']('os02_btn_os02', ['sound/sfx/nonrepeating/os02_btn_os02.mp3']); + this['load']['audio']('os02_error_os02', ['sound/sfx/nonrepeating/os02_error_os02.mp3']); + this['load']['audio']('os02_rotate_os02', ['sound/sfx/nonrepeating/os02_rotate_os02.mp3']); + this['load']['audio']('os02_solve_os02', ['sound/sfx/nonrepeating/os02_solve_os02.mp3']); + this['load']['audio']('os04_btn_os04', ['sound/sfx/nonrepeating/os04_btn_os04.mp3']); + this['load']['audio']('os04_polarity_os04', ['sound/sfx/nonrepeating/os04_polarity_os04.mp3']); + this['load']['audio']('os04_lever_os04', ['sound/sfx/nonrepeating/os04_lever_os04.mp3']); + this['load']['audio']('tr0001_rotator', ['sound/sfx/nonrepeating/tr0001_rotator.mp3']); + this['load']['audio']('tr0001_open_dep_door', ['sound/sfx/nonrepeating/tr0001_open_dep_door.mp3']); + this['load']['audio']('tr0001_solve_lock_0001', ['sound/sfx/nonrepeating/tr0001_solve_lock_0001.mp3']); + this['load']['audio']('tr0006_rotator', ['sound/sfx/nonrepeating/tr0006_rotator.mp3']); + this['load']['audio']('tr0011_wood_stick_use', ['sound/sfx/nonrepeating/tr0011_wood_stick_use.mp3']); + this['load']['audio']('tr0011_wood_stick_connect', ['sound/sfx/nonrepeating/tr0011_wood_stick_connect.mp3']); + this['load']['audio']('tr0013_liana', ['sound/sfx/nonrepeating/tr0013_liana.mp3']); + this['load']['audio']('tr0102_ladder_down_0102', ['sound/sfx/nonrepeating/tr0102_ladder_down_0102.mp3']); + this['load']['audio']('tr0102_ladder_up_0102', ['sound/sfx/nonrepeating/tr01012_ladder_up_0102.mp3']); + this['load']['audio']('tr0202_bridge_0202', ['sound/sfx/nonrepeating/tr0202_bridge_0202.mp3']); + this['load']['audio']('tr0203_saw_working', ['sound/sfx/nonrepeating/tr0203_saw_working.mp3']); + this['load']['audio']('tr0203_wood_stick_sway', ['sound/sfx/nonrepeating/tr0203_wood_stick_sway.mp3']); + this['load']['audio']('tr0701_key_fall_0701', ['sound/sfx/nonrepeating/tr0701_key_fall_0701.mp3']); + this['load']['audio']('tr0703_unfill_skull', ['sound/sfx/nonrepeating/tr0703_unfill_skull.mp3']); + this['load']['audio']('el_move', ['sound/sfx/nonrepeating/el_move.mp3']); + this['load']['audio']('el_stop', ['sound/sfx/nonrepeating/el_stop.mp3']); + this['load']['audio']('el_insert_el_btn', ['sound/sfx/nonrepeating/el_insert_el_btn.mp3']); + this['load']['audio']('el_open_el_door', ['sound/sfx/nonrepeating/el_open_el_door.mp3']); + this['load']['audio']('el_press_el_btn', ['sound/sfx/nonrepeating/el_press_el_btn.mp3']); + this['load']['audio']('el_arrives', ['sound/sfx/nonrepeating/el_arrives.mp3']); + this['load']['audio']('cr3_kill_engineer', ['sound/sfx/nonrepeating/cr3_kill_engineer.mp3']); + this['load']['audio']('lch01_mix_rooms_lch01', ['sound/sfx/nonrepeating/lch01_mix_rooms_lch01.mp3']); + this['load']['audio']('lch01_lever_lch01', ['sound/sfx/nonrepeating/lch01_lever_lch01.mp3']); + this['load']['audio']('lch01_btn_lch01', ['sound/sfx/nonrepeating/lch01_btn_lch01.mp3']); + this['load']['audio']('lch02_switch_lch02', ['sound/sfx/nonrepeating/lch02_switch_lch02.mp3']); + this['load']['audio']('tbt_exit_door_key', ['sound/sfx/nonrepeating/tbt_exit_door_key.mp3']); + this['load']['audio']('tbt_exit_door_open', ['sound/sfx/nonrepeating/tbt_exit_door_open.mp3']); + this['load']['audio']('htf01_open_hidden_door_htf01', ['sound/sfx/nonrepeating/htf01_open_hidden_door_htf01.mp3']); + this['load']['audio']('htf01_press_tile_htf01', ['sound/sfx/nonrepeating/htf01_press_tile_htf01.mp3']); + this['load']['audio']('htf03_puzzle_deactivation_htf03', ['sound/sfx/nonrepeating/htf03_puzzle_deactivation_htf03.mp3']); + this['load']['audio']('htf03_error_chip_htf03', ['sound/sfx/nonrepeating/htf03_error_chip_htf03.mp3']); + this['load']['audio']('htf03_solve', ['sound/sfx/nonrepeating/htf03_solve.mp3']); + this['load']['audio']('htf03_switch_htf03', ['sound/sfx/nonrepeating/htf03_switch_htf03.mp3']); + this['load']['audio']('htf03_move_chip_htf03', ['sound/sfx/nonrepeating/htf03_move_chip_htf03.mp3']); + this['load']['audio']('htf03_puzzle_activation', ['sound/sfx/nonrepeating/htf03_puzzle_activation.mp3']); + this['load']['audio']('htf03_choose_chip_htf03', ['sound/sfx/nonrepeating/htf03_choose_chip_htf03.mp3']); + this['load']['audio']('htf03_no_moves_htf03', ['sound/sfx/nonrepeating/htf03_no_moves_htf03.mp3']); + this['load']['audio']('7k_press_cube_7k', ['sound/sfx/nonrepeating/7k_press_cube_7k.mp3']); + this['load']['audio']('7k_unhide_keydestroyer', ['sound/sfx/nonrepeating/7k_unhide_keydestroyer.mp3']); + this['load']['audio']('7k_unhide_exit_key', ['sound/sfx/nonrepeating/7k_unhide_exit_key.mp3']); + this['load']['audio']('7k_destroy_key', ['sound/sfx/nonrepeating/7k_destroy_key.mp3']); + this['load']['audio']('pr03_line_press_pr01', ['sound/sfx/nonrepeating/pr01_line_press_pr01.mp3']); + this['load']['audio']('pr03_open_lock_pr02', ['sound/sfx/nonrepeating/pr02_open_lock_pr02.mp3']); + this['load']['audio']('use', ['sound/sfx/repeating/use.mp3']); + this['load']['audio']('open_door', ['sound/sfx/repeating/open_door.mp3']); + this['load']['audio']('close_door', ['sound/sfx/repeating/close_door.mp3']); + this['load']['audio']('unlock_door', ['sound/sfx/repeating/unlock_door.mp3']); + this['load']['audio']('secret', ['sound/sfx/repeating/secret.mp3']); + this['load']['audio']('puzzle_in', ['sound/sfx/repeating/puzzle_in.mp3']); + this['load']['audio']('puzzle_out', ['sound/sfx/repeating/puzzle_out.mp3']); + this['load']['audio']('footsteps', ['sound/sfx/repeating/footsteps.mp3']); + this['load']['audio']('transition_to', ['sound/sfx/repeating/transition_to.mp3']); + this['load']['audio']('transition_portal', ['sound/sfx/repeating/transition_tmp03.mp3']); + this['load']['audio']('interface_use', ['sound/sfx/repeating/interface_use.mp3']); + this['load']['audio']('interface_turn_page', ['sound/sfx/repeating/interface_turn_page.mp3']); + this['load']['audio']('interface_enter', ['sound/sfx/repeating/interface_enter.mp3']); + this['load']['audio']('interface_exit', ['sound/sfx/repeating/interface_exit.mp3']); + this['load']['audio']('ui_inventory_open', ['sound/sfx/menu/ui_inventory_open.mp3']); + this['load']['audio']('ui_inventory_close', ['sound/sfx/menu/ui_inventory_close.mp3']); + this['load']['audio']('ui_select_item', ['sound/sfx/menu/ui_select_item.mp3']); + this['load']['audio']('ui_back_item', ['sound/sfx/menu/ui_back_item.mp3']); + this['load']['audio']('ui_pickup_item', ['sound/sfx/menu/ui_pickup_item.mp3']); + this['load']['audio']('menu_over', ['sound/sfx/menu/menu_over.mp3']); + this['load']['audio']('menu_click', ['sound/sfx/menu/menu_click.mp3']); + this['load']['atlas']('lch01_panel_numbers', 'images/animations/lch/lch01/panel/lch01_panel_numbers.png', 'images/animations/lch/lch01/panel/lch01_panel_numbers.json'); + this['load']['image']('inventory_arrow', 'images/inventory/inventory_arrow.png'); + this['load']['image']('inventory_line', 'images/inventory/inventory_background.png'); + this['load']['image']('tr0002_saw', 'images/items/scene/tr0002_saw.png'); + this['load']['image']('tr0201b_scheme', 'images/items/scene/tscheme.png'); + this['load']['image']('tr0203_bridge', 'images/items/scene/tr0203_bridge.png'); + this['load']['image']('tr0501_key', 'images/items/scene/tr0501_key.png'); + this['load']['image']('tr0701_key', 'images/items/scene/tr0701_key.png'); + this['load']['image']('tmp04_key', 'images/items/scene/tmp04_key.png'); + this['load']['image']('tmp07_key', 'images/items/scene/tmp07_key.png'); + this['load']['image']('dep02_uv', 'images/items/scene/dep02_uv.png'); + this['load']['image']('flp04_key', 'images/items/scene/flp04_key.png'); + this['load']['image']('flp05_lens', 'images/items/scene/flp05_lens.png'); + this['load']['image']('htf02_button', 'images/items/scene/hthf02_btn.png'); + this['load']['image']('htf03_key04', 'images/items/scene/htf03_box_key04.png'); + this['load']['image']('sp04_cylinder', 'images/items/scene/sp04_cylinder.png'); + this['load']['image']('sp04_fuse', 'images/items/scene/sp04_fuse.png'); + this['load']['image']('os02_key', 'images/items/scene/os02_key.png'); + this['load']['image']('os02_skull', 'images/items/scene/os02_skull.png'); + this['load']['image']('lch03_pyramide', 'images/items/scene/lch03_pyramide.png'); + this['load']['image']('cr3_battery', 'images/items/scene/cr3_battery.png'); + this['load']['atlas']('inv_items', 'images/items/items.png', 'images/items/items.json'); + this['load']['image']('white', 'images/bg/white.jpg'); + this['load']['image']('black', 'images/bg/black.jpg'); + this['load']['image']('tb01', 'images/bg/tb01.jpg'); + this['load']['image']('tb02', 'images/bg/tb02.jpg'); + this['load']['image']('tb02b', 'images/bg/tb02b.jpg'); + this['load']['image']('tb02b_sign_1', 'images/animations/tbt/tbt02b/tbt02B_secret_i.png'); + this['load']['image']('tb02b_sign_1_on', 'images/animations/tbt/tbt02b/tbt02B_secret_i_on.png'); + this['load']['image']('tb02b_sign_2', 'images/animations/tbt/tbt02b/tbt02B_secret_k.png'); + this['load']['image']('tb02b_sign_2_on', 'images/animations/tbt/tbt02b/tbt02B_secret_k_on.png'); + this['load']['image']('tb02b_sign_3', 'images/animations/tbt/tbt02b/tbt02B_secret_n.png'); + this['load']['image']('tb02b_sign_3_on', 'images/animations/tbt/tbt02b/tbt02B_secret_n_on.png'); + this['load']['image']('tb02b_sign_4', 'images/animations/tbt/tbt02b/tbt02B_secret_u.png'); + this['load']['image']('tb02b_sign_4_on', 'images/animations/tbt/tbt02b/tbt02B_secret_u_on.png'); + this['load']['image']('tb03', 'images/bg/tb03.jpg'); + this['load']['image']('tb03b', 'images/bg/tb03b.jpg'); + this['load']['image']('tb04b', 'images/bg/tb04b.jpg'); + this['load']['image']('tb05b', 'images/bg/tb05b.png'); + this['load']['image']('tb05b_inner', 'images/animations/tbt/tbt05b/tbt05B_inner.png'); + this['load']['image']('tb05b_lock', 'images/animations/tbt/tbt05b/tbt05B_lock.png'); + this['load']['image']('tb05b_outer', 'images/animations/tbt/tbt05b/tbt05B_outer.png'); + this['load']['image']('tb06', 'images/bg/tb06.jpg'); + this['load']['image']('tr0001', 'images/bg/tr0001.jpg'); + this['load']['image']('tr0001_door', 'images/animations/tr/tr0001/door/tr0001_door.png'); + this['load']['image']('tr0001_mask', 'images/animations/tr/tr0001/door/mask.png'); + this['load']['image']('tr0001_lock', 'images/animations/tr/tr0001/lock/tr0001_lock.png'); + this['load']['image']('tr0001_btn_zoomed', 'images/animations/tr/tr0001/lock/tr0001_btn_zoomed.png'); + this['load']['image']('tr0002', 'images/bg/tr0002.jpg'); + this['load']['image']('tr0003', 'images/bg/tr0003.jpg'); + this['load']['image']('tr0004', 'images/bg/tr0004.jpg'); + this['load']['image']('tr0005', 'images/bg/tr0005.jpg'); + this['load']['image']('tr0005_shovel', 'images/items/scene/tr0004_shovel.png'); + this['load']['image']('tr0006', 'images/bg/tr0006.jpg'); + this['load']['image']('tr0006_switch', 'images/animations/tr/tr0006/tr0006_switch.png'); + this['load']['image']('tr0007', 'images/bg/tr0007.jpg'); + this['load']['image']('tr0008', 'images/bg/tr0008.jpg'); + this['load']['image']('tr0009', 'images/bg/tr0009.jpg'); + this['load']['image']('tr0009_door', 'images/animations/tr/tr0009/tr0009_door.png'); + this['load']['image']('tr0009_door_burnt', 'images/animations/tr/tr0009/tr0009_door_burnt.png'); + this['load']['image']('tr0010', 'images/bg/tr0010.jpg'); + this['load']['image']('tr0010_indicator_green', 'images/animations/tr/tr0010/tr0010_lamp.png'); + this['load']['image']('tr0010_ladder', 'images/animations/tr/tr0010/tr0010_ladder.png'); + this['load']['image']('tr0010_ladder2', 'images/animations/tr/tr0010/tr0010_ladder2.png'); + this['load']['image']('tr0011', 'images/bg/tr0011.jpg'); + this['load']['image']('tr0011_lever', 'images/animations/tr/tr0011/tr0011_lever.png'); + this['load']['image']('tr0011_slot', 'images/animations/tr/tr0011/tr0011_slot.png'); + this['load']['image']('tr0012', 'images/bg/tr0012.jpg'); + this['load']['image']('tr0013', 'images/bg/tr0013.jpg'); + this['load']['image']('tr0013_liana', 'images/animations/tr/tr0013/tr0013_liana.png'); + this['load']['image']('tr0013_lianas', 'images/animations/tr/tr0013/tr0013_lianas.png'); + this['load']['image']('tr0101', 'images/bg/tr0101.jpg'); + this['load']['image']('tr0101_indicator_red', 'images/animations/tr/tr0101/tr0101_indicator_red.png'); + this['load']['image']('tr0102', 'images/bg/tr0102.jpg'); + this['load']['image']('tr0102_gear', 'images/animations/tr/tr0102/tr0102_gear.png'); + this['load']['image']('tr0102_cover', 'images/animations/tr/tr0102/tr0102_cover.png'); + this['load']['image']('tr0102_ladder', 'images/animations/tr/tr0102/tr0102_ladder.png'); + this['load']['image']('tr0102_lever', 'images/animations/tr/tr0102/tr0102_lever.png'); + this['load']['image']('tr0102_lever2', 'images/animations/tr/tr0102/tr0102_lever2.png'); + this['load']['image']('tr0102_small_gear', 'images/animations/tr/tr0102/tr0102_small_gear.png'); + this['load']['image']('tr0102_small_gear_cover', 'images/animations/tr/tr0102/tr0102_small_gear_cover.png'); + this['load']['image']('tr0103', 'images/bg/tr0103.jpg'); + this['load']['image']('tr0201', 'images/bg/tr0201.jpg'); + this['load']['image']('tr0201b', 'images/bg/tr0201b.png'); + this['load']['image']('tr0201b_door_l', 'images/animations/tr/tr0201b/door_l/tr0201b_door_1.png'); + this['load']['image']('tr0201b_door_c', 'images/animations/tr/tr0201b/door_c/tr0201b_door2.png'); + this['load']['image']('tr0201b_door_r', 'images/animations/tr/tr0201b/door_r/tr0201b_door_3.png'); + this['load']['image']('tr0202', 'images/bg/tr0202.jpg'); + this['load']['image']('tr0202_bridge', 'images/animations/tr/tr0202/tr0202_bridge.png'); + this['load']['image']('tr0202_gear1', 'images/animations/tr/tr0202/tr0202_gear1.png'); + this['load']['image']('tr0202_gear2', 'images/animations/tr/tr0202/tr0202_gear2.png'); + this['load']['image']('tr0202_gear3', 'images/animations/tr/tr0202/tr0202_gear3.png'); + this['load']['image']('tr0202_lever', 'images/animations/tr/tr0202/tr0202_lever.png'); + this['load']['image']('tr0203', 'images/bg/tr0203.jpg'); + this['load']['image']('tr0203_lever', 'images/animations/tr/tr0203/tr0203_lever.png'); + this['load']['image']('tr0204', 'images/bg/tr0204.jpg'); + this['load']['image']('tr0300', 'images/bg/tr0300.jpg'); + this['load']['image']('tr0301', 'images/bg/tr0301.jpg'); + this['load']['image']('tr0302', 'images/bg/tr0302.jpg'); + this['load']['image']('tr0400', 'images/bg/tr0400.jpg'); + this['load']['image']('tr0401', 'images/bg/tr0401.jpg'); + this['load']['image']('tr0500', 'images/bg/tr0500.jpg'); + this['load']['image']('tr0501', 'images/bg/tr0501.jpg'); + this['load']['image']('tr0502', 'images/bg/tr0502.jpg'); + this['load']['image']('tr0502_door', 'images/animations/tr/tr0502/tr0502_door.png'); + this['load']['image']('tr0503', 'images/bg/tr0503.jpg'); + this['load']['image']('tr0503_door', 'images/animations/tr/tr0503/tr0503_door.png'); + this['load']['image']('tr0503_door_burnt', 'images/animations/tr/tr0503/tr0503_door_burnt.png'); + this['load']['image']('tr0701', 'images/bg/tr0701.jpg'); + this['load']['image']('tr0702', 'images/bg/tr0702.jpg'); + this['load']['image']('tr0703', 'images/bg/tr0703.jpg'); + this['load']['image']('tr0703_liquid', 'images/animations/tr/tr0703/tr0703_liquid.png'); + this['load']['image']('tr0703_liquid_stroke', 'images/animations/tr/tr0703/tr0703_liquid_stroke.png'); + this['load']['image']('tr0703_btn', 'images/animations/tr/tr0703/tr0703_btn.png'); + this['load']['image']('tr0703_mask', 'images/animations/tr/tr0703/mask.jpg'); + this['load']['image']('tmp01', 'images/bg/tmp01.jpg'); + this['load']['image']('tmp02', 'images/bg/tmp02.jpg'); + this['load']['image']('tmp03', 'images/bg/tmp03.jpg'); + this['load']['image']('tmp04', 'images/bg/tmp04.jpg'); + this['load']['image']('tmp05', 'images/bg/tmp05.png'); + this['load']['image']('tmp05_btn_l', 'images/animations/tmp/tmp05/button/tmp05_btn_l.png'); + this['load']['image']('tmp05_btn_l_pressed', 'images/animations/tmp/tmp05/button/tmp05_btn_l_pressed.png'); + this['load']['image']('tmp05_light', 'images/animations/tmp/tmp05/lines/tmp05_light.png'); + this['load']['image']('tmp05_puzzle1', 'images/animations/tmp/tmp05/lines/tmp05_puzzle1.png'); + this['load']['image']('tmp05_puzzle1_light1', 'images/animations/tmp/tmp05/lines/tmp05_puzzle1_light1.png'); + this['load']['image']('tmp05_puzzle1_light2', 'images/animations/tmp/tmp05/lines/tmp05_puzzle1_light2.png'); + this['load']['image']('tmp05_puzzle1_light3', 'images/animations/tmp/tmp05/lines/tmp05_puzzle1_light3.png'); + this['load']['image']('tmp05_puzzle1_light4', 'images/animations/tmp/tmp05/lines/tmp05_puzzle1_light4.png'); + this['load']['image']('tmp05_puzzle2', 'images/animations/tmp/tmp05/lines/tmp05_puzzle2.png'); + this['load']['image']('tmp05_puzzle2_light1', 'images/animations/tmp/tmp05/lines/tmp05_puzzle2_light1.png'); + this['load']['image']('tmp05_puzzle2_light2', 'images/animations/tmp/tmp05/lines/tmp05_puzzle2_light2.png'); + this['load']['image']('tmp05_puzzle2_light3', 'images/animations/tmp/tmp05/lines/tmp05_puzzle2_light3.png'); + this['load']['image']('tmp05_puzzle3', 'images/animations/tmp/tmp05/lines/tmp05_puzzle3.png'); + this['load']['image']('tmp05_puzzle3_light1', 'images/animations/tmp/tmp05/lines/tmp05_puzzle3_light1.png'); + this['load']['image']('tmp05_puzzle3_light2', 'images/animations/tmp/tmp05/lines/tmp05_puzzle3_light2.png'); + this['load']['image']('tmp05_puzzle3_light3', 'images/animations/tmp/tmp05/lines/tmp05_puzzle3_light3.png'); + this['load']['image']('tmp05_puzzle4', 'images/animations/tmp/tmp05/lines/tmp05_puzzle4.png'); + this['load']['image']('tmp05_puzzle4_light1', 'images/animations/tmp/tmp05/lines/tmp05_puzzle4_light1.png'); + this['load']['image']('tmp05_puzzle4_light2', 'images/animations/tmp/tmp05/lines/tmp05_puzzle4_light2.png'); + this['load']['image']('tmp05_puzzle4_light3', 'images/animations/tmp/tmp05/lines/tmp05_puzzle4_light3.png'); + this['load']['image']('tmp05_stairs', 'images/animations/tmp/tmp05/lines/tmp05_stairs.png'); + this['load']['image']('tmp05_ropes', 'images/animations/tmp/tmp05/mechanism/tmp05_ropes.png'); + this['load']['image']('tmp05_gear1', 'images/animations/tmp/tmp05/mechanism/tmp05_gear1.png'); + this['load']['image']('tmp05_gear2', 'images/animations/tmp/tmp05/mechanism/tmp05_gear2.png'); + this['load']['image']('tmp05_gear3', 'images/animations/tmp/tmp05/mechanism/tmp05_gear3.png'); + this['load']['image']('tmp05_gear_lines', 'images/animations/tmp/tmp05/mechanism/tmp05_gear_lines.png'); + this['load']['image']('tmp05_mask', 'images/animations/tmp/tmp05/mechanism/mask.png'); + this['load']['image']('tmp06', 'images/bg/tmp06.jpg'); + this['load']['image']('tmp05_mask', 'images/animations/tmp/tmp05/mechanism/mask.png'); + this['load']['image']('tmp06_mask', 'images/animations/tmp/tmp06/mask.png'); + this['load']['image']('tmp06_pyramide0', 'images/animations/tmp/tmp06/tmp06_pyramide0.png'); + this['load']['image']('tmp06_pyramide1', 'images/animations/tmp/tmp06/tmp06_pyramide1.png'); + this['load']['image']('tmp06_pyramide2', 'images/animations/tmp/tmp06/tmp06_pyramide2.png'); + this['load']['image']('tmp06_pyramide3', 'images/animations/tmp/tmp06/tmp06_pyramide3.png'); + this['load']['image']('tmp06_pyramide4', 'images/animations/tmp/tmp06/tmp06_pyramide4.png'); + this['load']['image']('tmp06_pyramide5', 'images/animations/tmp/tmp06/tmp06_pyramide5.png'); + this['load']['image']('tmp06_pyramide6', 'images/animations/tmp/tmp06/tmp06_pyramide6.png'); + this['load']['image']('tmp06_pyramide7', 'images/animations/tmp/tmp06/tmp06_pyramide7.png'); + this['load']['image']('tmp06_pyramide8', 'images/animations/tmp/tmp06/tmp06_pyramide8.png'); + this['load']['image']('tmp06_pyramide9', 'images/animations/tmp/tmp06/tmp06_pyramide9.png'); + this['load']['image']('tmp06_signs_flashed', 'images/animations/tmp/tmp06/tmp06_signs_flashed.png'); + this['load']['image']('tmp07', 'images/bg/tmp07.jpg'); + this['load']['image']('pr02', 'images/bg/pri02.jpg'); + this['load']['image']('pr02_door', 'images/animations/pr/pr02/skeleton-opened_0.png'); + this['load']['image']('pr03', 'images/bg/pri03.jpg'); + this['load']['image']('pr03_glass', 'images/animations/pr/pr03/tile/pr03_glass.png'); + this['load']['image']('pr03_glass_bg', 'images/animations/pr/pr03/tile/pr03_glass_bg.png'); + this['load']['image']('pr03_glass_tile', 'images/animations/pr/pr03/tile/pr03_glass_tile.png'); + this['load']['image']('pr03_lock_bg', 'images/animations/pr/pr03/lock/pr03_lock_bg.png'); + this['load']['image']('pr03_lock_small', 'images/animations/pr/pr03/lock/pr03_lock_small.png'); + this['load']['image']('pr03_lock_line', 'images/animations/pr/pr03/lock/pr03_lock_line.png'); + this['load']['image']('pr03_lock_symb1', 'images/animations/pr/pr03/lock/symb1.jpg'); + this['load']['image']('pr03_lock_symb2', 'images/animations/pr/pr03/lock/symb2.jpg'); + this['load']['image']('pr03_lock_symb3', 'images/animations/pr/pr03/lock/symb3.jpg'); + this['load']['image']('pr03_lock_symb4', 'images/animations/pr/pr03/lock/symb4.jpg'); + this['load']['image']('pr03_lock_big_frame', 'images/animations/pr/pr03/lock/pr03_lock_big_frame.png'); + this['load']['image']('pr04', 'images/bg/pri04.jpg'); + this['load']['image']('pr04_code', 'images/animations/pr/pr04/pr04_code.png'); + this['load']['image']('pr04_cylinder', 'images/animations/pr/pr04/pr04_cylinder.png'); + this['load']['image']('pr04_device_on', 'images/animations/pr/pr04/pr04_device_on.png'); + this['load']['image']('pr04_sign_off', 'images/animations/pr/pr04/pr04_sign_off.png'); + this['load']['image']('pr04_sign_on', 'images/animations/pr/pr04/pr04_sign_on.png'); + this['load']['image']('pr04_tile_closed', 'images/animations/pr/pr04/pr04_tile_closed.png'); + this['load']['image']('pr04_tile_opened', 'images/animations/pr/pr04/pr04_tile_opened.png'); + this['load']['image']('flp01', 'images/bg/flp01.jpg'); + this['load']['image']('flp02', 'images/bg/flp02.jpg'); + this['load']['image']('flp02_battery', 'images/animations/flp/flp02/flp02_battery.png'); + this['load']['image']('flp02_lens', 'images/animations/flp/flp02/flp02_lens.png'); + this['load']['image']('flp02_light', 'images/animations/flp/flp02/flp02_light.png'); + this['load']['image']('flp02_laser_device', 'images/animations/flp/flp02/flp02_laser_device.png'); + this['load']['image']('flp03', 'images/bg/flp03.jpg'); + this['load']['image']('flp03_light', 'images/animations/flp/flp03/flp03_light.png'); + this['load']['image']('flp04', 'images/bg/flp04.jpg'); + this['load']['image']('flp04_creen_device', 'images/animations/flp/flp04/screen/flp04_creen_device.png'); + this['load']['image']('flp04_screen_battery_on', 'images/animations/flp/flp04/screen/flp04_screen_battery_on.png'); + this['load']['image']('flp04_screen_battery', 'images/animations/flp/flp04/screen/flp04_screen_battery.png'); + this['load']['image']('flp04_screen_bolt', 'images/animations/flp/flp04/screen/flp04_screen_bolt.png'); + this['load']['image']('flp04_screen_lens_on', 'images/animations/flp/flp04/screen/flp04_screen_lens_on.png'); + this['load']['image']('flp04_screen_lens', 'images/animations/flp/flp04/screen/flp04_screen_lens.png'); + this['load']['image']('flp04_screen_scheme', 'images/animations/flp/flp04/screen/flp04_screen_scheme.png'); + this['load']['image']('flp04_screens', 'images/animations/flp/flp04/screen/flp04_screens.png'); + this['load']['image']('flp04_shelf_door_locked', 'images/animations/flp/flp04/shelf_door_locked/skeleton-locked_0.png'); + this['load']['image']('flp05', 'images/bg/flp05.jpg'); + this['load']['image']('flp05_door', 'images/animations/flp/flp05/door/flp05_door.png'); + this['load']['image']('flp05_mask', 'images/animations/flp/flp05/door/mask.png'); + this['load']['image']('flp05_safe_bg', 'images/animations/flp/flp05/lock/flp05_safe_bg.png'); + this['load']['image']('flp05_safe_line0', 'images/animations/flp/flp05/lock/flp05_safe_line0.png'); + this['load']['image']('flp05_safe_line1', 'images/animations/flp/flp05/lock/flp05_safe_line1.png'); + this['load']['image']('flp05_safe_line2', 'images/animations/flp/flp05/lock/flp05_safe_line2.png'); + this['load']['image']('flp05_safe_line3', 'images/animations/flp/flp05/lock/flp05_safe_line3.png'); + this['load']['image']('flp05_safe_line4', 'images/animations/flp/flp05/lock/flp05_safe_line4.png'); + this['load']['image']('flp05_arrow', 'images/animations/flp/flp05/lock/arrow2.png'); + this['load']['image']('flp05_box_closed', 'images/animations/flp/flp05/flp05_box_cover_closed.png'); + this['load']['image']('flp05_box_opened', 'images/animations/flp/flp05/flp05_box_cover_opened.png'); + this['load']['image']('dep02', 'images/bg/dep02.jpg'); + this['load']['image']('dep02_hatch1', 'images/animations/dep/dep02/dep02hatch1.png'); + this['load']['image']('dep02_hatch2', 'images/animations/dep/dep02/dep02hatch2.png'); + this['load']['image']('dep02_hatchshadow', 'images/animations/dep/dep02/dep02hatchshadow.png'); + this['load']['image']('dep02_mask', 'images/animations/dep/dep02/mask.png'); + this['load']['image']('dep02_cylinder', 'images/animations/dep/dep02/dep02cylinder.png'); + this['load']['image']('dep04', 'images/bg/dep04.jpg'); + this['load']['image']('dep06', 'images/bg/dep06.jpg'); + this['load']['image']('dep06_btnoff', 'images/animations/dep/dep06/dep06btnoff.png'); + this['load']['image']('dep06_btnon', 'images/animations/dep/dep06/dep06btnon.png'); + this['load']['image']('dep06_iconoff', 'images/animations/dep/dep06/dep06iconoff.png'); + this['load']['image']('dep06_iconon', 'images/animations/dep/dep06/dep06iconon.png'); + this['load']['image']('dep06_pipka', 'images/animations/dep/dep06/dep06pipka.png'); + this['load']['image']('dep06_skullfill', 'images/animations/dep/dep06/dep06skullfill.png'); + this['load']['image']('dep06_skull', 'images/animations/dep/dep06/dep06skull.png'); + this['load']['image']('dep06_mask', 'images/animations/dep/dep06/mask.png'); + this['load']['image']('htf01', 'images/bg/htf01.jpg'); + this['load']['image']('htf010', 'images/bg/htf010.jpg'); + this['load']['image']('htf01_tile', 'images/animations/htf/htf01/tile/hthf01_tile11.png'); + this['load']['image']('htf01_lamp', 'images/animations/htf/htf01/signs/hthf01_lamp1.png'); + this['load']['image']('htf01_sign1', 'images/animations/htf/htf01/signs/hthf01_sign1.png'); + this['load']['image']('htf01_sign2', 'images/animations/htf/htf01/signs/hthf01_sign2.png'); + this['load']['image']('htf01_sign3', 'images/animations/htf/htf01/signs/hthf01_sign3.png'); + this['load']['image']('htf01_sign4', 'images/animations/htf/htf01/signs/hthf01_sign4.png'); + this['load']['image']('htf02', 'images/bg/htf02.jpg'); + this['load']['image']('htf02_shadow', 'images/animations/htf/htf02/hthf02_shadow.png'); + this['load']['image']('htf03', 'images/bg/htf03.jpg'); + this['load']['image']('htf03_box_scheme', 'images/animations/htf/htf03/box/htf_box_scheme.png'); + this['load']['image']('htf03_box_indicator_black', 'images/animations/htf/htf03/box/htf_box_indicator_black.png'); + this['load']['image']('htf03_box_indicator_green', 'images/animations/htf/htf03/box/htf_box_indicator_green.png'); + this['load']['image']('htf03_box_sign_green2', 'images/animations/htf/htf03/box/htf_box_sign_green2.png'); + this['load']['image']('htf03_box_sign_green2_', 'images/animations/htf/htf03/box/htf_box_sign_green2_.png'); + this['load']['image']('htf03_box_sign_green3', 'images/animations/htf/htf03/box/htf_box_sign_green3.png'); + this['load']['image']('htf03_box_sign_green3_', 'images/animations/htf/htf03/box/htf_box_sign_green3_.png'); + this['load']['image']('htf03_box_sign_green4', 'images/animations/htf/htf03/box/htf_box_sign_green4.png'); + this['load']['image']('htf03_box_sign_green4_', 'images/animations/htf/htf03/box/htf_box_sign_green4_.png'); + this['load']['image']('htf03_box_sign_green5', 'images/animations/htf/htf03/box/htf_box_sign_green5.png'); + this['load']['image']('htf03_box_sign_green5_', 'images/animations/htf/htf03/box/htf_box_sign_green5_.png'); + this['load']['image']('htf03_box_switch_on', 'images/animations/htf/htf03/box/htf_box_switch_on.png'); + this['load']['image']('htf03_box_switch_off', 'images/animations/htf/htf03/box/htf_box_switch_off.png'); + this['load']['image']('htf03_box_cover_opened', 'images/animations/htf/htf03/htf_box_cover_opened.png'); + this['load']['image']('htf03_box_cover_closed2', 'images/animations/htf/htf03/htf_box_cover_closed2.png'); + this['load']['image']('htf03_box_bottom', 'images/animations/htf/htf03/htf_box_bottom.png'); + this['load']['image']('htf03_switch_off', 'images/animations/htf/htf03/hthf03_switch_off.png'); + this['load']['image']('htf03_switch_on', 'images/animations/htf/htf03/hthf03_switch_on.png'); + this['load']['image']('htf03_shadow', 'images/animations/htf/htf03/hthf03_shadow.png'); + this['load']['image']('htf03_box_closed', 'images/animations/htf/htf03/hthf03_box_closed.png'); + this['load']['image']('htf03_box_opened', 'images/animations/htf/htf03/hthf03_box_opened.png'); + this['load']['image']('sp01', 'images/bg/sp01.png'); + this['load']['image']('sp01_hatch_covered', 'images/animations/sp/sp01/hatch/sp01_hatch_covered.png'); + this['load']['image']('sp01_el', 'images/animations/sp/sp01/el/skeleton-up_0.png'); + this['load']['image']('sp02', 'images/bg/sp02.jpg'); + this['load']['image']('sp02_laser1', 'images/animations/sp/sp02/laser_parts/sp02_laser1.png'); + this['load']['image']('sp02_laser2', 'images/animations/sp/sp02/laser_parts/sp02_laser2.png'); + this['load']['image']('sp02_laser3', 'images/animations/sp/sp02/laser_parts/sp02_laser3.png'); + this['load']['image']('sp02_laser4', 'images/animations/sp/sp02/laser_parts/sp02_laser4.png'); + this['load']['image']('sp02_laser5', 'images/animations/sp/sp02/laser_parts/sp02_laser5.png'); + this['load']['image']('sp02_laser6', 'images/animations/sp/sp02/laser_parts/sp02_laser6.png'); + this['load']['image']('sp02_laser7', 'images/animations/sp/sp02/laser_parts/sp02_laser7.png'); + this['load']['image']('sp02_sand', 'images/animations/sp/sp02/laser_parts/sp02_sand.png'); + this['load']['image']('sp02_mask', 'images/animations/sp/sp02/mask.jpg'); + this['load']['image']('sp02_laser_ray', 'images/animations/sp/sp02/laser_ray.png'); + this['load']['image']('sp03', 'images/bg/sp03.jpg'); + this['load']['image']('sp03_door', 'images/animations/sp/sp03/sp03_door.png'); + this['load']['image']('sp03_platband', 'images/animations/sp/sp03/sp03_platband.png'); + this['load']['image']('sp04', 'images/bg/sp04.jpg'); + this['load']['image']('sp04_elevator_indicator', 'images/animations/sp/sp04/elevator/sp04_elevator_indicator.png'); + this['load']['image']('sp04_elevator_screen', 'images/animations/sp/sp04/elevator/sp04_elevator_screen.png'); + this['load']['image']('sp04_laser_detail_2', 'images/animations/sp/sp04/laser1/sp04_laser_detail_2.png'); + this['load']['image']('sp04_laser_screen', 'images/animations/sp/sp04/laser1/sp04_laser_screen.png'); + this['load']['image']('sp04_laser_detail_scheme', 'images/animations/sp/sp04/laser1/sp04_laser_detail_scheme.png'); + this['load']['image']('sp04_laser_detail_4', 'images/animations/sp/sp04/laser1/sp04_laser_detail_4.png'); + this['load']['image']('sp04_fuse_indicator', 'images/animations/sp/sp04/laser1/sp04_fuse_indicator.png'); + this['load']['image']('sp04_laser_detail_3', 'images/animations/sp/sp04/laser1/sp04_laser_detail_3.png'); + this['load']['image']('sp04_laser_detail_1', 'images/animations/sp/sp04/laser1/sp04_laser_detail_1.png'); + this['load']['image']('sp04_laser_ind', 'images/animations/sp/sp04/laser2/sp04_laser_ind.png'); + this['load']['image']('sp04_ray_screen', 'images/animations/sp/sp04/laser2/sp04_ray_screen.png'); + this['load']['image']('sp04_lever_on', 'images/animations/sp/sp04/lever/skeleton-on_0.png'); + this['load']['image']('sp04_btn', 'images/animations/sp/sp04/sp04_btn.png'); + this['load']['image']('sp04_fuse_indicator', 'images/animations/sp/sp04/sp04_fuse_indicator.png'); + this['load']['image']('sp04_ind2_off', 'images/animations/sp/sp04/sp04_ind2_off.png'); + this['load']['image']('sp04_ind2_on', 'images/animations/sp/sp04/sp04_ind2_on.png'); + this['load']['image']('sp04_ind3_off', 'images/animations/sp/sp04/sp04_ind3_off.png'); + this['load']['image']('sp04_ind3_on', 'images/animations/sp/sp04/sp04_ind3_on.png'); + this['load']['image']('sp04_ind', 'images/animations/sp/sp04/sp04_ind.png'); + this['load']['image']('sp_r', 'images/bg/sp_r.jpg'); + this['load']['image']('sp_l', 'images/bg/sp_l.jpg'); + this['load']['image']('os01', 'images/bg/os01.png'); + this['load']['image']('os01_btn', 'images/animations/os/os01/os01_btn.png'); + this['load']['image']('os01_wires', 'images/animations/os/os01/os01_wires.png'); + this['load']['image']('os01_secret_bg', 'images/animations/os/os01/os01_secret_bg.png'); + this['load']['image']('os01_secret', 'images/animations/os/os01/os01_secret.png'); + this['load']['image']('os02', 'images/bg/os02.jpg'); + this['load']['image']('os02_btn_start_off', 'images/animations/os/os02/os02_btn_start_off.png'); + this['load']['image']('os02_btn_start_on', 'images/animations/os/os02/os02_btn_start_on.png'); + this['load']['image']('os02_btn_r', 'images/animations/os/os02/os02_btn_r2.png'); + this['load']['image']('os02_btn_r_unpressed', 'images/animations/os/os02/os02_btn_r_unpressed2.png'); + this['load']['image']('os02_btn_l', 'images/animations/os/os02/os02_btn_l2.png'); + this['load']['image']('os02_btn_l_unpressed', 'images/animations/os/os02/os02_btn_l_unpressed2.png'); + this['load']['image']('os02_ind_1_off', 'images/animations/os/os02/os02_ind_1_off.png'); + this['load']['image']('os02_ind_1_on', 'images/animations/os/os02/os02_ind_1_on.png'); + this['load']['image']('os02_ind_3_off', 'images/animations/os/os02/os02_ind_3_off.png'); + this['load']['image']('os02_ind_3_on', 'images/animations/os/os02/os02_ind_3_on.png'); + this['load']['image']('os02_ind_7_off', 'images/animations/os/os02/os02_ind_7_off.png'); + this['load']['image']('os02_ind_7_on', 'images/animations/os/os02/os02_ind_7_on.png'); + this['load']['image']('os02_system', 'images/animations/os/os02/os02_system.png'); + this['load']['image']('os02_light', 'images/animations/os/os02/os02_light.png'); + this['load']['image']('os02_closed_door', 'images/animations/os/os02/os02_closed_door.png'); + this['load']['image']('os03', 'images/bg/os03.jpg'); + this['load']['image']('os03_platband', 'images/animations/os/os03/os03_platband.png'); + this['load']['image']('os03_door', 'images/animations/os/os03/os03_door.png'); + this['load']['image']('os04', 'images/bg/os04.jpg'); + this['load']['image']('os04_indicator_off', 'images/animations/os/os04/indicator_off.png'); + this['load']['image']('os04_indicator_plus', 'images/animations/os/os04/indicator_plus.png'); + this['load']['image']('os04_indicator_minus', 'images/animations/os/os04/indicator_minus.png'); + this['load']['image']('os04_mixer_left', 'images/animations/os/os04/os04_mixer_left.png'); + this['load']['image']('os04_mixer_left_minus', 'images/animations/os/os04/os04_mixer_left_minus.png'); + this['load']['image']('os04_mixer_right', 'images/animations/os/os04/os04_mixer_right.png'); + this['load']['image']('os04_mixer_right_minus', 'images/animations/os/os04/os04_mixer_right_minus.png'); + this['load']['image']('os04_mixer_bottom', 'images/animations/os/os04/os04_mixer_bottom.png'); + this['load']['image']('os04_mixer_bottom_minus', 'images/animations/os/os04/os04_mixer_bottom__minus.png'); + this['load']['image']('os04_mixer_top', 'images/animations/os/os04/os04_mixer_top.png'); + this['load']['image']('os04_mixer_top_minus', 'images/animations/os/os04/os04_mixer_top__minus.png'); + this['load']['image']('os04_switch', 'images/animations/os/os04/os04_switch.png'); + this['load']['image']('os04_switch_switch', 'images/animations/os/os04/os04_switch_switch.png'); + this['load']['image']('os04_power_bottom_minus', 'images/animations/os/os04/os04_power_bottom_minus.png'); + this['load']['image']('os04_power_bottom_plus', 'images/animations/os/os04/os04_power_bottom_plus.png'); + this['load']['image']('os04_power_right_minus', 'images/animations/os/os04/os04_power_right_minus.png'); + this['load']['image']('os04_power_right_plus', 'images/animations/os/os04/os04_power_right_plus.png'); + this['load']['image']('os04_power_left_minus', 'images/animations/os/os04/os04_power_left_minus.png'); + this['load']['image']('os04_power_left_plus', 'images/animations/os/os04/os04_power_left_plus.png'); + this['load']['image']('os04_laser_activated', 'images/animations/os/os04/os04_laser_activated.png'); + this['load']['image']('os04_btn_off', 'images/animations/os/os04/os04_btn_off.png'); + this['load']['image']('os04_btn_on', 'images/animations/os/os04/os04_btn_on.png'); + this['load']['image']('el', 'images/bg/el_sp.png'); + this['load']['image']('elsp_btn_broken', 'images/animations/el/el_btn_broken.png'); + this['load']['image']('elsp_btn', 'images/animations/el/el_btn.png'); + this['load']['image']('elsp_btn_pressed', 'images/animations/el/el_btn_pressed.png'); + this['load']['image']('el_bg1', 'images/animations/el/bg1.png'); + this['load']['image']('el_bg2', 'images/animations/el/bg2.png'); + this['load']['image']('el_bg3', 'images/animations/el/bg3.png'); + this['load']['image']('el_bg4', 'images/animations/el/bg4.png'); + this['load']['image']('el_door', 'images/animations/el/door/el_door.png'); + this['load']['image']('el_door_mask', 'images/animations/el/door/mask.png'); + this['load']['image']('el_indicator_1', 'images/animations/el/indicator/el_indicator_1.png'); + this['load']['image']('el_indicator_1to2', 'images/animations/el/indicator/el_indicator_1to2.png'); + this['load']['image']('el_indicator_2', 'images/animations/el/indicator/el_indicator_2.png'); + this['load']['image']('el_indicator_2to3', 'images/animations/el/indicator/el_indicator_2to3.png'); + this['load']['image']('el_indicator_3', 'images/animations/el/indicator/el_indicator_3.png'); + this['load']['image']('el_indicator_off', 'images/animations/el/indicator/el_indicator_off.png'); + this['load']['image']('lch01', 'images/bg/lch01.png'); + this['load']['image']('lch01_panel_bg', 'images/animations/lch/lch01/panel/lch01_panel_bg.png'); + this['load']['image']('lch01_hatch_opened', 'images/animations/lch/lch01/hatch/lch01_hatch_opened.png'); + this['load']['image']('lch01_hatch_closed', 'images/animations/lch/lch01/hatch/lch01_hatch_closed.png'); + this['load']['image']('lch01_secret_sign', 'images/animations/lch/lch01/lch01_secret_sign.png'); + this['load']['image']('lch01_secret_sign_on', 'images/animations/lch/lch01/lch01_secret_sign_on.png'); + this['load']['image']('lch02_lamp_green', 'images/animations/lch/lch02/lch02_lamp_green.png'); + this['load']['image']('lch02_lamp_red', 'images/animations/lch/lch02/lch02_lamp_red.png'); + this['load']['image']('lch02_switch', 'images/animations/lch/lch02/lch02_switch.png'); + this['load']['image']('lch02_switch_on', 'images/animations/lch/lch02/lch02_switch_on.png'); + this['load']['image']('intr0003', 'images/bg/intr0003.jpg'); + this['load']['image']('intr0004', 'images/bg/intr0004.jpg'); + this['load']['image']('intr0004_sign', 'images/animations/intr/intr0004/intr0004_sign.png'); + this['load']['image']('intr0004_sign_on', 'images/animations/intr/intr0004/intr0004_sign_on.png'); + this['load']['image']('intr0006', 'images/bg/intr0006.jpg'); + this['load']['image']('intr0006_rotator', 'images/animations/intr/intr0006/intr0006_rotator.png'); + this['load']['image']('intr0006_rotator_on', 'images/animations/intr/intr0006/intr0006_rotator_on.png'); + this['load']['image']('intr0007_pipe1', 'images/animations/intr/intr0007/intr0007_pipe1.png'); + this['load']['image']('intr0007_hatch', 'images/animations/intr/intr0007/intr0007_hatch.png'); + this['load']['image']('intr0007_rotator', 'images/animations/intr/intr0007/intr0007_rotator.png'); + this['load']['image']('intr0007_rotator_on', 'images/animations/intr/intr0007/intr0007_rotator_on.png'); + this['load']['image']('intr0007', 'images/bg/intr0007.jpg'); + this['load']['image']('intr0009', 'images/bg/intr0009.jpg'); + this['load']['image']('intr0010', 'images/bg/intr0010.jpg'); + this['load']['image']('intr0101', 'images/bg/intr0101.jpg'); + this['load']['image']('intr0102', 'images/bg/intr0102.jpg'); + this['load']['image']('intr0201', 'images/bg/intr0201.jpg'); + this['load']['image']('intr0302', 'images/bg/intr0302.jpg'); + this['load']['image']('intr0303', 'images/bg/intr0303.jpg'); + this['load']['image']('intr0401', 'images/bg/intr0401.jpg'); + this['load']['image']('intr0503', 'images/bg/intr0503.jpg'); + this['load']['image']('lch02', 'images/bg/lch02.jpg'); + this['load']['image']('lch03', 'images/bg/lch03.jpg'); + this['load']['image']('lch03_door_thing', 'images/animations/lch/lch03/lch03_door_thing.png'); + this['load']['image']('cr02', 'images/bg/cr2.jpg'); + this['load']['image']('cr03', 'images/bg/cr3.jpg'); + this['load']['image']('cr03_glass', 'images/animations/cr3/glass.png'); + this['load']['image']('cr03_light', 'images/animations/cr3/cr3_light.png'); + this['load']['image']('7ka', 'images/bg/7kA.jpg'); + this['load']['image']('7kb', 'images/bg/7kB.jpg'); + this['load']['image']('7ka_keyplace', 'images/animations/k7/box/7kA_keyplace.png'); + this['load']['image']('7ka_keyplace_2', 'images/animations/k7/box/7kA_keyplace_2.png'); + this['load']['image']('7ka_box_mask', 'images/animations/k7/box/mask.png'); + this['load']['image']('7ka_box_mask2', 'images/animations/k7/box/mask2.png'); + this['load']['image']('7ka_box_indicator7', 'images/animations/k7/box/7kA_indicator7.png'); + this['load']['image']('7ka_box', 'images/animations/k7/box/7kA_box.png'); + this['load']['image']('7ka_door', 'images/animations/k7/door/7kA_door.png'); + this['load']['image']('7ka_mask', 'images/animations/k7/door/mask.png'); + this['load']['image']('7ka_cube', 'images/animations/k7/cube/7kA_cube.png'); + this['load']['image']('7kb_mask', 'images/animations/k7/door/mask2.png'); + this['load']['image']('7kb_door', 'images/animations/k7/door/7kB_door.png'); + this['load']['image']('7kb_cube', 'images/animations/k7/cube/7kB_cube.png'); + this['load']['image']('device_arrow', 'images/device/arrow.png'); + this['load']['image']('device_tmp07_1', 'images/device/tmp07/tmp07_device_1.png'); + this['load']['image']('device_tmp07_2', 'images/device/tmp07/tmp07_device_2.png'); + this['load']['image']('device_os01_2', 'images/device/os01/os01_device_2.png'); + this['load']['image']('device_os01_1', 'images/device/os01/os01_device_1.png'); + this['load']['image']('device_tr0003_1', 'images/device/tr0003/tr0003_device_1.png'); + this['load']['image']('device_tr0003_2', 'images/device/tr0003/tr0003_device_2.png'); + this['load']['image']('device_tr0302_1', 'images/device/tr0302/tr0302_device_1.png'); + this['load']['image']('device_tr0302_2', 'images/device/tr0302/tr0302_device_2.png'); + this['load']['image']('device_cr02_2', 'images/device/cr/cr_device_2.png'); + this['load']['image']('device_cr02_1', 'images/device/cr/cr_device_1.png'); + this['load']['image']('device_tb04b_1', 'images/device/tbt03-1B/tbt03-1b_device_1.png'); + this['load']['image']('device_tb04b_2', 'images/device/tbt03-1B/tbt03-1b_device_2.png'); + this['load']['image']('device_flp03_2', 'images/device/flp03/flp03_device_2.png'); + this['load']['image']('device_flp03_1', 'images/device/flp03/flp03_device_1.png'); + this['load']['image']('device_tr0004_2', 'images/device/tr0004/tr0004_device_2.png'); + this['load']['image']('device_tr0004_1', 'images/device/tr0004/tr0004_device_1.png'); + this['load']['image']('device_pr02_1', 'images/device/pr02/pr02_device_1.png'); + this['load']['image']('device_pr02_2', 'images/device/pr02/pr02_device_2.png'); + this['load']['image']('device_intr0102_1', 'images/device/intr0102/intr0102_device_1.png'); + this['load']['image']('device_intr0102_2', 'images/device/intr0102/intr0102_device_2.png'); + this['load']['image']('device_htf02_2', 'images/device/htf02/hthf02_device_2.png'); + this['load']['image']('device_htf02_1', 'images/device/htf02/hthf02_device_1.png'); + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + this['load']['image']('k7_indicator_' + _0x5a8aa6, 'images/animations/k7/box/7kA_indicator7_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xd; _0x5a8aa6++) { + this['load']['image']('tb03_door_' + _0x5a8aa6, 'images/animations/tbt/tb03/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x4; _0x5a8aa6++) { + this['load']['image']('tr0010_door_' + _0x5a8aa6, 'images/animations/tr/tr0010/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x6; _0x5a8aa6++) { + this['load']['image']('tr0101_door_' + _0x5a8aa6, 'images/animations/tr/tr0101/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x6; _0x5a8aa6++) { + this['load']['image']('tr0301_door_' + _0x5a8aa6, 'images/animations/tr/tr0101/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + this['load']['image']('portal_' + _0x5a8aa6, 'images/animations/portal/' + _0x5a8aa6 + '.jpg'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x21; _0x5a8aa6++) { + this['load']['image']('tr0011_ladder_' + _0x5a8aa6, 'images/animations/tr/tr0011/skeleton-ladder_opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('tr0401_door_' + _0x5a8aa6, 'images/animations/tr/tr0401/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('pr02_door_' + _0x5a8aa6, 'images/animations/pr/pr02/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + this['load']['image']('pr03_door_' + _0x5a8aa6, 'images/animations/pr/pr03/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + this['load']['image']('htf01_door_' + _0x5a8aa6, 'images/animations/htf/htf01/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('sp01_hatch_' + _0x5a8aa6, 'images/animations/sp/sp01/hatch/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + this['load']['image']('sp01_el_' + _0x5a8aa6, 'images/animations/sp/sp01/el/skeleton-to_down_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xd; _0x5a8aa6++) { + this['load']['image']('sp04_lever_' + _0x5a8aa6, 'images/animations/sp/sp04/lever/skeleton-to_on_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('flp04_shelf_door_' + _0x5a8aa6, 'images/animations/flp/flp04/shelf_door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + this['load']['image']('flp04_lever_' + _0x5a8aa6, 'images/animations/flp/flp04/lever/to_on/skeleton-to_on_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('os01_door_' + _0x5a8aa6, 'images/animations/os/os01/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + this['load']['image']('os02_door_' + _0x5a8aa6, 'images/animations/os/os02/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('os04_laser_' + _0x5a8aa6, 'images/animations/os/os04/laser/skeleton-animation_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + this['load']['image']('os04_lever_' + _0x5a8aa6, 'images/animations/os/os04/lever/skeleton-down_up_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('lch01_hatch_' + _0x5a8aa6, 'images/animations/lch/lch01/hatch/frames/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x10; _0x5a8aa6++) { + this['load']['image']('lch01_lever_' + _0x5a8aa6, 'images/animations/lch/lch01/lever/skeleton-on_off_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xa; _0x5a8aa6++) { + this['load']['image']('lch01_panel_btn_' + _0x5a8aa6, 'images/animations/lch/lch01/panel/lch01_panel_btn_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('lch01_door_' + _0x5a8aa6, 'images/animations/lch/lch01/door/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + this['load']['image']('el_door_' + _0x5a8aa6, 'images/animations/el/opening/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x1a; _0x5a8aa6++) { + this['load']['image']('intr0010_door_' + _0x5a8aa6, 'images/animations/intr/intr0010/skeleton-closing_' + (0x19 - _0x5a8aa6) + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('intr0101_door_' + _0x5a8aa6, 'images/animations/intr/intr0101/skeleton-closing_' + (0x8 - _0x5a8aa6) + '.png'); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + this['load']['image']('intr0401_door_' + _0x5a8aa6, 'images/animations/intr/intr0401/skeleton-opening_' + _0x5a8aa6 + '.png'); + } + this['load']['image']('splash_logo', 'images/splash/splash.png'); + }, + 'create': function() { + this['scene']['start']('splashLogoScene'); + } + }); + var _0x3825b2 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function _0x6acfe0() { + Phaser['Scene']['call'](this, { + 'key': 'splashLogoScene' + }); + }, + 'create': function() { + var _0x270654 = document['getElementById']('url'); + _0x270654['style']['display'] = 'block'; + var _0x528158 = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'splash_logo'); + this['tweens']['add']({ + 'targets': _0x528158, + 'alpha': 0x1, + 'duration': 0x7d0, + 'onComplete': function() { + _0x270654['style']['display'] = 'none'; + this['scene']['start']('menuScene'); + } ['bind'](this) + }); + } + }); + var _0x17c664 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function() { + Phaser['Scene']['call'](this, { + 'key': 'menuScene' + }); + }, + 'create': function() { + _0x5d99ff(this, 'music_menu'); + this['add']['sprite'](_0x2aacf1, _0x25d46a, 'bg_mainmenu'); + this['add']['sprite'](0x50, _0x25d46a - 0xaa, 'logo_through_small')['setOrigin'](0x0, 0.5); + this['music'] = this['add']['sprite'](0x32, _0x3eaf37 - 0x32, _0x280656['music'] ? 'btn_music_on' : 'btn_music_off')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('music'); + this['soundIcon'] = this['add']['sprite'](0x82, _0x3eaf37 - 0x32, _0x280656['sound'] ? 'btn_sound_on' : 'btn_sound_off')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('sound'); + this['credits'] = this['add']['sprite'](_0x4a8abc - 0x32, _0x3eaf37 - 0x32, 'btn_credits')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('credits'); + this['play'] = this['add']['sprite'](0xbf, _0x25d46a - 0x28, 'btn_green_small')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('play')['setOrigin'](0.5, 0.5); + this['playText'] = this['add']['text'](0xbf, _0x25d46a - 0x28, 'CONTINUE', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x1e + })['setOrigin'](0.5, 0.5); + this['deleteSave'] = this['add']['sprite'](0xbf, _0x25d46a + 0x1e, 'btn_play')['setName']('delete_save')['setScale'](1.3, 0x1)['setOrigin'](0.5, 0.5)['setInteractive']({ + 'cursor': 'pointer' + }); + this['deleteSaveText'] = this['add']['text'](0xbf, _0x25d46a + 0x1e, 'DELETE\x20SAVES', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x1e + })['setOrigin'](0.5, 0.5); + if (_0x280656['lastScene'] === '') { + this['deleteSave']['disableInteractive']()['setTexture']('btn_navy_small')['setAlpha'](0.5); + this['deleteSaveText']['setAlpha'](0.5); + this['playText']['setText']('PLAY'); + } + var _0x1a6ee2 = this['add']['image'](0x0, 0x0, 'black')['setAlpha'](0.7)['setInteractive']()['setName']('bg'); + var _0x1eda02 = this['add']['image'](0x0, 0x0, 'window_small'); + var _0x44900c = this['add']['text'](0x0, -0x28, 'DELETE\x20SAVES?', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x23 + })['setOrigin'](0.5, 0.5); + var _0x52f9f = this['add']['sprite'](-0x82, 0x1e, 'btn_play')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('confirm_delete_save'); + var _0x256314 = this['add']['text'](-0x82, 0x1e, 'YES', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x1e + })['setOrigin'](0.5, 0.5); + var _0x57d39d = this['add']['sprite'](0x82, 0x1e, 'btn_play')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('cancel_delete_save'); + var _0x30755e = this['add']['text'](0x82, 0x1e, 'NO', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x1e + })['setOrigin'](0.5, 0.5); + this['confirmReset'] = this['add']['container'](_0x2aacf1, _0x25d46a, [_0x1a6ee2, _0x1eda02, _0x44900c, _0x52f9f, _0x256314, _0x57d39d, _0x30755e])['setVisible'](![]); + this['input']['on']('gameobjectdown', function(_0x138025, _0x54f0fb) { + if (_0x54f0fb['name'] === 'music') { + _0x5619f8(this, 'menu_click'); + this['toggleMusic'](); + } else if (_0x54f0fb['name'] === 'sound') { + _0x5619f8(this, 'menu_click'); + this['toggleSound'](); + } else if (_0x54f0fb['name'] === 'credits') { + _0x5619f8(this, 'menu_click'); + this['showCredits'](); + } else if (_0x54f0fb['name'] === 'play') { + _0x5619f8(this, 'menu_click'); + this['startGame'](); + } else if (_0x54f0fb['name'] === 'delete_save') { + _0x5619f8(this, 'menu_click'); + this['confirmReset']['setVisible'](!![]); + } else if (_0x54f0fb['name'] === 'confirm_delete_save') { + _0x5619f8(this, 'menu_click'); + this['resetGame'](); + this['confirmReset']['setVisible'](![]); + } else if (_0x54f0fb['name'] === 'cancel_delete_save') { + _0x5619f8(this, 'menu_click'); + this['confirmReset']['setVisible'](![]); + } + }, this); + }, + 'toggleMusic': function() { + _0x280656['music'] = !_0x280656['music']; + _0x4937e6(); + this['music']['setTexture'](_0x280656['music'] ? 'btn_music_on' : 'btn_music_off'); + _0x11c867('music_menu'); + _0x5d99ff(this, 'music_menu'); + }, + 'toggleSound': function() { + _0x280656['sound'] = !_0x280656['sound']; + _0x4937e6(); + this['soundIcon']['setTexture'](_0x280656['sound'] ? 'btn_sound_on' : 'btn_sound_off'); + }, + 'showCredits': function() { + _0xb43598['input']['setDefaultCursor']('default'); + this['scene']['start']('creditsScene'); + }, + 'resetGame': function() { + _0x280656 = _0x5cf1c6(); + _0x4937e6(); + this['deleteSave']['setTexture']('btn_navy_small')['disableInteractive']()['setAlpha'](0.5); + this['deleteSaveText']['setAlpha'](0.5); + this['music']['setTexture']('btn_music_on'); + this['soundIcon']['setTexture']('btn_sound_on'); + this['playText']['setText']('PLAY'); + _0x11c867('music_menu'); + _0x5d99ff(this, 'music_menu'); + }, + 'startGame': function() { + _0xb43598['canvas']['removeEventListener']('click', this['canvasClick']); + _0xb43598['canvas']['removeEventListener']('touchend', this['canvasClick']); + _0x11c867('music_menu'); + this['scene']['start']('portalScene'); + this['scene']['start']('inventoryScene'); + this['scene']['start'](_0x280656['scene']); + } + }); + var _0x3dca12 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function() { + Phaser['Scene']['call'](this, { + 'key': 'creditsScene' + }); + }, + 'create': function() { + this['add']['sprite'](_0x2aacf1, _0x25d46a, 'credits_bg'); + this['add']['sprite'](_0x2aacf1, 0x50, 'logo_through_small'); + var _0x44e75a = this['scene']['settings']['data']['noBack']; + if (!_0x44e75a) { + this['add']['sprite'](0x64, 0x64, 'btn_back')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('back'); + } + this['add']['text'](_0x2aacf1 - 0x5, _0x25d46a - 0x64, 'A\x20game\x20by', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0x1, 0.5); + this['add']['text'](_0x2aacf1 + 0x5, _0x25d46a - 0x64, 'Igor\x20Krutov', { + 'color': '#ffffff', + 'align': 'center', + 'fontStyle': 'bold', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0x0, 0.5); + this['add']['text'](_0x2aacf1 - 0x7d, _0x25d46a + 0x1e, 'Evgeniy\x20Smolkin', { + 'color': '#ffffff', + 'align': 'center', + 'fontStyle': 'bold', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['add']['text'](_0x2aacf1 - 0x7d, _0x25d46a + 0x46, 'Art', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['add']['text'](_0x2aacf1 + 0x73, _0x25d46a + 0x1e, 'Mikhail\x20Zhbankov', { + 'color': '#ffffff', + 'align': 'center', + 'fontStyle': 'bold', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['add']['text'](_0x2aacf1 + 0x73, _0x25d46a + 0x46, 'Code', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['add']['text'](_0x2aacf1, _0x25d46a + 0xa0, 'Igor\x20Krutov', { + 'color': '#ffffff', + 'align': 'center', + 'fontStyle': 'bold', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['add']['text'](_0x2aacf1, _0x25d46a + 0xc8, 'Game\x20design,\x20animations', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'menuFont', + 'fontSize': 0x18 + })['setOrigin'](0.5, 0.5); + this['input']['on']('gameobjectdown', function(_0x540d0b, _0x2ca21e) { + if (_0x2ca21e['name'] === 'back') { + _0x5619f8(this, 'menu_click'); + this['scene']['start']('menuScene'); + } + }, this); + } + }); + var _0x196537 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'initialize': function() { + Phaser['Scene']['call'](this, { + 'key': 'portalScene' + }); + }, + 'create': function() { + this['layer'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'black')['setVisible'](![])['setAlpha'](0x0); + }, + 'portalTo': function(_0x422692, _0xb30500) { + _0xb43598['scene']['bringToTop']('portalScene'); + this['input']['stopPropagation'](); + _0x1967e9(); + this['layer']['setAlpha'](0x0)['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['layer'], + 'alpha': 0x1, + 'duration': _0xecb5a1 * 0.5, + 'onComplete': function() { + _0x280656['lastScene'] = _0x422692['scene']['key']; + _0x280656['scene'] = _0xb30500; + _0x4937e6(); + _0x422692['scene']['transition']({ + 'target': _0xb30500, + 'duration': 0x1, + 'moveAbove': !![], + 'data': { + 'scene': _0x422692['scene']['key'] + } + }); + this['tweens']['add']({ + 'targets': this['layer'], + 'alpha': 0x0, + 'duration': _0xecb5a1, + 'onComplete': function() { + this['layer']['setVisible'](![]); + this['input']['setDefaultCursor']('default'); + _0xb43598['scene']['sendToBack']('portalScene'); + _0xb43598['scene']['bringToTop']('inventoryScene'); + _0x5178ad(); + } ['bind'](this) + }); + } ['bind'](this) + }); + } + }); + var _0x19fd9d = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'inProgress': null, + 'initialize': function() { + Phaser['Scene']['call'](this, { + 'key': 'inventoryScene' + }); + }, + 'create': function() { + this['items'] = {}; + this['texts'] = {}; + this['inProgress'] = {}; + this['activeItem'] = null; + this['add']['sprite'](_0x4a8abc - 0x32, 0x32, 'btn_settings')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('gotoMenu'); + this['inventoryArrow'] = this['add']['sprite'](_0x2aacf1 - 0x28, -0x19, 'inventory_arrow')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('inventory_arrow')['setScale'](0.8)['setAngle'](0xb4); + this['inventoryLine'] = this['add']['sprite'](0x0, 0x0, 'inventory_line')['setOrigin'](0.5, 0x0)['setInteractive']()['setName']('inventory_line'); + var _0x2f6fd8 = [this['inventoryArrow'], this['inventoryLine']]; + this['inventory'] = this['add']['container'](_0x2aacf1, _0x3eaf37 - 0x3c, _0x2f6fd8); + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x280656['inventory']['items']['length']; _0x5a8aa6++) { + var _0x11ea0c = _0x280656['inventory']['items'][_0x5a8aa6]; + var _0x5627e8 = this['add']['sprite'](_0x5a8aa6 * 0x32 - _0x2aacf1 + 0x14, 0x19, 'inv_items', _0x11ea0c)['setScale'](0.2)['setOrigin'](0.5, 0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName'](_0x11ea0c); + _0x5627e8['setData']('inventory_item', !![]); + this['putItem'](_0x11ea0c, _0x5627e8, !![]); + } + this['setInventoryState'](_0x280656['inventory']['open'], !![]); + this['input']['on']('gameobjectdown', function(_0x3739c8, _0x496234) { + if (_0x496234['name'] === 'gotoMenu') { + _0x5619f8(this, 'menu_click'); + _0x11c867(_0xb43598['bgMusic']['name']); + _0xb43598['bgMusic']['name'] = null; + this['input']['stopPropagation'](); + this['scene']['stop']('portalScene'); + this['scene']['stop']('inventoryScene'); + this['scene']['stop'](_0x280656['scene']); + this['scene']['start']('menuScene'); + return; + } + if (_0x496234['name'] === 'inventory_arrow') { + _0x5619f8(this, _0x280656['inventory']['open'] ? 'ui_inventory_close' : 'ui_inventory_open'); + this['setInventoryState'](!_0x280656['inventory']['open']); + this['input']['stopPropagation'](); + return; + } + if (_0x496234['getData']('inventory_item')) { + this['activateItem'](_0x496234['name']); + return; + } + }, this); + this['scene']['moveUp'](); + }, + 'setInventoryState': function(_0x4abfdb, _0x12fe9c) { + this['resetActiveItem'](); + if (_0x12fe9c) { + this['inventory']['y'] = _0x4abfdb ? _0x3eaf37 - 0x3c : _0x3eaf37; + this['inventoryArrow']['setAngle'](_0x4abfdb ? 0xb4 : 0x0); + _0x280656['inventory']['open'] = _0x4abfdb; + return; + } + this['tweens']['add']({ + 'targets': this['inventory'], + 'y': _0x4abfdb ? _0x3eaf37 - 0x3c : _0x3eaf37, + 'duration': _0xecb5a1 / 0x2 + }); + this['tweens']['add']({ + 'targets': this['inventoryArrow'], + 'angle': _0x4abfdb ? -0xb4 : 0x0, + 'duration': _0xecb5a1 / 0x2 + }); + _0x280656['inventory']['open'] = _0x4abfdb; + _0x4937e6(); + }, + 'activateItem': function(_0x10f42d) { + if (_0x280656['inventory']['active'] == _0x10f42d) { + _0x5619f8(this, 'ui_back_item'); + this['resetActiveItem'](); + return; + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x280656['inventory']['items']['length']; _0x5a8aa6++) { + var _0x5f302b = _0x280656['inventory']['items'][_0x5a8aa6]; + this['items'][_0x5f302b]['setScale'](0.2); + this['items'][_0x5f302b]['y'] = 0x19; + } + this['items'][_0x10f42d]['setScale'](0.3); + this['items'][_0x10f42d]['y'] = 0x0; + _0x280656['inventory']['active'] = _0x10f42d; + _0x5619f8(this, 'ui_select_item'); + }, + 'resetActiveItem': function() { + if (typeof this['items'][_0x280656['inventory']['active']] !== 'undefined') { + this['items'][_0x280656['inventory']['active']]['setScale'](0.2); + this['items'][_0x280656['inventory']['active']]['y'] = 0x19; + } + _0x280656['inventory']['active'] = null; + }, + 'putItem': function(_0x547260, _0x554bba, _0x4bb61a) { + if (typeof _0x280656['inventory']['counter'][_0x547260] === 'undefined') { + _0x280656['inventory']['counter'][_0x547260] = 0x0; + } + if (!_0x4bb61a) { + _0x280656['inventory']['counter'][_0x547260]++; + if (_0x280656['inventory']['counter'][_0x547260] == 0x1 && _0x280656['inventory']['items']['indexOf'](_0x547260) === -0x1) { + _0x280656['inventory']['items']['push'](_0x547260); + } + } + if (typeof this['items'][_0x547260] === 'undefined') { + this['items'][_0x547260] = _0x554bba; + } + this['inventory']['add'](_0x554bba); + if (typeof this['texts'][_0x547260] === 'undefined') { + var _0x2c12f0 = _0x554bba['pos'] ? _0x554bba['pos']['x'] : _0x554bba['x']; + this['texts'][_0x547260] = this['add']['text'](_0x2c12f0 + 0x19, 0x32, '', { + 'color': '#ffffff', + 'align': 'center', + 'fontFamily': 'Arial', + 'fontSize': 0xc + })['setOrigin'](0.5, 0.5); + this['inventory']['add'](this['texts'][_0x547260]); + } + this['texts'][_0x547260]['setText']('' + (_0x280656['inventory']['counter'][_0x547260] > 0x1 ? _0x280656['inventory']['counter'][_0x547260] : '')); + this['children']['bringToTop'](this['texts'][_0x547260]); + }, + 'addItem': function(_0x1c9ddd, _0x1822f4, _0xb4a5dc) { + if (this['inProgress'][_0x1822f4]) return ![]; + this['inProgress'][_0x1822f4] = !![]; + _0x1c9ddd['disableInteractive'](); + _0x5619f8(this, 'ui_pickup_item'); + var _0x2494f6 = this['add']['sprite'](_0x1c9ddd['x'] - _0x2aacf1, _0x1c9ddd['y'] - _0x3eaf37, 'inv_items', _0x1822f4)['setScale'](0.2)['setOrigin'](0.5, 0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName'](_0x1822f4)['setData']('inventory_item', !![]); + var _0x3e307b = { + 'x': 0x0, + 'y': 0x19 + }; + if (!_0x280656['inventory']['counter'][_0x1822f4]) { + var _0x5a8aa6 = _0x280656['inventory']['items']['length']; + _0x3e307b['x'] = _0x5a8aa6 * 0x32 - _0x2aacf1 + 0x14; + } else { + _0x3e307b['x'] = this['items'][_0x1822f4]['x']; + } + _0x2494f6['pos'] = _0x3e307b; + this['tweens']['add']({ + 'targets': _0x2494f6, + 'x': _0x3e307b['x'], + 'y': _0x3e307b['y'], + 'duration': _0xecb5a1, + 'onComplete': function() { + this['inProgress'][_0x1822f4] = ![]; + if (_0x280656['inventory']['counter'][_0x1822f4] > 0x1) { + this['inventory']['remove'](_0x2494f6); + } + } ['bind'](this) + }); + this['putItem'](_0x1822f4, _0x2494f6); + _0x4937e6(); + return !![]; + }, + 'removeItem': function(_0x29f7d0, _0x2b424d) { + if (!this['items'][_0x29f7d0] || _0x280656['inventory']['items']['indexOf'](_0x29f7d0) < 0x0) { + return; + } + _0x2b424d = typeof _0x2b424d === 'undefined' ? 'use' : _0x2b424d; + if (_0x2b424d) { + _0x5619f8(this, _0x2b424d); + } + var _0x8e604b = this['items'][_0x29f7d0]; + _0x280656['inventory']['counter'][_0x29f7d0]--; + if (!_0x280656['inventory']['counter'][_0x29f7d0]) { + this['inventory']['remove'](_0x8e604b); + delete this['items'][_0x29f7d0]; + var _0x49a51c = _0x280656['inventory']['items']['indexOf'](_0x29f7d0); + _0x280656['inventory']['items']['splice'](_0x49a51c, 0x1); + if (_0x280656['inventory']['active'] == _0x29f7d0) { + _0x280656['inventory']['active'] = null; + } + for (var _0x5a8aa6 = _0x49a51c; _0x5a8aa6 < _0x280656['inventory']['items']['length']; _0x5a8aa6++) { + var _0x29f7d0 = _0x280656['inventory']['items'][_0x5a8aa6]; + var _0x8e604b = this['items'][_0x29f7d0]; + if (!_0x8e604b) continue; + var _0x744be2 = [_0x8e604b]; + if (typeof this['texts'][_0x29f7d0] !== 'undefined') { + _0x744be2['push'](this['texts'][_0x29f7d0]); + } + this['tweens']['add']({ + 'targets': _0x744be2, + 'x': '-=50', + 'duration': _0xecb5a1 + }); + } + } + this['texts'][_0x29f7d0]['setText']('' + (_0x280656['inventory']['counter'][_0x29f7d0] > 0x1 ? _0x280656['inventory']['counter'][_0x29f7d0] : '')); + _0x4937e6(); + } + }); + var _0x1db0d7 = new Phaser['Class']({ + 'Extends': Phaser['Scene'], + 'name': null, + 'bgSprite': null, + 'transitions': null, + 'showing': null, + 'zones': null, + 'portals': null, + 'noZones': null, + 'puzzleBox': null, + 'initialize': function(_0x3c9437, _0x571c06, _0x14963b, _0x408e31, _0x38376f) { + this['name'] = _0x3c9437; + if (!this['bgSprite']) { + this['bgSprite'] = _0x3c9437; + } + this['originTransitions'] = _0x5f0b2a(_0x571c06); + this['transitions'] = _0x5f0b2a(_0x571c06); + this['showing'] = _0x14963b; + this['zones'] = _0x408e31; + this['portals'] = _0x38376f; + this['noZones'] = {}; + Phaser['Scene']['call'](this, { + 'key': this['name'] + }); + }, + 'runMusicLoop': function() { + if (!_0x280656['music']) return; + var _0x325cd7 = this['name']['substring'](0x0, 0x2); + var _0xaf19c6 = 'music_' + _0x325cd7; + if (typeof _0x56a351[_0xaf19c6] !== 'undefined') { + _0xaf19c6 = _0x56a351[_0xaf19c6]; + } + if (_0xb43598['bgMusic']['name'] === _0xaf19c6) { + return; + } + _0x11c867(_0xb43598['bgMusic']['name']); + _0xb43598['bgMusic']['name'] = _0xaf19c6; + _0x5d99ff(this, _0xaf19c6); + }, + 'create': function() { + this['transitions'] = _0x5f0b2a(this['originTransitions']); + this['before_bg_create'](); + this['bg'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, this['bgSprite']); + this['runMusicLoop'](); + if (this['showing']) { + this['events']['on']('transitionstart', function(_0x2c1303, _0x56510d) { + _0xb43598['setActiveScene'](this['scene']['key']); + this['input']['setDefaultCursor']('default'); + this['extra_transition'](_0x2c1303, _0x56510d); + if (this['portals'] && typeof this['portals'][_0x2c1303['scene']['key']] !== 'undefined') { + return; + } + var _0x38243b = this['showing'][_0x2c1303['scene']['key']]; + _0x45daa9(this, _0x38243b); + }, this); + this['events']['on']('transitioncomplete', function(_0x3f9c12, _0x38d108) { + _0x5178ad(); + }, this); + } + if (this['transitions']) { + this['input']['on']('gameobjectdown', function(_0x438fae, _0x7c48cf) { + if (_0x7c48cf['type'] === 'Zone') { + for (var _0x359ef4 in this['portals']) { + if (!this['portals']['hasOwnProperty'](_0x359ef4)) continue; + if (this['portals'][_0x359ef4] == _0x7c48cf['name']) { + this['before_portal'](); + _0x36f2e8(this, _0x359ef4); + _0x5619f8(this, 'transition_to'); + return; + } + } + if (typeof this['transitions'][_0x7c48cf['name']] !== 'undefined') { + _0x1967e9(); + _0x5619f8(this, 'footsteps'); + this['before_transition'](_0x7c48cf['name'], this['transitions'][_0x7c48cf['name']]); + _0x3d4394(this, _0x7c48cf['name'], this['transitions']); + } + } + }, this); + this['input']['on']('gameobjectover', function(_0x2aaed6, _0x396c31) { + if (_0x396c31['type'] === 'Zone' && (_0x2aaed6['position']['x'] != 0x0 || _0x2aaed6['position']['y'] != 0x0)) { + this['input']['manager']['setDefaultCursor']('pointer'); + } + }, this); + this['input']['on']('gameobjectout', function(_0x39d4ed, _0x4fc0e0) { + if (_0x4fc0e0['type'] === 'Zone') { + this['input']['manager']['setDefaultCursor']('default'); + } + }, this); + for (key in this['transitions']) { + if (typeof _0x130e52[key] !== 'undefined' && !this['noZones'][key]) { + var _0x2849ff = _0x130e52[key]; + this['add']['zone'](_0x2849ff['x'], _0x2849ff['y'], _0x2849ff['width'], _0x2849ff['height'])['setName'](key)['setInteractive'](); + } + } + if (this['zones']) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['zones']['length']; _0x5a8aa6++) { + this['addZone'](this['zones'][_0x5a8aa6]); + } + } + } + this['extra_create'](); + this['portalLayer'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'black')['setVisible'](![])['setInteractive']()['setName']('portalLayer'); + }, + 'createDevice': function(_0x13c745, _0x27ae23, _0x4badbb, _0x8e983a, _0x3d233c, _0x26332f) { + _0x4badbb = _0x4badbb || this['name']; + if (typeof _0x3d0774[_0x4badbb] === 'undefined') return; + _0x26332f = _0x26332f || 0x0; + _0x8e983a = _0x8e983a || 'device_' + _0x4badbb; + _0x3d233c = _0x3d233c || 0x1; + var _0x2bb5f0 = this['add']['sprite'](_0x13c745, _0x27ae23, _0x8e983a + '_2')['setName'](_0x4badbb)['setInteractive']({ + 'cursor': 'pointer' + })['setScale'](_0x3d233c); + if (!_0xb43598['getEvent'](_0x3d0774[_0x4badbb]['event'])) { + _0x2bb5f0['setTexture'](_0x8e983a + '_1'); + } + this['createShadowLayer'](_0x8e983a, !![], function() { + _0x5619f8(this, 'interface_exit'); + } ['bind'](this)); + var _0x2dca41 = this['deviceText' + _0x4badbb] = this['add']['bitmapText'](_0x2aacf1, 0x64 - _0x26332f, 'rough_draft', _0x2a4c4e(_0x4badbb)['text'], 0x10)['setOrigin'](0.5, 0x0); + var _0x26b0c6 = this['arrowLeft' + _0x4badbb] = this['add']['sprite'](_0x2aacf1 - 0x12c, _0x25d46a + 0xe6, 'device_arrow')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('arrow_left')['setVisible'](!!_0x2a4c4e(_0x4badbb, !![])); + var _0x18c353 = this['arrowRight' + _0x4badbb] = this['add']['sprite'](_0x2aacf1 + 0x12c, _0x25d46a + 0xe6, 'device_arrow')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('arrow_right')['setVisible'](!!_0x2a4c4e(_0x4badbb, ![])); + var _0x3b1358 = this['add']['container'](0x0, 0x0, [_0x2dca41, _0x26b0c6, _0x18c353])['setData']('startX', _0x2aacf1)['setData']('deltaX', 0x0)['setVisible'](![]); + this['currentDevice'] = ''; + this['currentDeviceText'] = ''; + this['input']['on']('gameobjectdown', function(_0x464739, _0x28bf6e) { + if (_0x28bf6e['name'] === _0x4badbb) { + this['showShadowLayer'](_0x3b1358, !![]); + if (!_0xb43598['getEvent'](_0x3d0774[_0x4badbb]['event'])) { + _0x5619f8(this, 'interface_use'); + } else { + _0x5619f8(this, 'interface_enter'); + } + _0x2bb5f0['setTexture'](_0x8e983a + '_2'); + _0xb43598['setEvent'](_0x3d0774[_0x4badbb]['event'], !![]); + this['currentDevice'] = _0x4badbb; + this['loadDeviceText'](_0x4badbb, _0x4badbb); + } else if (this['currentDevice'] == _0x4badbb && (_0x28bf6e['name'] == 'arrow_left' || _0x28bf6e['name'] == 'arrow_right')) { + var _0x1b89fa = _0x2a4c4e(this['currentDeviceText'], _0x28bf6e['name'] == 'arrow_right'); + if (!_0x1b89fa) return; + _0x5619f8(this, 'interface_turn_page'); + this['loadDeviceText'](_0x4badbb, _0x1b89fa); + } + }, this); + }, + 'loadDeviceText': function(_0x475ea3, _0x38c527) { + if (!_0x38c527) return; + this['currentDeviceText'] = _0x38c527; + this['deviceText' + _0x475ea3]['setText'](_0x3d0774[_0x38c527]['text']); + var _0x274f68 = _0x2a4c4e(_0x38c527, !![]); + var _0x607e4e = _0x2a4c4e(_0x38c527, ![]); + this['arrowLeft' + _0x475ea3]['setVisible'](!!_0x607e4e); + this['arrowRight' + _0x475ea3]['setVisible'](!!_0x274f68); + }, + 'createShadowLayer': function(_0xaa37b3, _0x673503, _0x4f1695) { + _0xaa37b3 = _0xaa37b3 || 'layer'; + this['bgLayer'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'black')['setVisible'](![])['setInteractive']({ + 'cursor': 'pointer' + })['setName'](_0xaa37b3); + this['input']['on']('gameobjectdown', function(_0x449bf, _0x2dd3ab) { + if (_0x2dd3ab['name'] == _0xaa37b3) { + this['hideShadowLayer'](_0x673503, _0x4f1695); + } + }, this); + }, + 'showShadowLayer': function(_0x1ce9a3, _0x4d683a) { + var _0x3a8e41 = _0x1ce9a3['getData']('opacity') || 0.7; + _0xb43598['input']['setDefaultCursor']('default'); + if (_0x4d683a) { + this['bgLayer']['setVisible'](!![])['setAlpha'](_0x3a8e41); + this['puzzleBox'] = _0x1ce9a3; + this['children']['bringToTop'](this['puzzleBox']); + this['showPuzzleBox'](_0x1ce9a3, _0x4d683a); + return; + } + _0x5619f8(this, 'puzzle_in'); + _0x1967e9(); + this['bgLayer']['setVisible'](!![])['setAlpha'](0x0); + this['puzzleBox'] = _0x1ce9a3; + this['tweens']['add']({ + 'targets': this['bgLayer'], + 'alpha': _0x3a8e41, + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0x5178ad(); + } ['bind'](this) + }); + this['showPuzzleBox'](_0x1ce9a3); + }, + 'hideShadowLayer': function(_0xa0d3e1, _0x25d4c6) { + this['input']['stopPropagation'](); + if (_0xa0d3e1) { + this['bgLayer']['setVisible'](![]); + this['closePuzzleBox'](_0xa0d3e1); + if (typeof _0x25d4c6 === 'function') { + _0x25d4c6(); + } + return; + } + _0x1967e9(); + _0x5619f8(this, 'puzzle_out'); + this['tweens']['add']({ + 'targets': this['bgLayer'], + 'alpha': 0x0, + 'duration': _0xecb5a1 * 0x3, + 'onComplete': function() { + this['closeShadowLayer'](); + this['bgLayer']['setVisible'](![]); + _0x5178ad(); + } ['bind'](this) + }); + this['closePuzzleBox'](); + }, + 'closeShadowLayer': function() {}, + 'showPuzzleBox': function(_0x31271d, _0x15ced9) { + this['puzzleBox'] = _0x31271d || this['puzzleBox']; + if (!this['puzzleBox']) return; + if (_0x15ced9) { + this['puzzleBox']['setVisible'](!![]); + return; + } + var _0x24afc0 = this['puzzleBox']['getData']('startX'); + var _0xb40928 = this['puzzleBox']['getData']('deltaX'); + if (typeof _0xb40928 === 'undefined') { + _0xb40928 = _0x4a8abc; + } + this['puzzleBox']['x'] = _0x24afc0; + this['puzzleBox']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['puzzleBox'], + 'x': '-=' + _0xb40928, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Cubic.easeIn', + 'onComplete': function() {} ['bind'](this) + }); + }, + 'closePuzzleBox': function(_0x4546d2) { + if (!this['puzzleBox']) return; + if (_0x4546d2) { + this['puzzleBox']['setVisible'](![]); + return; + } + this['tweens']['add']({ + 'targets': this['puzzleBox'], + 'x': '-=' + _0x4a8abc, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Cubic.easeIn', + 'onComplete': function() { + this['puzzleBox']['setVisible'](![]); + } ['bind'](this) + }); + }, + 'zonesToTop': function() { + var _0x1ee0d4 = []; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['children']['list']['length']; _0x5a8aa6++) { + if (this['children']['list'][_0x5a8aa6]['type'] === 'Zone') { + _0x1ee0d4['push'](this['children']['list'][_0x5a8aa6]); + } + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x1ee0d4['length']; _0x5a8aa6++) { + this['children']['bringToTop'](_0x1ee0d4[_0x5a8aa6]); + } + }, + 'addZone': function(_0x39ee27) { + if (typeof _0x39ee27['event'] !== 'undefined' && !_0xb43598['getEvent'](_0x39ee27['event'])) { + return; + } + var _0x1e00c2 = _0x39ee27; + if (_0x39ee27['default'] && typeof _0x130e52[_0x39ee27['default']] !== 'undefined') { + _0x1e00c2 = _0x130e52[_0x39ee27['default']]; + } + var _0x2b5fd0 = _0x39ee27['cursor'] || 'pointer'; + return this['add']['zone'](_0x1e00c2['x'], _0x1e00c2['y'], _0x1e00c2['width'], _0x1e00c2['height'])['setName'](_0x39ee27['name'])['setInteractive']({ + 'cursor': _0x2b5fd0 + }); + }, + 'addTransition': function(_0x212d8a, _0x3c2684, _0x5dd9c3) { + this['transitions'][_0x212d8a] = _0x3c2684; + if (_0x5dd9c3) { + this['noZones'][_0x212d8a] = !![]; + return; + } + if (typeof _0x130e52[_0x212d8a] !== 'undefined') { + var _0x369933 = _0x130e52[_0x212d8a]; + this['add']['zone'](_0x369933['x'], _0x369933['y'], _0x369933['width'], _0x369933['height'])['setName'](_0x212d8a)['setInteractive'](); + } + }, + 'removeTransition': function(_0x5f2cc1) { + if (typeof this['transitions'][_0x5f2cc1] === 'undefined') { + return; + } + delete this['transitions'][_0x5f2cc1]; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['children']['list']['length']; _0x5a8aa6++) { + if (this['children']['list'][_0x5a8aa6]['type'] == 'Zone' && this['children']['list'][_0x5a8aa6]['name'] == _0x5f2cc1) { + this['children']['list'][_0x5a8aa6]['disableInteractive'](); + this['children']['remove'](this['children']['list'][_0x5a8aa6]); + break; + } + } + }, + 'createAnimation': function(_0x3ac029) { + if (this['anims']['get'](_0x3ac029)) { + return this['anims']['get'](_0x3ac029); + } + var _0x234f29 = []; + var _0x4a4f5b = 0x0; + var _0x38d0de = 0x0; + var _0xad9e83 = 0x14; + switch (_0x3ac029) { + case 'tb03_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xd; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tb03_door_' + _0x5a8aa6 + }); + } + break; + case 'tb03_close_door': + for (var _0x5a8aa6 = 0xc; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'tb03_door_' + _0x5a8aa6 + }); + } + break; + case 'tr0010_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x4; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tr0010_door_' + _0x5a8aa6 + }); + } + break; + case 'tr0010_close_door': + for (var _0x5a8aa6 = 0x3; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'tr0010_door_' + _0x5a8aa6 + }); + } + _0x38d0de = 0x320; + break; + case 'tr0101_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x6; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tr0101_door_' + _0x5a8aa6 + }); + } + break; + case 'tr0101_close_door': + for (var _0x5a8aa6 = 0x5; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'tr0101_door_' + _0x5a8aa6 + }); + } + _0x38d0de = 0x320; + break; + case 'tr0301_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x6; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tr0301_door_' + _0x5a8aa6 + }); + } + break; + case 'tr0301_close_door': + for (var _0x5a8aa6 = 0x5; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'tr0301_door_' + _0x5a8aa6 + }); + } + _0x38d0de = 0x320; + break; + case 'portal': + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'portal_' + _0x5a8aa6 + }); + } + _0x4a4f5b = -0x1; + _0xad9e83 = 0xc; + break; + case 'tr0011_ladder': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x21; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tr0011_ladder_' + _0x5a8aa6 + }); + } + break; + case 'pr02_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'pr02_door_' + _0x5a8aa6 + }); + } + break; + case 'pr03_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'pr03_door_' + _0x5a8aa6 + }); + } + break; + case 'tr0401_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'tr0401_door_' + _0x5a8aa6 + }); + } + break; + case 'htf01_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'htf01_door_' + _0x5a8aa6 + }); + } + break; + case 'sp01_hatch': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'sp01_hatch_' + _0x5a8aa6 + }); + } + break; + case 'sp01_elevator': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'sp01_el_' + _0x5a8aa6 + }); + } + _0x38d0de = _0xecb5a1 * 0x2; + break; + case 'sp04_lever': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xd; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'sp04_lever_' + _0x5a8aa6 + }); + } + _0xad9e83 = 0x1e; + break; + case 'flp04_lever': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'flp04_lever_' + _0x5a8aa6 + }); + } + _0xad9e83 = 0x1e; + break; + case 'flp04_shelf_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'flp04_shelf_door_' + _0x5a8aa6 + }); + } + break; + case 'os01_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'os01_door_' + _0x5a8aa6 + }); + } + _0xad9e83 = 0x1e; + break; + case 'os02_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xe; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'os02_door_' + _0x5a8aa6 + }); + } + _0xad9e83 = 0x1e; + break; + case 'os04_laser': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'os04_laser_' + _0x5a8aa6 + }); + } + _0x4a4f5b = -0x1; + break; + case 'os04_lever': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'os04_lever_' + _0x5a8aa6 + }); + } + break; + case 'lch01_hatch': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'lch01_hatch_' + _0x5a8aa6 + }); + } + break; + case 'lch01_lever': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x10; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'lch01_lever_' + _0x5a8aa6 + }); + } + _0xad9e83 = 0x28; + break; + case 'lch01_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'lch01_door_' + _0x5a8aa6 + }); + } + break; + case 'lch01_door_close': + for (var _0x5a8aa6 = 0x8; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'lch01_door_' + _0x5a8aa6 + }); + } + break; + case 'el_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xb; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'el_door_' + _0x5a8aa6 + }); + } + break; + case 'el_door_close': + for (var _0x5a8aa6 = 0xa; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + _0x234f29['push']({ + 'key': 'el_door_' + _0x5a8aa6 + }); + } + break; + case 'intr0010_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x1a; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'intr0010_door_' + _0x5a8aa6 + }); + } + break; + case 'intr0101_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'intr0101_door_' + _0x5a8aa6 + }); + } + break; + case 'intr0401_door': + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x9; _0x5a8aa6++) { + _0x234f29['push']({ + 'key': 'intr0401_door_' + _0x5a8aa6 + }); + } + break; + } + return this['anims']['create']({ + 'key': _0x3ac029, + 'frames': _0x234f29, + 'frameRate': _0xad9e83, + 'repeat': _0x4a4f5b, + 'delay': _0x38d0de + }); + }, + 'createDoor': function(_0x4182f0, _0x3e6c49, _0x381a17, _0x559c55, _0x13f126, _0x3727cf) { + this['doorObjState'] = 'closed'; + this['pointerLocked'] = ![]; + this['createAnimation'](_0x381a17['name']); + this['createAnimation'](_0x381a17['name'] + '_close'); + this['createAnimation']('portal'); + if (!_0x559c55['scale']['x']) _0x559c55['scale'] = { + 'x': _0x559c55['scale'], + 'y': _0x559c55['scale'] + }; + if (!_0x559c55['x']) _0x559c55['x'] = _0x4182f0; + if (!_0x559c55['y']) _0x559c55['y'] = _0x3e6c49; + this['portal'] = this['add']['sprite'](_0x559c55['x'], _0x559c55['y'], 'portal_1')['setInteractive']({ + 'cursor': 'pointer' + })['setScale'](_0x559c55['scale']['x'], _0x559c55['scale']['y'])['setName']('portal'); + var _0x323e81 = _0x381a17['key'] && !_0xb43598['getEvent'](_0x381a17['name'] + '_' + _0x381a17['key']) ? 'default' : 'pointer'; + this['doorObj'] = this['add']['sprite'](_0x4182f0, _0x3e6c49, _0x381a17['name'] + '_0')['setInteractive']({ + 'cursor': _0x323e81 + })['setScale'](_0x381a17['scale'])['setName'](_0x381a17['name']); + this['doorObj']['on']('animationcomplete', function(_0x2aea85, _0x1393d8) { + if (_0x2aea85['key'] != _0x381a17['name']) { + return; + } + this['doorObjState'] = 'open'; + _0x5178ad(); + }, this); + var _0x564872 = function(_0x36ddfe) { + if (typeof _0x3727cf === 'function') { + _0x3727cf()['setTexture'](_0x36ddfe); + } else { + _0x3727cf['setTexture'](_0x36ddfe); + } + }; + if (_0x3727cf && _0x381a17['key'] && _0xb43598['getEvent'](_0x381a17['name'] + '_' + _0x381a17['key'])) { + _0x564872('tr0010_indicator_green'); + } + this['input']['on']('gameobjectdown', function(_0x243026, _0x4c8a3d) { + if (_0x4c8a3d['type'] != 'Sprite' || _0x4c8a3d['name'] != _0x381a17['name']) { + return; + } + if (_0x381a17['key'] && !_0xb43598['getEvent'](_0x381a17['name'] + '_' + _0x381a17['key'])) { + if (_0xb43598['isInventoryActive'](_0x381a17['key'])) { + _0x5619f8(this, 'unlock_door'); + var _0x16fd11 = this['scene']['get']('inventoryScene'); + _0xb43598['setEvent'](_0x381a17['name'] + '_' + _0x381a17['key'], !![]); + _0x564872('tr0010_indicator_green'); + _0x16fd11['resetActiveItem'](); + this['doorObj']['setInteractive']({ + 'cursor': 'pointer' + }); + } + return; + } + if (this['doorObjState'] == 'open') { + _0x36f2e8(this, _0x13f126, 'transition_portal'); + } else if (this['doorObjState'] == 'closed') { + _0x1967e9(); + _0x5619f8(this, 'open_door'); + this['doorObj']['play'](_0x381a17['name']); + this['portal']['play']('portal'); + this['doorObjState'] = 'opening'; + } + }, this); + }, + 'before_bg_create': function() {}, + 'before_portal': function() {}, + 'before_transition': function() {}, + 'extra_create': function() {}, + 'extra_transition': function() {} + }); + var _0x56463f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb01', { + 'right': 'tb02' + }, { + 'tb02': 'left' + }); + } + }); + var _0x46b0d0 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb02', { + 'left': 'tb01', + 'right': 'tb03' + }, { + 'tb01': 'right', + 'tb03': 'left' + }); + } + }); + var _0x270c31 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb02b', { + 'left': 'tb03b' + }, { + 'tb03b': 'right' + }); + }, + 'extra_create': function() { + var _0x3f40a8 = this['add']['sprite'](_0x2aacf1 - 0xa0, _0x25d46a, 'tb02b_sign_1')['setName']('sign1'); + this['sign1_on'] = this['add']['sprite'](_0x2aacf1 - 0x9a, _0x25d46a + 0x32, 'tb02b_sign_1_on')['setVisible'](![]); + this['enableDevice'](_0x3f40a8, 'lch01_sign', 0x46); + var _0x1bb72 = this['add']['sprite'](_0x2aacf1 - 0x1e, _0x25d46a - 0x32, 'tb02b_sign_2')['setName']('sign2'); + this['sign2_on'] = this['add']['sprite'](_0x2aacf1 - 0x1e, _0x25d46a + 0x2, 'tb02b_sign_2_on')['setVisible'](![]); + this['enableDevice'](_0x1bb72, 'os01_sign', 0x46); + var _0xd05958 = this['add']['sprite'](_0x2aacf1 + 0x64, _0x25d46a, 'tb02b_sign_3')['setName']('sign3'); + this['sign3_on'] = this['add']['sprite'](_0x2aacf1 + 0x62, _0x25d46a + 0x34, 'tb02b_sign_3_on')['setVisible'](![]); + this['enableDevice'](_0xd05958, 'pr03_sign'); + var _0x7784a = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a - 0x32, 'tb02b_sign_4')['setName']('sign4'); + this['sign4_on'] = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a + 0x3, 'tb02b_sign_4_on')['setVisible'](![]); + this['enableDevice'](_0x7784a, 'intr0004_sign'); + }, + 'enableDevice': function(_0x2feff0, _0x3eca51, _0x3a6a19) { + if (_0xb43598['getEvent'](_0x3eca51)) { + this[_0x2feff0['name'] + '_on']['setVisible'](!![]); + _0xb43598['setEvent'](_0x3d0774[_0x2feff0['name']]['event'], !![]); + this['createDevice'](_0x2feff0['x'], _0x2feff0['y'] - 0x28, _0x2feff0['name'], 'device_os01', 0.7, _0x3a6a19); + } else { + this['add']['sprite'](_0x2feff0['x'], _0x2feff0['y'] - 0x28, 'device_os01_1')['setScale'](0.7); + } + } + }); + var _0x39bbc7 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb03', { + 'left': 'tb02' + }, { + 'tb02': 'right' + }, null, { + 'tr0010': 'portal' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1, _0x25d46a, { + 'name': 'tb03_door', + 'scale': 0x1 + }, { + 'scale': 0.9 + }, 'tr0010'); + }, + 'extra_transition': function(_0x2c9c6c) { + this['createAnimation']('tb03_close_door'); + if (_0x2c9c6c['scene']['key'] === 'tr0010') { + _0x5619f8(this, 'close_door'); + this['doorObj']['play']('tb03_close_door'); + } + } + }); + var _0x3cd001 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb03b', { + 'right': 'tb02b', + 'top': 'tb04b' + }, { + 'tb04b': 'bottom', + 'tb02b': 'left' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1, _0x25d46a, { + 'name': 'tb03_door', + 'scale': 0x1 + }, { + 'scale': 0.9 + }, 'intr0010'); + } + }); + var _0x2e8211 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb04b', { + 'right': 'tb06', + 'bottom': 'tb03b' + }, { + 'tb03b': 'top', + 'tb06': 'left' + }, [{ + 'x': _0x2aacf1 - 0xaf, + 'y': _0x25d46a - 0xaf, + 'width': 0x15e, + 'height': 0x12c, + 'name': 'portal' + }], { + 'tb05b': 'portal' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 + 0xd2, _0x25d46a - 0x64); + } + }); + var _0x5c2176 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb05b', {}, {}, [{ + 'name': 'portal', + 'default': 'bottom' + }], { + 'tb04b': 'portal' + }); + }, + 'before_bg_create': function() { + this['add']['sprite'](_0x2aacf1, _0x25d46a, 'white'); + this['inner'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a + 0x3, 'tb05b_inner'); + this['outer'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a + 0x3, 'tb05b_outer'); + this['lock'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a + 0x3, 'tb05b_lock')['setInteractive']()['setName']('lock'); + this['interface'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a + 0x3, 'inv_items', 'inv_interface')['setScale'](0.28)['setVisible'](![]); + }, + 'extra_create': function() { + this['messageNumber'] = 0x0; + this['shadowLayer'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'black')['setAlpha'](0.7)['setVisible'](![])['setName']('layer')['setInteractive'](); + this['messages'] = []; + this['dialogMessages'] = this['add']['bitmapText'](0xa, _0x3eaf37 - 0x32, 'rough_draft', '', 0x10)['setOrigin'](0x0, 0x1); + this['whiteLayer'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'white')['setAlpha'](0x0)['setVisible'](![])['setInteractive']()['setName']('white'); + var _0x1b0a82 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x6dfa32, _0x4ab1a9) { + if (_0x4ab1a9['name'] === 'lock' && _0xb43598['isInventoryActive']('inv_interface')) { + _0x1b0a82['setInventoryState'](![]); + this['unlockDoor'](); + } else if (_0x4ab1a9['name'] === 'layer') { + this['nextPhrase'](); + } else if (_0x4ab1a9['name'] === 'white') { + this['input']['stopPropagation'](); + } + }, this); + }, + 'unlockDoor': function() { + _0x1967e9(); + this['interface']['setVisible'](!![]); + this['lock']['setVisible'](![]); + _0x5619f8(this, 'tbt_exit_door_key'); + this['tweens']['add']({ + 'targets': this['interface'], + 'angle': '+=90', + 'duration': _0xecb5a1 * 0x4, + 'delay': _0xecb5a1, + 'ease': 'Quart.easeIn', + 'onComplete': function() { + _0x5178ad(); + this['startDialog'](); + } ['bind'](this) + }); + }, + 'startDialog': function() { + this['input']['setDefaultCursor']('pointer'); + this['shadowLayer']['setVisible'](!![]); + this['dialogMessages']['setText'](_0x368ce2[this['messageNumber']]); + }, + 'nextPhrase': function() { + _0x1967e9(); + this['messageNumber']++; + if (this['messageNumber'] >= _0x368ce2['length']) { + this['tweens']['add']({ + 'targets': [this['shadowLayer'], this['dialogMessages']], + 'alpha': 0x0, + 'duration': _0xecb5a1, + 'onComplete': function() { + this['shadowLayer']['setVisible'](![]); + this['openDoor'](); + } ['bind'](this) + }); + } else { + var _0x1d8daf = []; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 <= this['messageNumber']; _0x5a8aa6++) { + _0x1d8daf = _0x1d8daf['concat'](_0x368ce2[_0x5a8aa6]); + _0x1d8daf['push'](''); + } + var _0x2cce73 = Math['max'](0x0, _0x368ce2[this['messageNumber']]['length'] - 0x2) * 0x10 + 0x28; + this['tweens']['add']({ + 'targets': this['dialogMessages'], + 'y': '-=' + _0x2cce73, + 'duration': _0xecb5a1 * Math['max']((_0x368ce2[this['messageNumber']]['length'] - 0x2) / 0x2, 0x1) / 0x2, + 'onComplete': function() { + this['dialogMessages']['setText'](_0x1d8daf); + this['dialogMessages']['y'] = _0x3eaf37 - 0x32; + _0x5178ad(); + } ['bind'](this) + }); + } + }, + 'openDoor': function() { + _0x1967e9(); + this['input']['setDefaultCursor']('default'); + _0x5619f8(this, 'tbt_exit_door_open'); + this['tweens']['add']({ + 'targets': this['inner'], + 'angle': '-=90', + 'duration': _0xecb5a1 * 0x8 + }); + this['tweens']['add']({ + 'targets': this['outer'], + 'angle': '+=90', + 'duration': _0xecb5a1 * 0x8, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': [this['inner'], this['outer'], this['lock'], this['interface']], + 'x': '+=200', + 'delay': _0xecb5a1 * 0x8, + 'duration': _0xecb5a1 * 0xa, + 'completeDelay': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['endGame'](); + } ['bind'](this) + }); + } ['bind'](this) + }); + }, + 'endGame': function() { + this['whiteLayer']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['whiteLayer'], + 'alpha': 0x1, + 'duration': _0xecb5a1 * 0x4, + 'onComplete': function() { + _0x11c867(_0xb43598['bgMusic']['name']); + _0xb43598['bgMusic']['name'] = null; + this['scene']['stop']('portalScene'); + this['scene']['stop']('inventoryScene'); + this['scene']['stop'](_0x280656['scene']); + this['scene']['start']('menuScene'); + _0x5178ad(); + } ['bind'](this) + }); + } + }); + var _0x2c24bb = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tb06', { + 'left': 'tb04b' + }, { + 'tb04b': 'right' + }); + }, + 'extra_create': function() {} + }); + var _0x5b913b = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0001', { + 'right': 'tr0002' + }, { + 'tr0002': 'left', + 'dep02': 'right' + }); + }, + 'extra_create': function() { + this['door'] = this['add']['sprite'](_0x2aacf1 - 0xb9, _0x25d46a + 0x19, 'tr0001_door'); + this['add']['sprite'](_0x2aacf1 - 0xc8, 0x0, 'tr0001_mask')['setOrigin'](0.5, 0x0); + var _0x23df84 = []; + var _0xf18085 = _0xb43598['getEvent']('tr0001_angles') || [0x0, 0x0, 0x0, 0x0, 0x0]; + this['small_button_0'] = this['add']['sprite'](_0x2aacf1 - 0x113, _0x25d46a - 0x5f, 'tr0001_btn_zoomed')['setAngle'](_0xf18085[0x0])['setScale'](0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('small_button'); + this['small_button_1'] = this['add']['sprite'](_0x2aacf1 - 0x10f, _0x25d46a - 0x21, 'tr0001_btn_zoomed')['setAngle'](_0xf18085[0x1])['setScale'](0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('small_button'); + this['small_button_2'] = this['add']['sprite'](_0x2aacf1 - 0x10a, _0x25d46a + 0x1d, 'tr0001_btn_zoomed')['setAngle'](_0xf18085[0x2])['setScale'](0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('small_button'); + this['small_button_3'] = this['add']['sprite'](_0x2aacf1 - 0x13e, _0x25d46a - 0x39, 'tr0001_btn_zoomed')['setAngle'](_0xf18085[0x3])['setScale'](0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('small_button'); + this['small_button_4'] = this['add']['sprite'](_0x2aacf1 - 0x137, _0x25d46a + 0x7, 'tr0001_btn_zoomed')['setAngle'](_0xf18085[0x4])['setScale'](0.5)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('small_button'); + if (_0xb43598['getEvent']('tr0001_open')) { + this['openDoor'](); + } + this['addZone']({ + 'x': 0x3c, + 'y': 0xb4, + 'width': 0x64, + 'height': 0xaa, + 'name': 'puzzle' + }); + this['createShadowLayer'](); + var _0x1a7096 = this['add']['sprite'](0x14, 0x37, 'tr0001_lock')['setVisible'](!![])['setOrigin'](0x1, 0.5)['setInteractive']()['setName']('lock'); + var _0x21c0d2 = this['add']['sprite'](-0x7a, -0x44, 'tr0001_btn_zoomed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button_big')['setData']('num', 0x0)['setAngle'](_0xf18085[0x0]); + var _0x3a1d47 = this['add']['sprite'](-0x77, 0x28, 'tr0001_btn_zoomed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button_big')['setData']('num', 0x1)['setAngle'](_0xf18085[0x1]); + var _0x153a60 = this['add']['sprite'](-0x6a, 0x96, 'tr0001_btn_zoomed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button_big')['setData']('num', 0x2)['setAngle'](_0xf18085[0x2]); + var _0x48065b = this['add']['sprite'](-0xcf, -0x2, 'tr0001_btn_zoomed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button_big')['setData']('num', 0x3)['setAngle'](_0xf18085[0x3]); + var _0x4f7f04 = this['add']['sprite'](-0xbe, 0x72, 'tr0001_btn_zoomed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button_big')['setData']('num', 0x4)['setAngle'](_0xf18085[0x4]); + var _0x23df84 = [_0x21c0d2, _0x3a1d47, _0x153a60, _0x48065b, _0x4f7f04]; + this['container'] = this['add']['container'](_0x4a8abc - 0x96, _0x25d46a - 0x64, [_0x1a7096]['concat'](_0x23df84))['setVisible'](![])['setData']('startX', _0x4a8abc + 0x12c)['setData']('deltaX', 0x1c2); + if (_0xb43598['getEvent']('tr0001_open')) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x23df84['length']; _0x5a8aa6++) { + _0x23df84[_0x5a8aa6]['disableInteractive'](); + } + } + this['input']['on']('gameobjectdown', function(_0x1a5ae3, _0x4c1632) { + if (!_0xb43598['getEvent']('tr0001_open') && this['container']['visible'] == ![] && _0x4c1632['name'] == 'puzzle') { + this['showShadowLayer'](this['container']); + } else if (_0x4c1632['name'] == 'button_big') { + _0x1967e9(); + var _0x479728 = _0x4c1632['getData']('num'); + var _0x35f7cc = _0x4c1632['angle']; + _0x5619f8(this, 'tr0001_rotator'); + this['tweens']['add']({ + 'targets': [_0x4c1632, this['small_button_' + _0x479728]], + 'angle': _0x35f7cc + 0x5a, + 'duration': _0xecb5a1, + 'onComplete': function() { + _0xf18085[_0x479728] += 0x5a; + if (_0xf18085[_0x479728] == 0x168) { + _0xf18085[_0x479728] = 0x0; + } + _0xb43598['setEvent']('tr0001_angles', _0xf18085); + if (_0xf18085[0x0] === 0x5a && _0xf18085[0x1] === 0xb4 && _0xf18085[0x2] === 0x0 && _0xf18085[0x3] === 0x0 && _0xf18085[0x4] === 0x10e) { + _0x5619f8(this, 'tr0001_solve_lock_0001'); + _0xb43598['setEvent']('tr0001_open', !![]); + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x23df84['length']; _0x5a8aa6++) { + _0x23df84[_0x5a8aa6]['disableInteractive'](); + } + this['hideShadowLayer'](); + _0x5619f8(this, 'tr0001_open_dep_door'); + this['tweens']['add']({ + 'targets': this['door'], + 'x': '-=30', + 'y': '-=300', + 'duration': _0xecb5a1, + 'onComplete': function() { + this['openDoor'](); + _0x5178ad(); + } ['bind'](this) + }); + } else { + _0x5178ad(); + } + } ['bind'](this) + }); + this['input']['stopPropagation'](); + } else if (_0x4c1632['name'] == 'lock') { + this['input']['stopPropagation'](); + } + }, this); + }, + 'openDoor': function() { + this['door']['setVisible'](![]); + this['addZone']({ + 'x': 0xb4, + 'y': 0x96, + 'width': 0x64, + 'height': 0x15e, + 'name': 'left' + }); + this['addTransition']('left', 'dep02', !![]); + } + }); + var _0x4ffa0c = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0002', { + 'left': 'tr0001', + 'right': 'tr0003' + }, { + 'tr0003': 'left', + 'tr0001': 'right' + }); + }, + 'extra_create': function() { + if (_0xb43598['getEvent']('tr0002_saw')) { + return; + } + this['add']['sprite'](_0x2aacf1 + 0x5a, _0x25d46a - 0x8, 'tr0002_saw')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('tr0002_saw'); + this['input']['on']('gameobjectdown', function(_0x24b1b0, _0x2f67db) { + if (_0x2f67db['name'] === 'tr0002_saw') { + var _0x1842fe = this['scene']['get']('inventoryScene'); + _0x1842fe['addItem'](_0x2f67db, 'inv_saw'); + _0xb43598['setEvent']('tr0002_saw', !![]); + this['children']['remove'](_0x2f67db); + } + }, this); + } + }); + var _0xa91134 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0003', { + 'top': 'tr0006', + 'left': 'tr0002' + }, { + 'tr0006': 'bottom', + 'tr0002': 'right' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1, _0x25d46a - 0x64); + } + }); + var _0x20046a = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0004', { + 'top': 'tr0007', + 'right': 'tr0005' + }, { + 'tr0005': 'left', + 'tr0007': 'bottom' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 - 0x96, _0x25d46a - 0x64); + } + }); + var _0x17823f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0005', { + 'top': 'tr0008', + 'left': 'tr0004', + 'right': 'tmp01' + }, { + 'tr0004': 'right', + 'tmp01': 'left', + 'tr0008': 'bottom' + }); + } + }); + var _0xf75bed = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0006', { + 'top': 'tr0009', + 'bottom': 'tr0003' + }, { + 'tr0003': 'top', + 'tr0009': 'bottom' + }); + }, + 'extra_create': function() { + if (typeof _0xb43598['getEvent']('tr0006_rele_angle') === 'undefined') { + _0xb43598['setEvent']('tr0006_rele_angle', 0x0); + } + this['add']['sprite'](_0x2aacf1 + 0x2d, _0x25d46a - 0x10, 'tr0006_switch')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('rele')['setAngle'](_0xb43598['getEvent']('tr0006_rele_angle')); + this['input']['on']('gameobjectdown', function(_0x3f7194, _0x5841e6) { + if (_0x5841e6['name'] === 'rele') { + _0x5619f8(this, 'tr0006_rotator'); + _0xb43598['setEvent']('tr0006_rele_angle', (_0xb43598['getEvent']('tr0006_rele_angle') + 0x2d) % 0x168); + _0x5841e6['setAngle'](_0xb43598['getEvent']('tr0006_rele_angle')); + } + }, this); + } + }); + var _0x33f178 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0007', { + 'bottom': 'tr0004' + }, { + 'tr0004': 'top' + }); + }, + 'extra_create': function() { + if (typeof _0xb43598['getEvent']('tr0007_rele_angle') === 'undefined') { + _0xb43598['setEvent']('tr0007_rele_angle', 0x5a); + } + this['add']['sprite'](_0x2aacf1 - 0x48, _0x25d46a - 0xa, 'tr0006_switch')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('rele')['setAngle'](_0xb43598['getEvent']('tr0007_rele_angle')); + if (!_0xb43598['getEvent']('inv_shovel')) { + this['add']['sprite'](_0x2aacf1 - 0x104, _0x25d46a, 'tr0005_shovel')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('shovel'); + } + this['input']['on']('gameobjectdown', function(_0x5b74b7, _0x27f9c2) { + if (_0x27f9c2['name'] === 'shovel') { + var _0x31ef1b = this['scene']['get']('inventoryScene'); + _0x31ef1b['addItem'](_0x27f9c2, 'inv_shovel'); + _0xb43598['setEvent']('inv_shovel', !![]); + this['children']['remove'](_0x27f9c2); + _0xb43598['input']['setDefaultCursor']('default'); + } else if (_0x27f9c2['name'] === 'rele') { + _0x5619f8(this, 'tr0006_rotator'); + _0xb43598['setEvent']('tr0007_rele_angle', (_0xb43598['getEvent']('tr0007_rele_angle') + 0x2d) % 0x168); + _0x27f9c2['setAngle'](_0xb43598['getEvent']('tr0007_rele_angle')); + } + }, this); + } + }); + var _0xd9f8ad = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0008', { + 'top': 'tr0011', + 'bottom': 'tr0005' + }, { + 'tr0005': 'top', + 'tr0011': 'bottom' + }); + } + }); + var _0x86619a = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0009', { + 'right': 'tr0010', + 'bottom': 'tr0006' + }, { + 'tr0006': 'top', + 'tr0010': 'left' + }, null, { + 'intr0009': 'portal' + }); + }, + 'extra_create': function() { + var _0x5a1de3 = !!_0xb43598['getEvent']('tr0703_skull_complete'); + this['add']['sprite'](_0x2aacf1 + 0x69, _0x25d46a, 'tr0009_door_burnt')['setVisible'](_0x5a1de3); + this['add']['sprite'](_0x2aacf1 + 0x69, _0x25d46a, 'tr0009_door')['setVisible'](!_0x5a1de3); + if (_0x5a1de3) { + this['addZone']({ + 'x': _0x2aacf1 + 0x23, + 'y': _0x25d46a - 0xbe, + 'width': 0x8c, + 'height': 0x12c, + 'name': 'portal' + }); + } + } + }); + var _0x451616 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0010', { + 'left': 'tr0009', + 'right': 'tr0011' + }, { + 'tr0009': 'right', + 'tr0011': 'left', + 'tr0102': 'bottom' + }, {}, { + 'tb03': 'portal' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 - 0x79, _0x25d46a - 0x24, { + 'name': 'tr0010_door', + 'scale': 1.01 + }, { + 'scale': 0.6 + }, 'tb03'); + if (_0xb43598['getEvent']('tmp05_win')) { + this['ladder'] = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a - 0x55, 'tr0102_ladder'); + if (_0xb43598['getEvent']('tr0102_ladder_up')) { + this['ladder']['y'] = _0x25d46a - 0x168; + this['removeTransition']('top'); + } else { + this['addTransition']('top', 'tr0102'); + } + } + }, + 'extra_transition': function(_0x53f038) { + this['createAnimation']('tr0010_close_door'); + if (_0x53f038['scene']['key'] === 'tb03') { + _0x5619f8(this, 'close_door'); + this['doorObj']['play']('tr0010_close_door'); + } + } + }); + var _0x21f62d = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0011', { + 'left': 'tr0010', + 'right': 'tr0012' + }, { + 'tr0010': 'right', + 'tr0012': 'left', + 'tr0008': 'top' + }); + }, + 'extra_create': function() { + var _0xe8ef46 = -0x50; + var _0x2e657f = this['scene']['get']('inventoryScene'); + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0x73, _0x25d46a + 0x91, 'tr0011_lever')['setOrigin'](0.79, 0.9)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever')['setVisible'](![]); + this['slot'] = this['add']['sprite'](_0x2aacf1 - 0x73, _0x25d46a + 0x91, 'tr0011_slot')['setName']('ladder_slot'); + this['ladder'] = this['add']['sprite'](_0x2aacf1 + 0x1c, _0x25d46a + 0x41, 'tr0011_ladder_0')['setOrigin'](0.5, 0x0)['setScale'](0.8); + if (_0xb43598['getEvent']('tr0011_ladder_complete')) { + this['slot']['setAngle'](_0xe8ef46); + if (!_0xb43598['getEvent']('tr0011_stick_remove')) { + this['lever']['setAngle'](_0xe8ef46)['setVisible'](!![]); + } + this['ladder']['setTexture']('tr0011_ladder_32'); + this['addTransition']('bottom', 'tr0008'); + } else { + this['ladder']['on']('animationcomplete', function(_0x29ae37, _0xe01061) { + _0xb43598['setEvent']('tr0011_ladder_complete', !![]); + this['addTransition']('bottom', 'tr0008'); + _0x5178ad(); + } ['bind'](this)); + if (_0xb43598['getEvent']('tr0011_lever_ready')) { + this['lever']['setVisible'](!![]); + } else { + this['slot']['setInteractive'](); + } + this['createAnimation']('tr0011_ladder'); + } + this['input']['on']('gameobjectdown', function(_0x610829, _0x44ae23) { + if (_0xb43598['getEvent']('tr0011_stick_remove')) { + return; + } + if (_0x44ae23['name'] == 'ladder_slot') { + if (!_0xb43598['getEvent']('tr0011_lever_ready') && _0xb43598['isInventoryActive']('inv_stick')) { + this['lever']['setVisible'](!![]); + this['slot']['disableInteractive'](); + _0x2e657f['removeItem']('inv_stick', 'tr0011_wood_stick_connect'); + _0xb43598['setEvent']('tr0011_lever_ready', !![]); + } + } else if (_0x44ae23['name'] == 'lever') { + if (!_0xb43598['getEvent']('tr0011_ladder_complete') && _0xb43598['getEvent']('tr0011_lever_ready')) { + _0x5619f8(this, 'tr0011_wood_stick_use'); + this['tweens']['add']({ + 'targets': [this['lever'], this['slot']], + 'angle': _0xe8ef46, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Expo.easeIn', + 'onComplete': function() { + this['ladder']['play']('tr0011_ladder'); + } ['bind'](this) + }); + _0x1967e9(); + this['input']['setDefaultCursor']('default'); + } else if (_0xb43598['getEvent']('tr0011_ladder_complete')) { + _0x2e657f['addItem'](_0x44ae23, 'inv_stick'); + this['lever']['setVisible'](![]); + _0xb43598['setEvent']('tr0011_stick_remove', !![]); + } + } + } ['bind'](this)); + } + }); + var _0x2e8ac0 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0012', { + 'left': 'tr0011', + 'right': 'tr0013' + }, { + 'tr0011': 'right', + 'tr0013': 'left' + }); + } + }); + var _0x448542 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0013', { + 'left': 'tr0012' + }, { + 'tr0012': 'right', + 'tr0103': 'bottom', + 'tmp07': 'left' + }); + }, + 'extra_create': function() { + this['liana'] = this['add']['sprite'](_0x2aacf1, -0x3c, 'tr0013_liana')['setOrigin'](0.5, 0x0)['setName']('liana'); + this['lianas'] = this['add']['sprite'](_0x2aacf1, 0x0, 'tr0013_lianas')['setOrigin'](0.5, 0x0)['setVisible'](![]); + if (_0xb43598['getEvent']('tr0013_liana')) { + this['lianas']['setVisible'](!![]); + this['lianas']['y'] = 0x0;; + if (typeof this['transitions']['top'] === 'undefined') { + this['addTransition']('top', 'tr0103'); + } + } else { + this['lianas']['y'] = -_0x3eaf37; + this['liana']['setInteractive']({ + 'cursor': 'pointer' + }); + } + this['input']['on']('gameobjectdown', function(_0x254002, _0x438733) { + if (_0xb43598['getEvent']('tr0013_liana')) { + return; + } + if (_0x438733['name'] == 'liana') { + _0x1967e9(); + _0x5619f8(this, 'tr0013_liana'); + this['tweens']['add']({ + 'targets': _0x438733, + 'y': _0x438733['y'] + 0x1e, + 'duration': 0xc8, + 'ease': 'Expo.easeIn', + 'yoyo': !![], + 'repeat': 0x0, + 'onComplete': function() { + this['lianas']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['lianas'], + 'y': 0x0, + 'duration': 0x12c, + 'onComplete': function() { + _0x5178ad(); + this['addTransition']('top', 'tr0103'); + this['liana']['disableInteractive'](); + _0xb43598['setEvent']('tr0013_liana', !![]); + } ['bind'](this) + }); + } ['bind'](this) + }); + } + }, this); + } + }); + var _0x2bf10f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0101', { + 'right': 'tr0102' + }, { + 'tr0102': 'left' + }, null, { + 'pr02': 'portal' + }); + }, + 'extra_create': function() { + this['lamp'] = this['add']['sprite'](_0x2aacf1 + 0xb1, _0x25d46a - 0xba, 'tr0101_indicator_red'); + this['createDoor'](_0x2aacf1 + 0x48, _0x25d46a - 0x20, { + 'name': 'tr0101_door', + 'key': 'inv_key2', + 'scale': 0x1 + }, { + 'scale': { + 'x': 0.5, + 'y': 0.8 + } + }, 'pr02', this['lamp']); + } + }); + var _0x3b270f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0102', { + 'left': 'tr0101', + 'top': 'tr0201' + }, { + 'tr0010': 'top', + 'tr0201': 'bottom', + 'tr0101': 'right' + }); + }, + 'extra_create': function() { + this['gear'] = this['add']['sprite'](_0x2aacf1 + 0x6e, _0x25d46a + 0x74, 'tr0102_gear'); + this['ladder'] = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a + 0x10, 'tr0102_ladder'); + this['add']['sprite'](_0x2aacf1 + 0xe9, _0x25d46a + 0xc4, 'tr0102_cover'); + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x64, 'tr0102_lever')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever'); + this['lever2'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x78, 'tr0102_lever2')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever'); + this['smallGear'] = this['add']['sprite'](_0x2aacf1 + 0x86, _0x25d46a + 0xf1, 'tr0102_small_gear'); + this['add']['sprite'](_0x2aacf1 + 0x76, _0x25d46a + 0xf4, 'tr0102_small_gear_cover'); + if (!_0xb43598['getEvent']('tr0102_ladder_up')) { + this['ladder']['y'] = 0x210; + this['gear']['setAngle'](0xaf); + this['smallGear']['setAngle'](0x352); + this['addTransition']('bottom', 'tr0010'); + } else { + this['removeTransition']('bottom'); + } + this['input']['on']('gameobjectdown', function(_0x1a8cd8, _0x4b6f64) { + if (_0x4b6f64['name'] != 'lever') { + return; + } + this['moveLadder'](); + }, this); + }, + 'moveLadder': function() { + var _0x4dde6d = 0xaf; + var _0x693843 = 0x352; + var _0x812667 = 0x210; + if (!_0xb43598['getEvent']('tr0102_ladder_up')) { + _0x4dde6d = 0x0; + _0x693843 = -_0x693843; + _0x812667 = _0x25d46a + 0x10; + } + this['tweens']['add']({ + 'targets': this['gear'], + 'angle': _0x4dde6d, + 'duration': _0xecb5a1 * 0x3 + }); + this['tweens']['add']({ + 'targets': this['ladder'], + 'y': _0x812667, + 'duration': _0xecb5a1 * 0x3 + }); + this['tweens']['add']({ + 'targets': this['smallGear'], + 'angle': _0x693843, + 'duration': _0xecb5a1 * 0x3 + }); + this['tweens']['add']({ + 'targets': this['lever'], + 'yoyo': !![], + 'repeat': 0x0, + 'y': 0xf5, + 'duration': _0xecb5a1, + 'scaleY': -0x1 + }); + this['tweens']['add']({ + 'targets': this['lever2'], + 'y': 0x10e, + 'yoyo': !![], + 'repeat': 0x0, + 'duration': _0xecb5a1, + 'onComplete': function() { + _0x5178ad(); + } + }); + _0x1967e9(); + _0xb43598['input']['setDefaultCursor']('default'); + _0xb43598['setEvent']('tr0102_ladder_up', !_0xb43598['getEvent']('tr0102_ladder_up')); + if (!_0xb43598['getEvent']('tr0102_ladder_up')) { + _0x5619f8(this, 'tr0102_ladder_down_0102'); + this['addTransition']('bottom', 'tr0010'); + } else { + _0x5619f8(this, 'tr0102_ladder_up_0102'); + this['removeTransition']('bottom'); + } + } + }); + var _0x10c95a = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0103', { + 'top': 'tr0204', + 'bottom': 'tr0013' + }, { + 'tr0013': 'top', + 'tr0204': 'bottom' + }); + } + }); + var _0x2c58db = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0201', { + 'right': 'tr0202', + 'top': 'tr0302', + 'bottom': 'tr0102' + }, { + 'tr0102': 'top', + 'tr0202': 'left', + 'tr0302': 'bottom' + }, null, { + 'tr0201b': 'portal' + }); + }, + 'extra_create': function() { + this['add']['zone'](0x1a4, 0xdc, 0x64, 0xfa)['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + this['input']['on']('gameobjectdown', function(_0x435c3f, _0x5e9271) { + if (_0x5e9271['name'] == 'portal') { + _0x36f2e8(this, 'tr0201b', !![]); + } + }, this); + } + }); + var _0xd60327 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0201b', {}, {}, null, { + 'tr0201': 'portal', + 'flp05': 'portal_c', + 'sp03': 'portal_l', + 'os03': 'portal_r' + }); + }, + 'before_bg_create': function() { + this['portal_l'] = this['add']['sprite'](_0x2aacf1 - 0xcd, _0x25d46a - 0x5, 'portal_1')['setName']('portal_l'); + this['door_l'] = this['add']['sprite'](_0x2aacf1 - 0xcd, _0x25d46a - 0x5, 'tr0201b_door_l')['setInteractive']()['setName']('door_l'); + this['portal_c'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a - 0x28, 'portal_1')['setName']('portal_c'); + this['door_c'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a - 0x28, 'tr0201b_door_c')['setInteractive']()['setName']('door_c'); + this['portal_r'] = this['add']['sprite'](_0x2aacf1 + 0xeb, _0x25d46a, 'portal_1')['setName']('portal_r'); + this['door_r'] = this['add']['sprite'](_0x2aacf1 + 0xeb, _0x25d46a, 'tr0201b_door_r')['setInteractive']()['setName']('door_r'); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + var _0x339f9d = _0x130e52['bottom']; + this['add']['zone'](_0x339f9d['x'], _0x339f9d['y'], _0x339f9d['width'], _0x339f9d['height'])['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + var _0x4b79e7 = this['add']['sprite'](_0x2aacf1 - 0x78, _0x25d46a - 0xaa, 'tr0010_indicator_green')['setVisible'](![]); + if (_0xb43598['getEvent']('tr0201b_door_l_unlocked')) { + this['door_l']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x4b79e7['setVisible'](!![]); + } + if (_0xb43598['getEvent']('tr0201b_door_l_open')) { + this['door_l']['setVisible'](![])['disableInteractive'](); + this['portal_l']['play']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + } + var _0x2b0d07 = this['add']['sprite'](_0x2aacf1 + 0x82, _0x25d46a - 0xa8, 'tr0010_indicator_green')['setVisible'](![]); + if (_0xb43598['getEvent']('tr0201b_door_c_unlocked')) { + this['door_c']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x2b0d07['setVisible'](!![]); + } + if (_0xb43598['getEvent']('tr0201b_door_c_open')) { + this['door_c']['setVisible'](![])['disableInteractive'](); + this['portal_c']['play']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + } + var _0x5ef40d = this['add']['sprite'](_0x2aacf1 + 0x146, _0x25d46a - 0x88, 'tr0010_indicator_green')['setVisible'](![]); + if (_0xb43598['getEvent']('tr0201b_door_r_unlocked')) { + this['door_r']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5ef40d['setVisible'](!![]); + } + if (_0xb43598['getEvent']('tr0201b_door_r_open')) { + this['door_r']['setVisible'](![])['disableInteractive'](); + this['portal_r']['play']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + } + if (!_0xb43598['getEvent']('tr0201b_scheme')) { + this['add']['sprite'](_0x2aacf1 + 0x64, _0x25d46a + 0xc8, 'tr0201b_scheme')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('scheme'); + } + var _0x243911 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x5bb6aa, _0xfb12ba) { + if (_0xfb12ba['name'] == 'door_l') { + if (!_0xb43598['getEvent']('tr0201b_door_l_unlocked')) { + if (_0xb43598['isInventoryActive']('inv_key3')) { + _0x5619f8(this, 'unlock_door'); + _0x4b79e7['setVisible'](!![]); + _0xb43598['setEvent']('tr0201b_door_l_unlocked', !![]); + _0x243911['resetActiveItem'](); + } + } else { + _0x1967e9(); + _0x5619f8(this, 'el_open_el_door'); + this['portal_l']['play']('portal'); + this['tweens']['add']({ + 'targets': this['door_l'], + 'x': '+=150', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['portal_l']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5178ad(); + _0xfb12ba['setVisible'](![]); + _0xb43598['setEvent']('tr0201b_door_l_open', !![]); + } ['bind'](this) + }); + } + } else if (_0xfb12ba['name'] == 'door_c') { + if (!_0xb43598['getEvent']('tr0201b_door_c_unlocked')) { + if (_0xb43598['isInventoryActive']('inv_key4')) { + _0x5619f8(this, 'unlock_door'); + _0x2b0d07['setVisible'](!![]); + _0xb43598['setEvent']('tr0201b_door_c_unlocked', !![]); + _0x243911['resetActiveItem'](); + } + } else { + _0x1967e9(); + _0x5619f8(this, 'el_open_el_door'); + this['portal_c']['play']('portal'); + this['tweens']['add']({ + 'targets': this['door_c'], + 'x': '+=150', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['portal_c']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5178ad(); + _0xfb12ba['setVisible'](![]); + _0xb43598['setEvent']('tr0201b_door_c_open', !![]); + } ['bind'](this) + }); + } + } else if (_0xfb12ba['name'] == 'door_r') { + if (!_0xb43598['getEvent']('tr0201b_door_r_unlocked')) { + if (_0xb43598['isInventoryActive']('inv_key5')) { + _0x5619f8(this, 'unlock_door'); + _0x5ef40d['setVisible'](!![]); + _0xb43598['setEvent']('tr0201b_door_r_unlocked', !![]); + _0x243911['resetActiveItem'](); + } + } else { + _0x1967e9(); + _0x5619f8(this, 'el_open_el_door'); + this['portal_r']['play']('portal'); + this['tweens']['add']({ + 'targets': this['door_r'], + 'x': '+=150', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['portal_r']['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5178ad(); + _0xfb12ba['setVisible'](![]); + _0xb43598['setEvent']('tr0201b_door_r_open', !![]); + } ['bind'](this) + }); + } + } else if (_0xfb12ba['name'] == 'portal_l') { + _0x36f2e8(this, 'sp03', 'transition_portal'); + } else if (_0xfb12ba['name'] == 'portal_c') { + _0x36f2e8(this, 'flp05', 'transition_portal'); + } else if (_0xfb12ba['name'] == 'portal_r') { + _0x36f2e8(this, 'os03', 'transition_portal'); + } else if (_0xfb12ba['name'] == 'portal') { + _0x36f2e8(this, 'tr0201', !![]); + } else if (_0xfb12ba['name'] == 'scheme') { + if (!_0x243911['addItem'](_0xfb12ba, 'inv_code')) return; + _0xb43598['setEvent']('tr0201b_scheme', !![]); + this['children']['remove'](_0xfb12ba); + this['input']['stopPropagation'](); + } + }, this); + } + }); + var _0x23a504 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0202', { + 'left': 'tr0201' + }, { + 'tr0203': 'left', + 'tr0201': 'right' + }); + }, + 'extra_create': function() { + var _0x414df6 = this['scene']['get']('inventoryScene'); + var _0x5bba0a = -0x51; + this['bridge'] = this['add']['sprite'](_0x2aacf1 - 0x37, _0x25d46a + 0xc8, 'tr0202_bridge')['setOrigin'](0x0, 0.5)['setAngle'](-0x4b); + this['gear1'] = this['add']['sprite'](_0x2aacf1 - 0x3c, _0x25d46a + 0xca, 'tr0202_gear1'); + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a + 0x9b, 'tr0202_lever')['setName']('lever')['setOrigin'](0.8, 0.9)['setVisible'](![])['setInteractive']({ + 'cursor': 'pointer' + }); + this['slot'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a + 0x9b, 'tr0202_gear2')['setName']('slot')['setInteractive'](); + this['gear3'] = this['add']['sprite'](_0x2aacf1 - 0x5a, _0x25d46a + 0xf0, 'tr0202_gear3'); + if (_0xb43598['getEvent']('tr0202_bridge')) { + this['lever']['setVisible'](!![])['setAngle'](_0x5bba0a)['disableInteractive'](); + this['slot']['setAngle'](_0x5bba0a)['disableInteractive'](); + this['bridge']['setAngle'](0x0); + if (typeof this['transitions']['right'] === 'undefined') { + this['addTransition']('right', 'tr0203'); + } + } + this['input']['on']('gameobjectdown', function(_0xada36d, _0x14c785) { + if (_0x14c785['name'] == 'slot') { + if (_0xb43598['isInventoryActive']('inv_stick')) { + _0x5619f8(this, 'tr0011_wood_stick_connect'); + this['lever']['setVisible'](!![]); + this['slot']['disableInteractive'](); + _0x414df6['removeItem']('inv_stick'); + _0xb43598['setEvent']('tr0202_lever_ready', !![]); + return; + } + } else if (_0x14c785['name'] == 'lever') { + _0x5619f8(this, 'tr0202_bridge_0202'); + this['tweens']['add']({ + 'targets': [this['gear1'], this['gear3']], + 'angle': 0xb4, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Expo.easeIn' + }); + this['tweens']['add']({ + 'targets': [this['lever'], this['slot']], + 'angle': _0x5bba0a, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Expo.easeIn' + }); + this['tweens']['add']({ + 'targets': this['bridge'], + 'angle': 0x0, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Expo.easeIn', + 'onComplete': function() { + _0xb43598['setEvent']('tr0202_bridge', !![]); + _0x5178ad(); + this['lever']['disableInteractive'](); + this['addTransition']('right', 'tr0203'); + } ['bind'](this) + }); + _0x1967e9(); + this['input']['setDefaultCursor']('default'); + } + }, this); + } + }); + var _0x1f1a7c = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0203', { + 'right': 'tr0204' + }, { + 'tr0204': 'left', + 'tr0202': 'right' + }); + }, + 'extra_create': function() { + if (_0xb43598['getEvent']('tr0202_bridge')) { + this['addTransition']('left', 'tr0202'); + this['add']['sprite'](-0x66, _0x25d46a + 0xc6, 'tr0202_bridge'); + } + if (_0xb43598['getEvent']('inv_stick')) { + return; + } + var _0x37113b = this['scene']['get']('inventoryScene'); + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0x4b, _0x25d46a + 0xc0, 'tr0203_lever')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever')['setOrigin'](0.7, 0x1); + this['lever_ready'] = this['add']['sprite'](_0x2aacf1 - 0x96, _0x25d46a + 0xb4, 'tr0203_bridge')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever_ready')['setVisible'](![]); + if (_0xb43598['getEvent']('inv_lever_ready')) { + this['lever_ready']['setVisible'](!![]); + this['lever']['setVisible'](![]); + } + this['input']['on']('gameobjectdown', function(_0x44c482, _0x29cb07) { + if (_0x29cb07['name'] == 'lever_ready') { + this['lever_ready']['disableInteractive'](); + _0x37113b['addItem'](_0x29cb07, 'inv_stick'); + this['children']['remove'](this['lever_ready']); + _0xb43598['setEvent']('inv_stick', !![]); + } else if (_0x29cb07['name'] == 'lever') { + if (this['lever']['getData']('in_progress')) {} else if (_0xb43598['isInventoryActive']('inv_saw')) { + var _0x25f34b = { + 'x': _0x2aacf1 - 0x1e, + 'y': _0x3eaf37 - 0xb4 + }; + _0x37113b['removeItem']('inv_saw'); + var _0x5b5cec = this['add']['sprite'](_0x25f34b['x'], _0x25f34b['y'], 'inv_items', 'inv_saw')['setScale'](0.35)['setAngle'](-0x5a); + _0x5619f8(this, 'tr0203_saw_working'); + this['tweens']['add']({ + 'targets': _0x5b5cec, + 'x': _0x25f34b['x'] - 0x3c, + 'y': _0x25f34b['y'] + 0x3c, + 'duration': _0xecb5a1, + 'yoyo': !![], + 'repeat': 0x2, + 'onYoyo': function() { + this['lever']['angle'] -= 0x3; + } ['bind'](this), + 'onComplete': function() { + this['children']['remove'](_0x5b5cec); + this['lever_ready']['setVisible'](!![]); + this['children']['remove'](this['lever']); + _0x5178ad(); + _0xb43598['setEvent']('inv_lever_ready', !![]); + } ['bind'](this) + }); + this['lever']['setData']('in_progress', !![]); + _0x1967e9(); + } else if (!_0xb43598['getInventoryActive']()) { + _0x5619f8(this, 'tr0203_wood_stick_sway'); + this['tweens']['add']({ + 'targets': this['lever'], + 'angle': -0x5, + 'duration': _0xecb5a1 / 0x2, + 'yoyo': !![] + }); + } + } + }, this); + } + }); + var _0x300eff = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0204', { + 'left': 'tr0203', + 'bottom': 'tr0103' + }, { + 'tr0103': 'top', + 'tr0203': 'right' + }); + } + }); + var _0x2731ee = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0300', { + 'top': 'tr0400' + }, { + 'tr0400': 'bottom' + }, null, { + 'tr0301': 'portal' + }); + }, + 'extra_create': function() { + this['add']['zone'](_0x2aacf1 + 0x87, _0x25d46a - 0x82, 0x91, 0x12c)['setName']('portal_tr0300')['setInteractive']({ + 'cursor': 'pointer' + }); + this['input']['on']('gameobjectdown', function(_0x1aa55f, _0x4ba58c) { + if (_0x4ba58c['name'] == 'portal_tr0300') { + _0x36f2e8(this, 'tr0301', !![]); + } + }, this); + } + }); + var _0xfea27f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0301', { + 'right': 'tr0302' + }, { + 'tr0302': 'left' + }, [{ + 'x': _0x2aacf1 - 0x86, + 'y': _0x25d46a - 0x104, + 'width': 0x8c, + 'height': 0x12c, + 'name': 'portal' + }], { + 'tr0300': 'portal', + 'htf01': 'portal_2' + }); + }, + 'extra_create': function() { + var _0x4cc024 = this['add']['sprite'](_0x2aacf1 + 0x157, _0x25d46a - 0xab, 'tr0101_indicator_red'); + this['createDoor'](_0x2aacf1 + 0xeb, _0x25d46a - 0x11, { + 'name': 'tr0301_door', + 'key': 'inv_key1', + 'scale': 0x1 + }, { + 'scale': { + 'x': 0.5, + 'y': 0.8 + } + }, 'htf01', _0x4cc024); + } + }); + var _0xe57b7a = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0302', { + 'left': 'tr0301', + 'bottom': 'tr0201' + }, { + 'tr0201': 'top', + 'tr0301': 'right' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 - 0x82, _0x25d46a - 0x5e); + } + }); + var _0x30e738 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0400', { + 'top': 'tr0500', + 'bottom': 'tr0300' + }, { + 'tr0500': 'bottom', + 'tr0300': 'top' + }); + } + }); + var _0x31d425 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0401', { + 'top': 'tr0503' + }, { + 'tr0503': 'bottom' + }, null, { + '7ka': 'portal' + }); + }, + 'extra_create': function() { + var _0x58f1c5 = this['add']['sprite'](_0x2aacf1 + 0x30, _0x25d46a - 0xb7, 'tr0010_indicator_green'); + this['createDoor'](_0x2aacf1 - 0x34, _0x25d46a - 0x26, { + 'name': 'tr0401_door', + 'scale': 0x1 + }, { + 'scale': { + 'x': 0.75, + 'y': 0.85 + }, + 'y': _0x25d46a - 0x1e + }, '7ka'); + this['children']['bringToTop'](_0x58f1c5); + } + }); + var _0x5575da = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0500', { + 'bottom': 'tr0400' + }, { + 'tr0400': 'top' + }, null, { + 'tr0502': 'portal' + }); + }, + 'extra_create': function() { + this['add']['zone'](_0x2aacf1 + 0x55, _0x25d46a - 0xa8, 0x8c, 0x12c)['setName']('portal_tr0502')['setInteractive']({ + 'cursor': 'pointer' + }); + this['input']['on']('gameobjectdown', function(_0x147fde, _0x91b06b) { + if (_0x91b06b['name'] == 'portal_tr0502') { + _0x36f2e8(this, 'tr0502', !![]); + } + }, this); + } + }); + var _0x333a49 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0501', { + 'right': 'tr0502' + }, { + 'tr0502': 'left' + }); + }, + 'extra_create': function() { + if (!_0xb43598['getEvent']('tr0701_key') || _0xb43598['getEvent']('tr0501_key')) { + return; + } + this['key'] = this['add']['sprite'](_0x2aacf1 - 0x26, _0x25d46a + 0x70, 'tr0501_key')['setName']('key')['setInteractive']({ + 'cursor': 'pointer' + }); + var _0x26571e = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x1aa1e5, _0x1efef8) { + if (_0x1efef8['name'] == 'key') { + _0x26571e['addItem'](_0x1efef8, 'inv_key3'); + _0xb43598['setEvent']('tr0501_key', !![]); + this['children']['remove'](_0x1efef8); + } + }, this); + } + }); + var _0x583b89 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0502', { + 'left': 'tr0501', + 'right': 'tr0503' + }, { + 'tr0703': 'bottom', + 'tr0501': 'right', + 'tr0503': 'left' + }, null, { + 'tr0500': 'portal', + 'lch01': 'portal' + }); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + var _0x432615 = _0xb43598['getEvent']('tr0502_door_unlock'); + var _0x5e102b = _0xb43598['getEvent']('tr0502_door_open'); + var _0x423b9b = this['add']['sprite'](_0x2aacf1 - 0xa8, _0x25d46a - 0x84, 'tr0101_indicator_red'); + var _0x4d5942 = this['add']['sprite'](_0x2aacf1 - 0x3a, _0x25d46a + 0x17, 'portal_1')['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + })['setScale'](0.71, 0.84); + var _0x1fae29 = this['add']['sprite'](_0x2aacf1 - 0x3a, _0x25d46a + 0x17, 'tr0502_door')['setName']('door')['setInteractive']({ + 'cursor': 'pointer' + })['setScale'](1.05, 0x1); + if (_0x432615) { + _0x423b9b['setTexture']('tr0010_indicator_green'); + } + if (_0x5e102b) { + _0x1fae29['setVisible'](![]); + _0x4d5942['play']('portal'); + } else { + this['createMask'](_0x1fae29); + } + this['add']['zone'](_0x2aacf1 + 0x73, _0x25d46a - 0x69, 0x8c, 0x136)['setName']('portal_tr0500')['setInteractive']({ + 'cursor': 'pointer' + }); + var _0x4ad69e = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x212eaf, _0x49dc32) { + if (_0x49dc32['name'] == 'portal_tr0500') { + _0x36f2e8(this, 'tr0500', !![]); + } else if (_0x49dc32['name'] === 'portal') { + _0x36f2e8(this, 'lch01', 'transition_portal'); + } else if (_0x49dc32['name'] === 'door') { + if (!_0x432615 && _0xb43598['isInventoryActive']('inv_key6')) { + _0x5619f8(this, 'unlock_door'); + _0x423b9b['setTexture']('tr0010_indicator_green'); + _0x4ad69e['resetActiveItem'](); + _0xb43598['setEvent']('tr0502_door_unlock', !![]); + _0x432615 = !![]; + } else if (_0x432615) { + _0x1967e9(); + _0x4d5942['play']('portal'); + _0x5619f8(this, 'el_open_el_door'); + this['tweens']['add']({ + 'targets': _0x1fae29, + 'duration': _0xecb5a1, + 'y': '-=350', + 'onComplete': function() { + _0xb43598['setEvent']('tr0502_door_open', !![]); + _0x5178ad(); + } + }); + } + } + }, this); + }, + 'createMask': function(_0x1bb5a1) { + var _0x59d6f6 = { + 'topLeftX': -0x50, + 'topLeftY': -0xac, + 'topRightX': 0x46, + 'topRightY': -0xac, + 'bottomLeftX': -0x50, + 'bottomLeftY': 0xaf, + 'bottomRightX': 0x46, + 'bottomRightY': 0xaf + }; + var _0x1a839d = this['make']['mesh']({ + 'key': 'phaser2', + 'x': _0x1bb5a1['x'], + 'y': _0x1bb5a1['y'], + 'vertices': [_0x59d6f6['topLeftX'], _0x59d6f6['topLeftY'], _0x59d6f6['bottomLeftX'], _0x59d6f6['bottomLeftY'], _0x59d6f6['bottomRightX'], _0x59d6f6['bottomRightY'], _0x59d6f6['topLeftX'], _0x59d6f6['topLeftY'], _0x59d6f6['bottomRightX'], _0x59d6f6['bottomRightY'], _0x59d6f6['topRightX'], _0x59d6f6['topRightY']], + 'uv': [0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0], + 'add': ![] + }); + _0x1bb5a1['mask'] = new Phaser['Display']['Masks']['GeometryMask'](this, _0x1a839d); + } + }); + var _0x3f551d = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0503', { + 'bottom': 'tr0401', + 'top': 'tr0703', + 'left': 'tr0502' + }, { + 'tr0502': 'right', + 'tr0703': 'bottom', + 'tr0401': 'top' + }, null, { + 'intr0503': 'portal' + }); + }, + 'extra_create': function() { + var _0x1f943e = !!_0xb43598['getEvent']('tr0703_skull_complete'); + this['add']['sprite'](_0x2aacf1 - 0x4b, _0x25d46a - 0x32, 'tr0503_door_burnt')['setVisible'](_0x1f943e); + this['add']['sprite'](_0x2aacf1 - 0x4b, _0x25d46a - 0x32, 'tr0503_door')['setVisible'](!_0x1f943e); + if (_0x1f943e) { + this['addZone']({ + 'x': _0x2aacf1 - 0x96, + 'y': _0x25d46a - 0xc8, + 'width': 0xa0, + 'height': 0x12c, + 'name': 'portal' + }); + } + } + }); + var _0x5ec77 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0701', { + 'right': 'tr0702' + }, { + 'tr0702': 'left' + }); + }, + 'extra_create': function() { + if (!_0xb43598['getEvent']('tr0701_key')) { + this['key'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a - 0x96, 'tr0701_key')['setName']('key')['setInteractive']({ + 'cursor': 'pointer' + }); + } + this['input']['on']('gameobjectdown', function(_0x3679ce, _0x22d5e4) { + if (_0x22d5e4['name'] == 'key') { + _0x1967e9(); + _0x5619f8(this, 'tr0701_key_fall_0701'); + this['tweens']['add']({ + 'targets': this['key'], + 'y': _0x3eaf37 * 1.1, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Cubic.easeIn', + 'onComplete': function() { + this['key']['setVisible'](![]); + _0xb43598['setEvent']('tr0701_key', !![]); + _0x5178ad(); + } ['bind'](this) + }); + } + }, this); + } + }); + var _0x5a09dd = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0702', { + 'left': 'tr0701', + 'right': 'tr0703' + }, { + 'tr0703': 'left', + 'tr0701': 'right' + }); + } + }); + var _0x2fabe2 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tr0703', { + 'bottom': 'tr0503', + 'left': 'tr0702' + }, { + 'tr0702': 'right', + 'tr0503': 'top' + }); + }, + 'extra_create': function() { + var _0x19b946 = !!_0xb43598['getEvent']('tr0703_skull_complete'); + this['liquid'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a - 0x5b, 'tr0703_liquid')['setVisible'](_0x19b946); + this['liquidstroke'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a - 0x56, 'tr0703_liquid_stroke')['setVisible'](_0x19b946); + this['skullfill'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a - 0x47, 'dep06_skullfill')['setVisible'](![]); + this['skull'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a - 0x47, 'dep06_skull')['setInteractive']()['setName']('skull')['setAlpha'](0.001); + this['pipka'] = this['add']['sprite'](_0x2aacf1 + 0x1d, _0x25d46a - 0x71, 'dep06_pipka'); + this['add']['sprite'](_0x2aacf1 + 0x1d, _0x25d46a - 0x7c, 'tr0703_mask'); + this['add']['sprite'](_0x2aacf1 + 0x6c, _0x25d46a - 0x34, 'tr0703_btn')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button')['setAlpha'](0.01); + var _0x2acb19 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x1d2e94, _0x503842) { + if (_0x503842['name'] == 'skull' && !_0x19b946) { + if (_0xb43598['isInventoryActive']('inv_skull_filled')) { + _0x2acb19['removeItem']('inv_skull_filled'); + _0xb43598['setEvent']('tr0703_skull_ready', !![]); + this['skull']['setAlpha'](0x1); + this['skullfill']['setVisible'](!![]); + } + } else if (_0x503842['name'] === 'button' && !_0x19b946) { + if (!_0xb43598['getEvent']('tr0703_skull_ready')) return; + this['skullAnimation'](); + } + }, this); + }, + 'skullAnimation': function() { + _0x1967e9(); + _0x5619f8(this, 'tr0703_unfill_skull'); + this['tweens']['add']({ + 'targets': this['pipka'], + 'y': '+=\x205', + 'duration': _0xecb5a1 / 0x3 + }); + this['tweens']['add']({ + 'targets': [this['skull'], this['skullfill']], + 'y': '-=10', + 'duration': _0xecb5a1 / 0x2, + 'delay': _0xecb5a1 / 0x2, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': this['skullfill'], + 'duration': _0xecb5a1 * 0x2, + 'alpha': 0x1, + 'onUpdate': function(_0x29b312, _0x177d76) { + _0x39f1a0(this, this['skullfill'], { + 'topLeftX': -0x64, + 'topLeftY': -this['skullfill']['height'] / 0x2 + _0x29b312['progress'] * this['skullfill']['height'], + 'topRightX': 0x64, + 'topRightY': -this['skullfill']['height'] / 0x2 + _0x29b312['progress'] * this['skullfill']['height'], + 'bottomLeftX': -0x64, + 'bottomLeftY': this['skullfill']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['skullfill']['height'] / 0x2 + }); + } ['bind'](this), + 'onComplete': function() { + this['tweens']['add']({ + 'targets': this['pipka'], + 'y': '-=5', + 'duration': _0xecb5a1 / 0x3, + 'completeDelay': _0xecb5a1 / 0x2, + 'onComplete': function() { + this['skull']['setVisible'](![]); + this['skullfill']['setVisible'](![]); + this['liquid']['setVisible'](!![]); + this['liquidstroke']['setVisible'](!![]); + _0x5178ad(); + _0xb43598['setEvent']('tr0703_skull_complete', !![]); + _0xb43598['setEvent']('tr0401_door_inv_key', !![]); + } ['bind'](this) + }); + } ['bind'](this) + }); + } ['bind'](this) + }); + } + }); + var _0x5c5033 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp01', { + 'left': 'tr0005', + 'right': 'tmp02' + }, { + 'tmp02': 'left', + 'tr0005': 'right' + }); + } + }); + var _0x2f0131 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp02', { + 'left': 'tmp01', + 'right': 'tmp03', + 'bottom': 'tmp06' + }, { + 'tmp06': 'top', + 'tmp03': 'left', + 'tmp01': 'right' + }); + } + }); + var _0x4100f7 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp03', { + 'left': 'tmp02' + }, { + 'tmp02': 'right' + }, null, { + 'tmp04': 'portal' + }); + }, + 'extra_create': function() { + this['add']['zone'](0x154, 0xa7, 0x93, 0x12c)['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + this['input']['on']('gameobjectdown', function(_0x555350, _0x5b210c) { + if (_0x5b210c['name'] == 'portal') { + _0x36f2e8(this, 'tmp04', !![]); + } + }, this); + } + }); + var _0x332739 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp04', { + 'top': 'tmp05' + }, { + 'tmp05': 'bottom' + }, null, { + 'tmp03': 'portal' + }); + }, + 'extra_create': function() { + if (!_0xb43598['getEvent']('tmp04_key')) { + this['key'] = this['add']['sprite'](_0x2aacf1 + 0x32, _0x25d46a - 0x14, 'tmp04_key')['setName']('key')['setInteractive']({ + 'cursor': 'pointer' + }); + } + var _0x1cce7f = _0x130e52['bottom']; + var _0x46d6ec = this['scene']['get']('inventoryScene'); + this['add']['zone'](_0x1cce7f['x'], _0x1cce7f['y'], _0x1cce7f['width'], _0x1cce7f['height'])['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + }); + this['input']['on']('gameobjectdown', function(_0x5d794b, _0x2d32a6) { + if (_0x2d32a6['name'] == 'portal') { + _0x36f2e8(this, 'tmp03', !![]); + } else if (_0x2d32a6['name'] == 'key') { + if (!_0x46d6ec['addItem'](_0x2d32a6, 'inv_key2')) return; + _0xb43598['setEvent']('tmp04_key', !![]); + this['children']['remove'](_0x2d32a6); + } + }, this); + } + }); + var _0x4a3564 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'lightMap': [![], + [!![], + [![], + [![], !![], 0x1, ![], !![]], !![], ![], ![] + ], ![], ![], !![] + ], ![], + [!![], !![], + [![], ![], !![], + [!![], ![], !![], !![], ![]], ![] + ], ![], ![] + ], + [!![], ![], ![], !![], ![]] + ], + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp05', { + 'bottom': 'tmp04' + }, { + 'tmp04': 'top', + 'tmp07': 'bottom' + }); + }, + 'before_bg_create': function() { + this['stairs'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x64, 'tmp05_stairs')['setScale'](0x1); + if (_0xb43598['getEvent']('tmp05_win') && _0xb43598['getEvent']('tr0102_ladder_up')) { + return; + } + this['line1'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0xd4, 'tmp05_puzzle1'); + this['line1_light2'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0xd4, 'tmp05_puzzle1_light2')['setVisible'](![]); + this['line1_light4'] = this['add']['sprite'](_0x2aacf1 - 0x29, _0x25d46a - 0xd5, 'tmp05_puzzle1_light3')['setVisible'](![]); + this['line1_light5'] = this['add']['sprite'](_0x2aacf1 + 0x8, _0x25d46a - 0xd5, 'tmp05_puzzle1_light4')['setVisible'](![]); + this['line2'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x8c, 'tmp05_puzzle2'); + this['line2_light11'] = this['add']['sprite'](_0x2aacf1 - 0x28, _0x25d46a - 0xb2, 'tmp05_puzzle2_light1')['setVisible'](![]); + this['line2_light31'] = this['add']['sprite'](_0x2aacf1 - 0x29, _0x25d46a - 0xb3, 'tmp05_puzzle2_light1')['setVisible'](![]); + this['line2_light32'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a - 0xb2, 'tmp05_puzzle2_light1')['setVisible'](![]); + this['line2_light12'] = this['add']['sprite'](_0x2aacf1 + 0x14, _0x25d46a - 0x8c, 'tmp05_puzzle2_light2')['setVisible'](![]); + this['line2_light33'] = this['add']['sprite'](_0x2aacf1 - 0x28, _0x25d46a - 0x8c, 'tmp05_puzzle2_light2')['setVisible'](![]); + this['line2_light41'] = this['add']['sprite'](_0x2aacf1 + 0x50, _0x25d46a - 0x8c, 'tmp05_puzzle2_light2')['setVisible'](![]); + this['line2_light15'] = this['add']['sprite'](_0x2aacf1 - 0x35, _0x25d46a - 0x9b, 'tmp05_puzzle2_light3')['setVisible'](![]); + this['line2_light44'] = this['add']['sprite'](_0x2aacf1 + 0x7, _0x25d46a - 0x9a, 'tmp05_puzzle2_light3')['setVisible'](![]); + this['line3'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x42, 'tmp05_puzzle3'); + this['line3_light12'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a - 0x42, 'tmp05_puzzle3_light2')['setVisible'](![]); + this['line3_light23'] = this['add']['sprite'](_0x2aacf1 - 0x46, _0x25d46a - 0x42, 'tmp05_puzzle3_light2')['setVisible'](![]); + this['line3_light13'] = this['add']['sprite'](_0x2aacf1 + 0x50, _0x25d46a - 0x44, 'tmp05_puzzle3_light3')['setVisible'](![]); + this['line3_light24'] = this['add']['sprite'](_0x2aacf1 + 0x14, _0x25d46a - 0x44, 'tmp05_puzzle3_light3')['setVisible'](![]); + this['line4'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0x6, 'tmp05_puzzle4'); + this['line4_light12'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a + 0x6, 'tmp05_puzzle4_light1')['setVisible'](![]); + this['line4_light13'] = this['add']['sprite'](_0x2aacf1 - 0x28, _0x25d46a + 0x6, 'tmp05_puzzle4_light2')['setVisible'](![]); + this['line4_light31'] = this['add']['sprite'](_0x2aacf1 + 0x50, _0x25d46a + 0x6, 'tmp05_puzzle4_light2')['setVisible'](![]); + this['line4_light15'] = this['add']['sprite'](_0x2aacf1 - 0x33, _0x25d46a - 0x7, 'tmp05_puzzle4_light3')['setVisible'](![]); + this['line4_light33'] = this['add']['sprite'](_0x2aacf1 + 0x46, _0x25d46a - 0x7, 'tmp05_puzzle4_light3')['setVisible'](![]); + this['line4_light34'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a - 0x7, 'tmp05_puzzle4_light3')['setVisible'](![]); + this['lights'] = [this['line1_light2'], this['line1_light4'], this['line1_light5'], this['line2_light11'], this['line2_light12'], this['line2_light15'], this['line2_light31'], this['line2_light32'], this['line2_light33'], this['line2_light44'], this['line2_light41'], this['line3_light12'], this['line3_light13'], this['line3_light23'], this['line3_light24'], this['line4_light12'], this['line4_light13'], this['line4_light15'], this['line4_light33'], this['line4_light34'], this['line4_light31']]; + if (!_0xb43598['getEvent']('tmp05_win')) { + this['mapState'] = [0x2, 0x2, 0x2, 0x2]; + } else { + this['mapState'] = [0x1, 0x1, 0x1, 0x2]; + this['line1']['x'] += 0x3c; + this['line2']['x'] += 0x3c; + this['line3']['x'] += 0x3c; + } + }, + 'extra_create': function() { + this['add']['sprite'](_0x2aacf1 - 0xbc, _0x25d46a - 0x41, 'tmp05_ropes'); + this['gear_lines'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0x5a, 'tmp05_gear_lines'); + this['gear2'] = this['add']['sprite'](_0x2aacf1 - 0xb6, _0x25d46a - 0xe6, 'tmp05_gear2'); + this['gear1'] = this['add']['sprite'](_0x2aacf1 - 0xa8, _0x25d46a + 0x55, 'tmp05_gear1'); + this['gear3'] = this['add']['sprite'](_0x2aacf1 - 0x47, _0x25d46a + 0x74, 'tmp05_gear3'); + this['light'] = this['add']['sprite'](_0x2aacf1 - 0x7, _0x25d46a + 0x2d, 'tmp05_light')['setVisible'](![]); + if (_0xb43598['getEvent']('tr0102_ladder_up')) { + this['light']['setVisible'](!![]); + this['addTransition']('top', 'tmp07'); + return; + } else if (_0xb43598['getEvent']('tmp05_win')) { + this['removeTransition']('top'); + } + var _0x32b1e0 = this['add']['sprite'](_0x2aacf1 - 0x7a, _0x25d46a - 0xd2, 'tmp05_btn_l')['setData']('line', 0x1)['setData']('direction', 0x1); + var _0xd035b1 = this['add']['sprite'](_0x2aacf1 + 0x62, _0x25d46a - 0xd2, 'tmp05_btn_l')['setData']('line', 0x1)['setData']('direction', -0x1)['setAngle'](0xb4); + var _0x2d4456 = this['add']['sprite'](_0x2aacf1 - 0x7a, _0x25d46a - 0x8a, 'tmp05_btn_l')['setData']('line', 0x2)['setData']('direction', 0x1); + var _0x94e267 = this['add']['sprite'](_0x2aacf1 + 0x62, _0x25d46a - 0x8a, 'tmp05_btn_l')['setData']('line', 0x2)['setData']('direction', -0x1)['setAngle'](0xb4); + var _0x2796eb = this['add']['sprite'](_0x2aacf1 - 0x7a, _0x25d46a - 0x47, 'tmp05_btn_l')['setData']('line', 0x3)['setData']('direction', 0x1); + var _0x2e7184 = this['add']['sprite'](_0x2aacf1 + 0x62, _0x25d46a - 0x47, 'tmp05_btn_l')['setData']('line', 0x3)['setData']('direction', -0x1)['setAngle'](0xb4); + var _0x58bd8a = this['add']['sprite'](_0x2aacf1 - 0x7a, _0x25d46a - 0x5, 'tmp05_btn_l')['setData']('line', 0x4)['setData']('direction', 0x1); + var _0x4324ac = this['add']['sprite'](_0x2aacf1 + 0x62, _0x25d46a - 0x5, 'tmp05_btn_l')['setData']('line', 0x4)['setData']('direction', -0x1)['setAngle'](0xb4); + this['buttons'] = [_0x32b1e0, _0xd035b1, _0x2d4456, _0x94e267, _0x2796eb, _0x2e7184, _0x58bd8a, _0x4324ac]; + if (!_0xb43598['getEvent']('tmp05_win')) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['buttons']['length']; _0x5a8aa6++) { + this['buttons'][_0x5a8aa6]['setInteractive']({ + 'cursor': 'pointer' + }); + } + } else { + this['light']['setVisible'](!![]); + this['checkLight'](); + } + this['mouseUpListener'] = function(_0x1bccac) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['buttons']['length']; _0x5a8aa6++) { + this['buttons'][_0x5a8aa6]['setTexture']('tmp05_btn_l'); + } + } ['bind'](this); + _0xb43598['canvas']['addEventListener']('mouseup', this['mouseUpListener']); + this['mouseDownListener'] = function(_0x133ea3) { + var _0x24092c = { + 'x': _0x133ea3['offsetX'], + 'y': _0x133ea3['offsetY'] + }; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['buttons']['length']; _0x5a8aa6++) { + if (_0x3e179a(this['buttons'][_0x5a8aa6], _0x24092c)) { + this['buttons'][_0x5a8aa6]['setTexture']('tmp05_btn_l_pressed'); + } + } + } ['bind'](this); + _0xb43598['canvas']['addEventListener']('mousedown', this['mouseDownListener']); + this['input']['on']('gameobjectdown', function(_0x13d44f, _0x53aaf2) { + if (_0xb43598['getEvent']('tmp05_win')) { + return; + } + var _0x34c124 = _0x53aaf2['getData']('line'); + var _0x166a44 = _0x53aaf2['getData']('direction'); + if (!_0x34c124 || !_0x166a44 || !this['line' + _0x34c124]) { + return; + } + var _0xbaf2fb = this['line' + _0x34c124]; + var _0x141f70 = this['mapState'][_0x34c124 - 0x1]; + if (_0x141f70 + _0x166a44 < 0x0 || _0x141f70 + _0x166a44 >= 0x5) { + return; + } + _0x5619f8(this, 'tmp05_puzzle_slide_tmp06'); + this['mapState'][_0x34c124 - 0x1] = _0x141f70 + _0x166a44; + this['tweens']['add']({ + 'targets': _0xbaf2fb, + 'x': _0xbaf2fb['x'] - 0x3c * _0x166a44, + 'duration': _0xecb5a1 / 0x3, + 'onComplete': function() { + _0x5178ad(); + this['checkLight'](); + } ['bind'](this) + }); + _0x1967e9(); + } ['bind'](this)); + }, + 'checkLight': function() { + var _0x286267 = this['lightMap']; + var _0x38a2a6 = ''; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['lights']['length']; _0x5a8aa6++) { + this['lights'][_0x5a8aa6]['setVisible'](![]); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['mapState']['length']; _0x5a8aa6++) { + if (typeof _0x286267 != 'object') { + break; + } + var _0x10d56f = 'line' + (_0x5a8aa6 + 0x1) + '_light' + _0x38a2a6 + (this['mapState'][_0x5a8aa6] + 0x1); + if (this[_0x10d56f] && _0x286267[this['mapState'][_0x5a8aa6]] != ![]) { + this[_0x10d56f]['setVisible'](!![]); + } + _0x286267 = _0x286267[this['mapState'][_0x5a8aa6]]; + _0x38a2a6 = this['mapState'][_0x5a8aa6]; + if (_0x286267 === 0x1) { + this['light']['setVisible'](!![]); + this['runMechanism'](); + _0xb43598['setEvent']('tmp05_win', !![]); + } + } + }, + 'runMechanism': function() { + if (_0xb43598['getEvent']('tmp05_win')) { + return; + } + _0x5619f8(this, 'tmp05_mechanism_tmp06'); + var _0x237c5f = [this['gear1'], this['gear2'], this['gear3']]; + this['tweens']['add']({ + 'targets': _0x237c5f, + 'angle': 0x168, + 'duration': _0xecb5a1 * 0x4 + }); + var _0x17f61 = this['gear_lines']['x'] - 0xa; + this['tweens']['add']({ + 'targets': this['gear_lines'], + 'x': _0x17f61, + 'yoyo': !![], + 'repeat': 0x6, + 'duration': _0xecb5a1 / 0x5 + }); + }, + 'before_transition': function() { + _0xb43598['canvas']['removeEventListener']('mouseup', this['mouseUpListener']); + _0xb43598['canvas']['removeEventListener']('mousedown', this['mouseDownListener']); + } + }); + var _0x42a2f2 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp06', { + 'top': 'tmp02' + }, { + 'tmp02': 'bottom', + 'cr02': 'top' + }); + }, + 'extra_create': function() { + this['signs'] = this['add']['sprite'](_0x2aacf1 + 0x19, _0x25d46a + 0x96, 'tmp06_signs_flashed')['setAlpha'](0x0); + this['topPyr'] = this['add']['sprite'](_0x2aacf1 + 0xb, _0x25d46a - 0x6e, 'tmp06_pyramide0')['setVisible'](![]); + this['b1'] = this['add']['sprite'](_0x2aacf1 + 0x16, _0x25d46a + 0x5f, 'tmp06_pyramide9'); + this['b4'] = this['add']['sprite'](_0x2aacf1 + 0x69, _0x25d46a + 0x80, 'tmp06_pyramide7'); + this['b2'] = this['add']['sprite'](_0x2aacf1 - 0x49, _0x25d46a + 0x75, 'tmp06_pyramide6'); + this['b3'] = this['add']['sprite'](_0x2aacf1 + 0x8, _0x25d46a + 0x96, 'tmp06_pyramide5'); + this['a1'] = this['add']['sprite'](_0x2aacf1 + 0x14, _0x25d46a + 0x29, 'tmp06_pyramide8'); + this['a2'] = this['add']['sprite'](_0x2aacf1 - 0x28, _0x25d46a + 0x34, 'tmp06_pyramide4'); + this['a4'] = this['add']['sprite'](_0x2aacf1 + 0x3f, _0x25d46a + 0x3a, 'tmp06_pyramide3'); + this['a3'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a + 0x46, 'tmp06_pyramide2'); + this['p1'] = this['add']['sprite'](_0x2aacf1 + 0xc, _0x25d46a - 0x9, 'tmp06_pyramide1')['setInteractive']()['setName']('pyramid_top'); + this['add']['sprite'](_0x2aacf1, _0x25d46a, 'tmp06_mask'); + if (_0xb43598['getEvent']('tmp06_pyramid_open')) { + this['openPyramid'](!![]); + } + this['input']['on']('gameobjectdown', function(_0x53faa7, _0x2b9f2c) { + if (_0x2b9f2c['name'] === 'pyramid_top') { + if (_0xb43598['isInventoryActive']('inv_pyramide')) { + this['openPyramid'](); + } + } + }, this); + }, + 'openPyramid': function(_0x3efd5d) { + if (_0x3efd5d) { + this['p1']['y'] -= 0x32; + this['signs']['setAlpha'](0x1); + this['a1']['x'] += 0x5d; + this['a1']['y'] -= 0x1b; + this['a2']['x'] -= 0x87; + this['a2']['y'] += 0x30; + this['a3']['x'] += 0x5d; + this['a3']['y'] += 0x49; + this['a4']['x'] += 0x75; + this['a4']['y'] += 0x3f; + this['b1']['x'] += 0x50; + this['b1']['y'] -= 0x19; + this['b2']['x'] -= 0x5a; + this['b2']['y'] += 0x1e; + this['b3']['x'] += 0x3f; + this['b3']['y'] += 0x3c; + this['b4']['x'] += 0x57; + this['b4']['y'] += 0x32; + this['p1']['disableInteractive'](); + this['openPyramidPortal'](); + this['topPyr']['setVisible'](!![]); + this['topPyr']['y'] -= 0x32; + return; + } + _0x1967e9(); + _0x5619f8(this, 'tmp06_insert_pyramide'); + var _0x141547 = this['scene']['get']('inventoryScene'); + _0x141547['removeItem']('inv_pyramide'); + _0xb43598['setEvent']('tmp06_pyramid_open', !![]); + this['p1']['disableInteractive'](); + this['topPyr']['setVisible'](!![]); + this['topPyr']['x'] += 0x14; + this['tweens']['add']({ + 'targets': this['topPyr'], + 'duration': _0xecb5a1 * 0x3, + 'ease': 'Elastic.easeOut', + 'x': '-=20' + }); + this['tweens']['add']({ + 'targets': this['signs'], + 'duration': _0xecb5a1 * 0x2, + 'delay': _0xecb5a1 * 2.5, + 'alpha': 0x1, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': [this['p1'], this['topPyr']], + 'y': '-=50', + 'completeDelay': _0xecb5a1, + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': this['a1'], + 'x': '+=13', + 'y': '-=2', + 'duration': _0xecb5a1 * 0x2 + }); + this['tweens']['add']({ + 'targets': this['a2'], + 'x': '-=45', + 'y': '+=18', + 'duration': _0xecb5a1 * 0x2 + }); + this['tweens']['add']({ + 'targets': [this['a3'], this['a4']], + 'x': '+=30', + 'y': '+=13', + 'duration': _0xecb5a1 * 0x2, + 'completeDelay': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': [this['a1'], this['b1']], + 'x': '+=80', + 'y': '-=25', + 'duration': _0xecb5a1 * 0x6 + }); + this['tweens']['add']({ + 'targets': [this['a2'], this['b2']], + 'x': '-=90', + 'y': '+=30', + 'duration': _0xecb5a1 * 0x6 + }); + this['tweens']['add']({ + 'targets': [this['a3'], this['b3']], + 'duration': _0xecb5a1 * 0x2, + 'x': '-=12', + 'y': '+=10' + }); + this['tweens']['add']({ + 'targets': [this['a4'], this['b4']], + 'duration': _0xecb5a1 * 0x2, + 'x': '+=12', + 'y': '-=0', + 'onComplete': function() { + this['tweens']['add']({ + 'targets': [this['a4'], this['a3'], this['b3'], this['b4']], + 'delay': _0xecb5a1 / 0x2, + 'x': '+=75', + 'y': '+=50', + 'duration': _0xecb5a1 * 0x4, + 'onComplete': function() { + this['openPyramidPortal'](); + _0x5178ad(); + } ['bind'](this) + }); + } ['bind'](this) + }); + } ['bind'](this) + }); + } ['bind'](this) + }); + } ['bind'](this) + }); + }, + 'openPyramidPortal': function() { + this['addTransition']('bottom', 'cr02', !![]); + this['addZone']({ + 'x': _0x2aacf1 - 0x64, + 'y': _0x25d46a + 0x64, + 'width': 0xc8, + 'height': 0x64, + 'name': 'bottom' + }); + } + }); + var _0x544d05 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'tmp07', { + 'left': 'tr0013', + 'bottom': 'tmp05' + }, { + 'tmp05': 'top' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 + 0xfa, _0x25d46a + 0x64); + if (_0xb43598['getEvent']('tmp07_key')) { + return; + } + this['add']['sprite'](_0x2aacf1 + 0xdc, _0x25d46a + 0xfa, 'tmp07_key')['setScale'](0.9)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('key'); + this['input']['on']('gameobjectdown', function(_0x63a090, _0x2b382f) { + if (_0x2b382f['name'] == 'key') { + var _0x3aeec2 = this['scene']['get']('inventoryScene'); + _0x3aeec2['addItem'](_0x2b382f, 'inv_key1'); + _0xb43598['setEvent']('tmp07_key', !![]); + this['children']['remove'](_0x2b382f); + } + }, this); + } + }); + var _0x1f94f3 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'pr02', {}, {}, null, { + 'pr04': 'portal', + 'tr0101': 'portal_back' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 - 0x105, _0x25d46a + 0x17, { + 'name': 'pr02_door', + 'scale': 0x1 + }, { + 'scale': { + 'x': 0.35, + 'y': 1.5 + }, + 'x': _0x2aacf1 - 0x138, + 'y': _0x25d46a + 0x32 + }, 'tr0101'); + _0x39f1a0(this, this['portal'], { + 'topLeftX': -0x104, + 'topLeftY': -0xd2, + 'topRightX': 0x104, + 'topRightY': -0x104, + 'bottomLeftX': -0xc8, + 'bottomLeftY': 0xc8, + 'bottomRightX': 0x64, + 'bottomRightY': 0x64 + }); + this['add']['zone'](_0x2aacf1 - 0x32, _0x25d46a - 0xdc, 0xb4, 0x15e)['setName']('portal_pr04')['setInteractive']({ + 'cursor': 'pointer' + }); + this['createDevice'](_0x2aacf1 + 0xd2, _0x25d46a - 0x5e); + this['input']['on']('gameobjectdown', function(_0x59fd85, _0x12928e) { + if (_0x12928e['name'] == 'portal_pr04') { + _0x36f2e8(this, 'pr04', !![]); + } + }, this); + } + }); + var _0x1465cb = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'pr03', {}, {}, null, { + 'intr0101': 'portal' + }); + }, + 'extra_create': function() { + var _0x1ff6e2 = this['add']['sprite'](_0x2aacf1 + 0xa0, _0x25d46a - 0x50, 'pr03_lock_small')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lock'); + this['createDoor'](_0x2aacf1 + 0x122, _0x25d46a - 0x12, { + 'name': 'pr03_door', + 'scale': 0x1 + }, { + 'scale': 0x1 + }, 'intr0101'); + _0x39f1a0(this, this['portal'], { + 'topLeftX': -0x55, + 'topLeftY': -0xde, + 'topRightX': 0x55, + 'topRightY': -0xde, + 'bottomLeftX': -0x55, + 'bottomLeftY': 0x98, + 'bottomRightX': 0x55, + 'bottomRightY': 0xde + }); + this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a - 0x99, 'pr03_glass_bg'); + this['glassTile'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a - 0x99, 'pr03_glass_tile'); + this['add']['sprite'](_0x2aacf1 - 0x14, _0x25d46a - 0x8c, 'pr03_glass'); + this['createShadowLayer'](); + var _0x34c56c = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'pr03_lock_bg'); + this['line1'] = this['add']['sprite'](_0x2aacf1, _0x25d46a - 0x53, 'pr03_lock_symb1')['setName']('line')['setData']('number', 0x1)['setData']('value', 0x1)['setInteractive']({ + 'cursor': 'pointer' + }); + this['line2'] = this['add']['sprite'](_0x2aacf1, _0x25d46a - 0x22, 'pr03_lock_symb1')['setName']('line')['setData']('number', 0x2)['setData']('value', 0x1)['setInteractive']({ + 'cursor': 'pointer' + }); + this['line3'] = this['add']['sprite'](_0x2aacf1, _0x25d46a + 0xf, 'pr03_lock_symb1')['setName']('line')['setData']('number', 0x3)['setData']('value', 0x1)['setInteractive']({ + 'cursor': 'pointer' + }); + this['line4'] = this['add']['sprite'](_0x2aacf1, _0x25d46a + 0x41, 'pr03_lock_symb1')['setName']('line')['setData']('number', 0x4)['setData']('value', 0x1)['setInteractive']({ + 'cursor': 'pointer' + }); + var _0xb4e20e = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'pr03_lock_big_frame'); + var _0x146209 = [_0x34c56c, this['line1'], this['line2'], this['line3'], this['line4'], _0xb4e20e]; + this['lockContainer'] = this['add']['container'](0x0, 0x0, _0x146209)['setData']('startX', _0x4a8abc * 0.7)['setData']('deltaX', _0x4a8abc * 0.8)['setVisible'](![]); + if (_0xb43598['getEvent']('pr03_lock_complete')) { + this['openSign'](!![]); + _0x1ff6e2['disableInteractive'](); + } + this['input']['on']('gameobjectdown', function(_0x51ccb5, _0x140daf) { + if (!_0xb43598['getEvent']('pr03_lock_complete') && _0x140daf['name'] == 'lock') { + this['showShadowLayer'](this['lockContainer']); + } else if (_0x140daf['name'] === 'line') { + _0x5619f8(this, 'pr03_line_press_pr01'); + this['moveLine'](_0x140daf['getData']('number')); + } + }, this); + }, + 'moveLine': function(_0x3e8b73) { + var _0x226685 = this['line' + _0x3e8b73]; + var _0x4813fa = _0x226685['getData']('value') + 0x1; + if (_0x4813fa == 0x5) { + _0x4813fa = 0x1; + } + _0x226685['setTexture']('pr03_lock_symb' + _0x4813fa); + _0x226685['setData']('value', _0x4813fa); + if (this['isValidLock']()) { + _0x5619f8(this, 'pr03_open_lock_pr02'); + this['openSign'](); + } + }, + 'isValidLock': function() { + var _0x5a53a5 = [0x0, 0x1, 0x3, 0x4, 0x2]; + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 <= 0x4; _0x5a8aa6++) { + if (this['line' + _0x5a8aa6]['getData']('value') != _0x5a53a5[_0x5a8aa6]) return ![]; + } + return !![]; + }, + 'openSign': function(_0x39136d) { + if (_0x39136d) { + this['glassTile']['x'] += 0x46; + this['glassTile']['y'] -= 0x7; + return; + } + _0x1967e9(); + _0xb43598['setEvent']('pr03_lock_complete', !![]); + _0xb43598['input']['setDefaultCursor']('default'); + this['hideShadowLayer'](); + this['tweens']['add']({ + 'targets': this['glassTile'], + 'x': '+=70', + 'y': '-=7', + 'delay': _0xecb5a1 * 0x2, + 'duration': _0xecb5a1 * 0xa, + 'onComplete': function() { + _0x5178ad(); + } + }); + } + }); + var _0x405da0 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'pr04', {}, {}, [{ + 'default': 'bottom', + 'name': 'portal' + }], { + 'pr02': 'portal' + }); + }, + 'extra_create': function() { + var _0x3eefcf = this['add']['sprite'](_0x2aacf1 - 0x96, _0x25d46a - 0x8f, 'pr04_device_on'); + if (!_0xb43598['getEvent']('pr04_cylinder')) { + this['add']['sprite'](_0x2aacf1 - 0xbf, _0x25d46a - 0xbe, 'pr04_cylinder')['setName']('cylinder')['setInteractive']({ + 'cursor': 'pointer' + }); + } + var _0x38c84d = _0xb43598['getEvent']('pr03_lock_complete'); + var _0x1cf725 = _0xb43598['getEvent']('pr03_sign'); + if (!_0x38c84d) { + this['add']['sprite'](_0x2aacf1 + 0x96, _0x25d46a - 0x8b, 'pr04_tile_closed'); + } else { + this['add']['sprite'](_0x2aacf1 + 0x96, _0x25d46a - 0x95, 'pr04_tile_opened'); + if (!_0x1cf725) { + this['add']['sprite'](_0x2aacf1 + 0x87, _0x25d46a - 0xa1, 'pr04_sign_off')['setName']('sign')['setInteractive']({ + 'cursor': 'pointer' + }); + } else { + this['add']['sprite'](_0x2aacf1 + 0x87, _0x25d46a - 0xa1, 'pr04_sign_on'); + } + } + var _0x2bfa8b = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x4db0bb, _0x469cfc) { + if (!_0xb43598['getEvent']('pr04_cylinder') && _0x469cfc['name'] == 'cylinder') { + _0x2bfa8b['addItem'](_0x469cfc, 'inv_cylinder'); + _0xb43598['setEvent']('pr04_cylinder', !![]); + this['children']['remove'](_0x469cfc); + } else if (_0x469cfc['name'] === 'sign') { + _0x469cfc['setTexture']('pr04_sign_on')['disableInteractive'](); + _0x5619f8(this, 'secret'); + _0xb43598['setEvent']('pr03_sign', !![]); + } + }, this); + } + }); + var _0x2071a0 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'flp01', { + 'right': 'flp02', + 'left_half': 'el' + }, { + 'el': 'right', + 'flp02': 'left' + }); + }, + 'extra_create': function() {} + }); + var _0x3795b4 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'flp02', { + 'right': 'flp03', + 'left': 'flp01' + }, { + 'flp01': 'right', + 'flp03': 'left' + }); + }, + 'extra_create': function() { + this['ray'] = this['add']['sprite'](_0x2aacf1, 0x0, 'sp02_laser_ray')['setOrigin'](0.5, 0x0)['setVisible'](![]); + this['ray2'] = this['add']['sprite'](_0x2aacf1, this['ray']['height'], 'sp02_laser_ray')['setOrigin'](0.5, 0x0)['setVisible'](![]); + this['add']['sprite'](_0x2aacf1 + 0x6, _0x25d46a + 0x2c, 'flp02_laser_device'); + var _0x497d20 = this['add']['sprite'](_0x2aacf1 + 0x6, _0x25d46a - 0x78, 'flp02_lens')['setAlpha'](0.01)['setInteractive']()['setName']('lense'); + var _0x36068a = this['add']['sprite'](_0x2aacf1 + 0x48, _0x25d46a - 0x14, 'flp02_battery')['setAlpha'](0.01)['setInteractive']()['setName']('battery'); + if (_0xb43598['getEvent']('flp02_lense_ready')) { + _0x497d20['setAlpha'](0x1)['disableInteractive'](); + } + if (_0xb43598['getEvent']('flp02_battery_ready')) { + _0x36068a['setAlpha'](0x1)['disableInteractive'](); + } + if (_0xb43598['getEvent']('sp02_laser_shot_complete')) { + if (!_0xb43598['getEvent']('sp02_laser_shot_complete_animation')) { + _0xb43598['setEvent']('sp02_laser_shot_complete_animation', !![]); + } + this['playSmallRay'](); + this['add']['sprite'](_0x2aacf1 + 0x97, _0x25d46a + 0x64, 'flp02_light'); + } + if (_0xb43598['getEvent']('flp02_laser_shot_complete')) { + this['playBigRay'](); + } + var _0x47b012 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x22c7e5, _0x145c11) { + if (!_0xb43598['getEvent']('sp02_laser_shot_complete')) return; + if (_0x145c11['name'] == 'lense' && _0xb43598['isInventoryActive']('inv_lense')) { + _0x47b012['removeItem']('inv_lense'); + _0xb43598['setEvent']('flp02_lense_ready', !![]); + _0x145c11['setAlpha'](0x1); + } else if (_0x145c11['name'] == 'battery' && _0xb43598['isInventoryActive']('inv_battery')) { + _0x47b012['removeItem']('inv_battery'); + _0xb43598['setEvent']('flp02_battery_ready', !![]); + _0x145c11['setAlpha'](0x1); + } + }, this); + }, + 'playSmallRay': function() { + _0x5619f8(this, 'sp02_laser_rays', !![]); + this['ray']['setVisible'](!![]); + this['ray2']['setVisible'](!![]); + var _0x5b034c = { + 'x': this['ray']['x'], + 'y': _0x3eaf37, + 'topLeftX': -0x32, + 'topLeftY': -0x12c, + 'topRightX': 0x32, + 'topRightY': -0x12c, + 'bottomLeftX': -0x32, + 'bottomLeftY': 0x0, + 'bottomRightX': 0x32, + 'bottomRightY': 0x0 + }; + _0x39f1a0(this, this['ray'], _0x5b034c); + _0x39f1a0(this, this['ray2'], _0x5b034c); + this['tweens']['add']({ + 'targets': [this['ray'], this['ray2']], + 'y': '-=' + this['ray']['height'], + 'repeat': -0x1, + 'duration': _0xecb5a1 + }); + }, + 'playBigRay': function() { + this['ray']['mask'] = null; + this['ray2']['mask'] = null; + }, + 'before_transition': function() { + _0x11c867('sp02_laser_rays'); + } + }); + var _0x298e75 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'flp03', { + 'right_half': 'flp04', + 'left': 'flp02' + }, { + 'flp02': 'right', + 'flp04': 'left' + }); + }, + 'extra_create': function() { + if (_0xb43598['getEvent']('sp02_laser_shot_complete')) { + this['add']['sprite'](0x8, _0x25d46a + 0x7c, 'flp03_light')['setOrigin'](0x0, 0.5); + } + this['createDevice'](_0x2aacf1 + 0xa, _0x25d46a - 0x7c); + } + }); + var _0x27b738 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'flp04', { + 'left_30': 'flp03' + }, { + 'flp03': 'right' + }); + }, + 'extra_create': function() { + var _0x11e6a1; + this['createAnimation']('flp04_lever'); + if (!_0xb43598['getEvent']('flp04_key')) { + _0x11e6a1 = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a + 0x23, 'flp04_key')['setName']('key'); + } + var _0x4cd76c = this['add']['sprite'](_0x2aacf1 - 0x3c, _0x25d46a - 0x23, 'flp04_lever_0'); + if (!_0xb43598['getEvent']('sp02_laser_shot_complete')) { + this['add']['sprite'](_0x2aacf1 + 0xeb, _0x25d46a + 0x8, 'flp04_shelf_door_locked'); + return; + } + this['add']['sprite'](_0x2aacf1 - 0x41, _0x25d46a - 0xa7, 'flp04_screens'); + this['add']['sprite'](_0x2aacf1 - 0x55, _0x25d46a - 0xd5, 'flp04_screen_scheme'); + this['add']['sprite'](_0x2aacf1 - 0x16, _0x25d46a - 0xe3, 'flp04_screen_bolt'); + this['add']['sprite'](_0x2aacf1 - 0x41, _0x25d46a - 0x84, 'flp04_creen_device'); + var _0x3ad685 = this['add']['sprite'](_0x2aacf1 - 0x40, _0x25d46a - 0xa7, 'flp04_screen_lens'); + if (_0xb43598['getEvent']('flp02_lense_ready')) { + _0x3ad685['setTexture']('flp04_screen_lens_on'); + } + var _0x6dbaa4 = this['add']['sprite'](_0x2aacf1 - 0x24, _0x25d46a - 0x82, 'flp04_screen_battery'); + if (_0xb43598['getEvent']('flp02_battery_ready')) { + _0x6dbaa4['setTexture']('flp04_screen_battery_on'); + } + var _0x3c8e50 = this['add']['sprite'](_0x2aacf1 + 0xc8, _0x25d46a + 0x11, 'flp04_shelf_door_8'); + if (!_0xb43598['getEvent']('flp02_laser_shot_complete')) { + _0x4cd76c['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever'); + _0x4cd76c['on']('animationcomplete', function() { + _0xb43598['setEvent']('flp02_laser_shot_complete', !![]); + }, this); + } else { + _0x4cd76c['setTexture']('flp04_lever_13'); + } + if (!_0xb43598['getEvent']('flp04_shelf_open')) { + this['createAnimation']('flp04_shelf_door'); + _0x3c8e50['setName']('shelf_door')['setInteractive']({ + 'cursor': 'pointer' + })['setTexture']('flp04_shelf_door_0'); + _0x3c8e50['on']('animationcomplete', function() { + _0x3c8e50['disableInteractive'](); + if (_0x11e6a1) { + _0x11e6a1['setInteractive']({ + 'cursor': 'pointer' + }); + } + _0x5178ad(); + _0xb43598['setEvent']('flp04_shelf_open', !![]); + }, this); + } + var _0x514ade = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x35befd, _0x27d5a3) { + if (_0x27d5a3['name'] === 'shelf_door') { + _0x1967e9(); + _0x5619f8(this, 'flp04_open_door_flp04'); + _0x3c8e50['play']('flp04_shelf_door'); + } + if (_0x27d5a3['name'] === 'key') { + _0x514ade['addItem'](_0x27d5a3, 'inv_key5'); + _0xb43598['setEvent']('flp04_key', !![]); + this['children']['remove'](_0x27d5a3); + } + if (_0x27d5a3['name'] === 'lever') { + if (_0xb43598['getEvent']('flp02_battery_ready') && _0xb43598['getEvent']('flp02_lense_ready')) { + _0x5619f8(this, 'flp04_lever_on_flp04'); + _0x4cd76c['play']('flp04_lever'); + } + } + }, this); + } + }); + var _0x402532 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'flp05', {}, {}, null, { + 'tr0201b': 'portal' + }); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + this['portal'] = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a - 0x12, 'portal_1')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('portal')['setScale'](0.9, 0x1); + this['door'] = this['add']['sprite'](_0x2aacf1 + 0xe6, _0x25d46a - 0x12, 'flp05_door')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + this['add']['sprite'](_0x4a8abc + 0x1, _0x25d46a - 0x14, 'flp05_mask')['setOrigin'](0x1, 0.5); + _0x39f1a0(this, this['portal'], { + 'topLeftX': -0x4b, + 'topLeftY': -0xbe, + 'topRightX': 0x4b, + 'topRightY': -0xb6, + 'bottomLeftX': -0x4b, + 'bottomLeftY': 0xaa, + 'bottomRightX': 0x4f, + 'bottomRightY': 0xc0 + }); + if (!_0xb43598['getEvent']('flp05_lens')) { + this['lense'] = this['add']['sprite'](_0x2aacf1 - 0x28, _0x25d46a + 0x3a, 'flp05_lens')['setName']('lense'); + } + this['createShadowLayer'](); + this['safe_door'] = this['add']['sprite'](_0x2aacf1 - 0x2d, _0x25d46a + 0x28, 'flp05_box_closed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('safe_door'); + if (_0xb43598['getEvent']('flp05_complete')) { + this['openSafeDoor'](); + } else { + this['safe'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'flp05_safe_bg')['setInteractive'](); + this['arrow1'] = this['add']['sprite'](_0x2aacf1 - 0x6c, _0x25d46a - 0x5a, 'flp05_arrow')['setName']('arrow')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x1); + this['line1'] = this['add']['sprite'](_0x2aacf1 - 0x10, _0x25d46a - 0x5c, 'flp05_safe_line4')['setData']('state', 0x4)['setData']('direction', -0x1)['setOrigin'](0x0, 0.5); + this['arrow2'] = this['add']['sprite'](_0x2aacf1 - 0x6c, _0x25d46a - 0x26, 'flp05_arrow')['setName']('arrow')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x2); + this['line2'] = this['add']['sprite'](_0x2aacf1 - 0x10, _0x25d46a - 0x26, 'flp05_safe_line4')['setData']('state', 0x4)['setData']('direction', -0x1)['setOrigin'](0x0, 0.5); + this['arrow3'] = this['add']['sprite'](_0x2aacf1 - 0x6c, _0x25d46a + 0x12, 'flp05_arrow')['setName']('arrow')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x3); + this['line3'] = this['add']['sprite'](_0x2aacf1 - 0x10, _0x25d46a + 0xe, 'flp05_safe_line4')['setData']('state', 0x4)['setData']('direction', -0x1)['setOrigin'](0x0, 0.5); + this['arrow4'] = this['add']['sprite'](_0x2aacf1 - 0x6c, _0x25d46a + 0x46, 'flp05_arrow')['setName']('arrow')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x4); + this['line4'] = this['add']['sprite'](_0x2aacf1 - 0x10, _0x25d46a + 0x43, 'flp05_safe_line4')['setData']('state', 0x4)['setData']('direction', -0x1)['setOrigin'](0x0, 0.5); + var _0x8561ab = [this['safe'], this['arrow1'], this['line1'], this['arrow2'], this['line2'], this['arrow3'], this['line3'], this['arrow4'], this['line4']]; + this['safeContainer'] = this['add']['container'](_0x4a8abc, 0x0, _0x8561ab)['setData']('startX', _0x4a8abc)['setData']('deltaX', _0x4a8abc)['setVisible'](!![]); + } + var _0x5ea1c9 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x50db3c, _0x255513) { + if (!_0xb43598['getEvent']('flp05_complete') && _0x255513['name'] == 'safe_door') { + this['showShadowLayer'](this['safeContainer']); + _0x255513['disableInteractive'](); + } else if (_0x255513['name'] == 'door') { + _0x1967e9(); + _0x5619f8(this, 'el_open_el_door'); + this['portal']['play']('portal'); + this['tweens']['add']({ + 'targets': _0x255513, + 'x': '+=180', + 'y': '+=17', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0x5178ad(); + } + }); + } else if (_0x255513['name'] == 'portal') { + _0x36f2e8(this, 'tr0201b', 'transition_portal'); + } else if (_0x255513['name'] == 'lense') { + _0x5ea1c9['addItem'](_0x255513, 'inv_lense'); + _0xb43598['setEvent']('flp05_lens', !![]); + this['children']['remove'](_0x255513); + } else if (_0x255513['name'] == 'arrow') { + _0x5619f8(this, 'flp05_press_lock_flp05'); + switch (_0x255513['getData']('num')) { + case 0x1: + _0x1967e9(); + this['moveLine'](0x1); + this['moveLine'](0x3); + break; + case 0x2: + _0x1967e9(); + this['moveLine'](0x1); + this['moveLine'](0x2); + this['moveLine'](0x4); + break; + case 0x3: + _0x1967e9(); + this['moveLine'](0x3); + this['moveLine'](0x4); + break; + case 0x4: + _0x1967e9(); + this['moveLine'](0x2); + this['moveLine'](0x4); + break; + } + var _0x2df21a = !![]; + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 <= 0x4; _0x5a8aa6++) { + if (this['line' + _0x5a8aa6]['getData']('state') !== 0x0) { + _0x2df21a = ![]; + break; + } + } + if (_0x2df21a) { + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 <= 0x4; _0x5a8aa6++) { + this['arrow' + _0x5a8aa6]['disableInteractive'](); + } + _0xb43598['setEvent']('flp05_complete', !![]); + _0x5619f8(this, 'flp05_open_lock_flp05'); + this['openSafeDoor'](); + } + this['input']['stopPropagation'](); + } + }, this); + }, + 'moveLine': function(_0x1c1e92) { + var _0x19166f = this['line' + _0x1c1e92]; + if (typeof _0x19166f === 'undefined') { + return; + } + var _0x2593b2 = _0x19166f['getData']('state'); + var _0x3005e9 = _0x19166f['getData']('direction'); + _0x2593b2 += _0x3005e9; + if (_0x2593b2 == 0x0) { + _0x3005e9 = 0x1; + } else if (_0x2593b2 == 0x4) { + _0x3005e9 = -0x1; + } + var _0x1bbf24 = this['arrow' + _0x1c1e92]; + _0x1bbf24['setScale'](_0x3005e9, 0x1); + _0x19166f['setData']('state', _0x2593b2)['setData']('direction', _0x3005e9)['setTexture']('flp05_safe_line' + _0x2593b2); + this['tweens']['add']({ + 'targets': _0x1bbf24, + 'alpha': 0x1, + 'duration': _0xecb5a1 / 0x4, + 'onStart': function() { + _0x1bbf24['setVisible'](![]); + }, + 'onComplete': function() { + _0x1bbf24['setVisible'](!![]); + _0x5178ad(); + } + }); + }, + 'openSafeDoor': function() { + this['hideShadowLayer'](); + this['safe_door']['setTexture']('flp05_box_opened')['setPosition'](_0x2aacf1 - 0x8c, _0x25d46a + 0x32)['disableInteractive'](); + if (this['lense']) { + this['lense']['setInteractive']({ + 'cursor': 'pointer' + }); + } + }, + 'closeShadowLayer': function() { + this['safe_door']['setInteractive']({ + 'cursor': 'pointer' + }); + } + }); + var _0x346360; + var _0x127886 = { + 'createWall': function(_0x420a9f) { + _0x420a9f['tiles'] = []; + _0x420a9f['doorTiles'] = []; + var _0x5db8c2 = _0x420a9f['add']['sprite'](_0x2aacf1, _0x25d46a, 'htf01_tile')['setVisible'](![]); + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x7; _0x5a8aa6++) { + _0x420a9f['tiles']['push']([]); + for (var _0x26d7b9 = 0x7; _0x26d7b9 >= -0x3; _0x26d7b9--) { + if (_0x5a8aa6 + _0x26d7b9 < 0x0) { + continue; + } + var _0x4b21bf = _0x420a9f['add']['sprite'](_0x2aacf1 + 0x70 + _0x5db8c2['width'] * _0x5a8aa6 * 0.88, _0x5db8c2['height'] * _0x26d7b9 * 0.73 + 0xf * _0x5a8aa6, 'htf01_tile')['setName']('block_' + _0x5a8aa6 + '_' + _0x26d7b9)['setInteractive'](); + _0x420a9f['tiles'][_0x5a8aa6]['push'](_0x4b21bf); + if (_0x5a8aa6 >= 0x1 && _0x5a8aa6 <= 0x4 && _0x26d7b9 >= 0x2 && _0x26d7b9 <= 0x7) { + _0x420a9f['doorTiles']['push'](_0x4b21bf); + } + } + } + _0x420a9f['zonesToTop'](); + }, + 'extra_create': function(_0x333eb2) { + _0x127886['createWall'](_0x333eb2); + if (_0xb43598['getEvent']('htf01_hidden_door')) { + _0xc2f164(_0x333eb2['doorTiles']); + _0x333eb2['addTransition']('right_portal', 'htf02'); + _0x333eb2['addZone']({ + 'x': _0x2aacf1 + 0x82, + 'y': _0x25d46a - 0xc8, + 'width': 0xc8, + 'height': 0x15e, + 'name': 'right_portal' + }); + return; + } + var _0x283684 = _0x333eb2['add']['sprite'](_0x2aacf1 + 0xd2, _0x25d46a + 0x28, 'htf01_sign1')['setVisible'](![]); + var _0x1af99b = _0x333eb2['add']['sprite'](_0x2aacf1 + 0x9b, _0x25d46a - 0x19, 'htf01_sign4')['setVisible'](![]); + var _0x45ff7d = _0x333eb2['add']['sprite'](_0x2aacf1 + 0x104, _0x25d46a - 0x32, 'htf01_sign2')['setVisible'](![]); + var _0x48d33c = _0x333eb2['add']['sprite'](_0x2aacf1 + 0x136, _0x25d46a - 0x8c, 'htf01_sign3')['setVisible'](![]); + var _0x430c51 = _0x333eb2['add']['sprite'](_0x2aacf1 + 0x91, _0x25d46a + 0x81, 'htf01_lamp')['setVisible'](![]); + var _0x570308 = ['block_2_6', 'block_1_5', 'block_3_4', 'block_4_2']; + var _0x24b7b0 = []; + var _0x52a81f = _0x333eb2['scene']['get']('inventoryScene'); + _0x333eb2['input']['on']('gameobjectdown', function(_0x180826, _0x26bc10) { + if (_0x26bc10['name']['indexOf']('block_') !== 0x0) return; + if (_0xb43598['getEvent']('htf01_hidden_door')) return; + _0x1967e9(); + if (_0xb43598['isInventoryActive']('inv_uv')) { + _0x430c51['setVisible'](!![]); + _0x52a81f['resetActiveItem'](); + var _0x2b0efa = _0x430c51['x'], + _0x13dbbc = _0x430c51['y']; + _0x333eb2['tweens']['add']({ + 'targets': _0x430c51, + 'duration': _0xecb5a1 * 0x6, + 'x': _0x2b0efa + 0x96, + 'y': _0x13dbbc - 0x12c, + 'ease': 'Cubic.easeIn', + 'onComplete': function() { + _0x430c51['x'] = _0x2b0efa; + _0x430c51['y'] = _0x13dbbc; + _0x430c51['setVisible'](![]); + } + }); + _0x333eb2['tweens']['add']({ + 'targets': [_0x283684, _0x1af99b], + 'duration': _0xecb5a1 * 0x5, + 'alpha': 0x1, + 'onStart': function() { + _0x2e4825['setTimeout'](function() { + _0x283684['setVisible'](!![]); + _0x1af99b['setVisible'](!![]); + }, _0xecb5a1 * 0x2); + }, + 'onComplete': function() { + _0x283684['setVisible'](![]); + _0x1af99b['setVisible'](![]); + } + }); + _0x333eb2['tweens']['add']({ + 'targets': _0x45ff7d, + 'duration': _0xecb5a1 * 0x6, + 'alpha': 0x1, + 'onStart': function() { + _0x2e4825['setTimeout'](function() { + _0x45ff7d['setVisible'](!![]); + }, _0xecb5a1 * 0x3); + }, + 'onComplete': function() { + _0x45ff7d['setVisible'](![]); + } + }); + _0x333eb2['tweens']['add']({ + 'targets': _0x48d33c, + 'duration': _0xecb5a1 * 0x6, + 'alpha': 0x1, + 'onStart': function() { + _0x2e4825['setTimeout'](function() { + _0x48d33c['setVisible'](!![]); + }, _0xecb5a1 * 0x4); + }, + 'onComplete': function() { + _0x5178ad(); + _0x48d33c['setVisible'](![]); + } + }); + } else { + var _0x5e8963 = ![]; + _0x5619f8(_0x333eb2, 'htf01_press_tile_htf01'); + _0x333eb2['tweens']['add']({ + 'targets': _0x26bc10, + 'x': _0x26bc10['x'] + 0x4, + 'y': _0x26bc10['y'] - 0x4, + 'duration': _0xecb5a1 * 0.4, + 'yoyo': !![], + 'onStart': function() { + if (_0x570308['indexOf'](_0x26bc10['name']) !== -0x1) { + if (_0x24b7b0['indexOf'](_0x26bc10['name']) === -0x1) { + _0x24b7b0['push'](_0x26bc10['name']); + } else { + _0x24b7b0 = [_0x26bc10['name']]; + } + } else { + _0x24b7b0 = []; + } + if (_0x24b7b0['length'] == _0x570308['length']) { + _0x5e8963 = !![]; + _0x127886['openDoor'](_0x333eb2); + _0xb43598['setEvent']('htf01_hidden_door', !![]); + } + } ['bind'](_0x333eb2), + 'onComplete': function() { + if (!_0x5e8963) { + _0x5178ad(); + } + } + }); + } + }, _0x333eb2); + }, + 'openDoor': function(_0x40e30f) { + _0x1967e9(); + _0x5619f8(_0x40e30f, 'htf01_open_hidden_door_htf01'); + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x40e30f['doorTiles']['length']; _0x5a8aa6++) { + var _0x6615b = _0x40e30f['doorTiles'][_0x5a8aa6]; + var _0x3214d3 = _0x6615b['x'], + _0x31e9c = _0x6615b['y']; + var _0x3797e4 = _0x3214d3 + parseInt(Math['random']() * 0x2710) % 0x9 + 0x6, + _0x512ece = _0x31e9c - parseInt(Math['random']() * 0x2710) % 0x9 - 0x6; + _0x40e30f['tweens']['add']({ + 'targets': _0x6615b, + 'x': _0x3797e4, + 'y': _0x512ece, + 'duration': _0xecb5a1 + }); + _0x40e30f['tweens']['add']({ + 'targets': _0x6615b, + 'delay': _0xecb5a1 * 0x2, + 'x': '+=200', + 'y': '+=50', + 'duration': _0xecb5a1 * 0xa, + 'onComplete': function() { + _0x40e30f['addTransition']('right_portal', 'htf02'); + _0x40e30f['addZone']({ + 'x': _0x2aacf1 + 0x82, + 'y': _0x25d46a - 0xc8, + 'width': 0xc8, + 'height': 0x15e, + 'name': 'right_portal' + }); + _0x5178ad(); + } ['bind'](_0x40e30f) + }); + } + } + }; + var _0x8115aa = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'htf01', { + 'bottom': 'htf011', + 'top': 'htf010' + }, { + 'htf011': 'top', + 'htf011f': 'top', + 'htf010': 'bottom', + 'htf010f': 'bottom' + }, null, { + 'tr0301': 'portal' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 + 0xeb, _0x25d46a - 0x14, { + 'name': 'htf01_door' + }, { + 'scale': { + 'x': 0.82, + 'y': 0.87 + }, + 'y': _0x25d46a - 0x49 + }, 'tr0301'); + } + }); + var _0x48ea9e = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'htf010', + 'initialize': function() { + _0x1db0d7['call'](this, 'htf010', { + 'bottom': 'htf01', + 'top': 'htf010f' + }, { + 'htf010f': 'top', + 'htf01': 'top', + 'htf02': 'left' + }); + }, + 'extra_create': function() { + _0x127886['extra_create'](this); + } + }); + var _0x496d0a = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'htf010', + 'initialize': function() { + _0x1db0d7['call'](this, 'htf010f', { + 'bottom': 'htf01', + 'top': 'htf010' + }, { + 'htf010': 'top', + 'htf01': 'top', + 'htf02': 'left' + }); + }, + 'extra_create': function() { + _0x127886['extra_create'](this); + } + }); + var _0x4a0537 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'htf010', + 'initialize': function() { + _0x1db0d7['call'](this, 'htf011', { + 'top': 'htf01', + 'bottom': 'htf011f' + }, { + 'htf011f': 'bottom', + 'htf01': 'bottom', + 'htf02': 'left' + }); + }, + 'extra_create': function() { + _0x127886['extra_create'](this); + } + }); + var _0x274f34 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'htf010', + 'initialize': function() { + _0x1db0d7['call'](this, 'htf011f', { + 'top': 'htf01', + 'bottom': 'htf011' + }, { + 'htf011': 'bottom', + 'htf02': 'left' + }); + }, + 'extra_create': function() { + _0x127886['extra_create'](this); + } + }); + var _0xf2798b = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'htf02', { + 'right': 'htf03' + }, { + 'htf011': 'right', + 'htf010': 'right', + 'htf011f': 'right', + 'htf010f': 'right', + 'htf03': 'left' + }); + }, + 'extra_create': function() { + if (_0xb43598['getEvent']('htf03_lightOff')) { + this['add']['sprite'](_0x2aacf1 + 0xf2, _0x25d46a - 0x25, 'htf02_shadow'); + } + if (!_0xb43598['getEvent']('htf02_button')) { + this['add']['sprite'](_0x2aacf1 + 0x46, _0x25d46a + 0x8c, 'htf02_button')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button'); + } + if (_0x280656['lastScene'] !== 'htf03') { + _0xb43598['setEvent']('htf02_left_transition', _0x280656['lastScene']); + } + var _0x3292df = _0xb43598['getEvent']('htf02_left_transition'); + if (_0x3292df) { + this['addTransition']('left', _0x3292df); + } + this['createDevice'](_0x2aacf1 + 0x6e, _0x25d46a - 0x36); + var _0x1a286b = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0xc3c2ef, _0x52a96e) { + if (_0x52a96e['name'] == 'button') { + _0x1a286b['addItem'](_0x52a96e, 'inv_button'); + _0xb43598['setEvent']('htf02_button', !![]); + this['children']['remove'](_0x52a96e); + } + }, this); + } + }); + var _0x1f477f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'noAlpha': 0.001, + 'initialize': function() { + _0x1db0d7['call'](this, 'htf03', { + 'left': 'htf02' + }, { + 'htf02': 'right' + }); + }, + 'extra_create': function() { + this['lightOn'] = !!!_0xb43598['getEvent']('htf03_lightOff'); + this['boxOn'] = ![]; + this['lightSwitch'] = this['add']['sprite'](_0x2aacf1 + 0xcd, _0x25d46a - 0x82, 'htf03_switch_off')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('light_switch'); + var _0x5c0285 = this['add']['sprite'](_0x2aacf1 + 0x64, _0x25d46a, 'htf03_box_closed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('box'); + if (_0xb43598['getEvent']('htf03_win')) { + _0x5c0285['setTexture']('htf03_box_opened'); + } + this['createShadowLayer'](); + this['boxBottom'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'htf03_box_bottom')['setVisible'](![])['setInteractive']({ + 'cursor': 'default' + }); + this['boxOpened'] = this['add']['sprite'](_0x2aacf1 - 0x14, _0x25d46a - 0x7a, 'htf03_box_cover_opened')['setVisible'](![])['setInteractive']({ + 'cursor': 'default' + }); + this['boxClosed'] = this['add']['sprite'](_0x2aacf1 + 0x5, _0x25d46a - 0x48, 'htf03_box_cover_closed2')['setVisible'](![])['setInteractive']({ + 'cursor': 'default' + }); + this['boxSwitch'] = this['add']['sprite'](_0x2aacf1 - 0x72, _0x25d46a - 0x1c, 'htf03_box_switch_off')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('boxSwitch'); + this['indicators'] = {}; + this['indicatorsList'] = []; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x3; _0x5a8aa6++) { + for (var _0x1016f8 = 0x0; _0x1016f8 < 0x8; _0x1016f8++) { + if (_0x1016f8 == 0x7 && _0x5a8aa6 == 0x0) continue; + this['indicators'][_0x5a8aa6 + '_' + _0x1016f8] = this['add']['sprite'](_0x2aacf1 - 0x98 + _0x5a8aa6 * 0xf - _0x1016f8 * 0x7, _0x25d46a - 0x42 - _0x1016f8 * 0xd - _0x5a8aa6 * 2.8, 'htf03_box_indicator_black'); + this['indicatorsList']['push'](this['indicators'][_0x5a8aa6 + '_' + _0x1016f8]); + } + } + var _0x50ea56 = 0x1e * 0.65, + _0x45c50b = 0x37 * 0.65; + this['cells'] = {}; + this['cellsList'] = []; + this['cells'][0x1] = this['add']['sprite'](_0x2aacf1 - 0xf, _0x25d46a - 0x2b, 'htf03_box_sign_green5')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x5)['setData']('i', 0x1); + this['cells'][0x2] = this['add']['sprite'](_0x2aacf1 - 0xf + _0x50ea56 * 0x1, _0x25d46a - 0x2b - _0x45c50b * 0x1, 'htf03_box_sign_green5')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x5)['setData']('i', 0x2); + this['cells'][0x3] = this['add']['sprite'](_0x2aacf1 - 0xf + _0x50ea56 * 0x2, _0x25d46a - 0x2b - _0x45c50b * 0x2, 'htf03_box_sign_green2')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('i', 0x3)['setData']('empty', !![])['setAlpha'](this['noAlpha']); + this['cells'][0x4] = this['add']['sprite'](_0x2aacf1 - 0xf + _0x50ea56 * 0x3, _0x25d46a - 0x2b - _0x45c50b * 0x3, 'htf03_box_sign_green4')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x4)['setData']('i', 0x4); + this['cells'][0x5] = this['add']['sprite'](_0x2aacf1 - 0xf + _0x50ea56 * 0x4, _0x25d46a - 0x2b - _0x45c50b * 0x4, 'htf03_box_sign_green4')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x4)['setData']('i', 0x5); + this['cells'][0x6] = this['add']['sprite'](_0x2aacf1 - 0x5b, _0x25d46a - 0x9d, 'htf03_box_sign_green3')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x3)['setData']('i', 0x6); + this['cells'][0x7] = this['add']['sprite'](_0x2aacf1 - 0x5b + 0x39 * 0x1, _0x25d46a - 0x9d + 0x15 * 0x1, 'htf03_box_sign_green3')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x3)['setData']('i', 0x7); + this['cells'][0x8] = this['add']['sprite'](_0x2aacf1 - 0x5b + 0x39 * 0x3, _0x25d46a - 0x9d + 0x15 * 0x3, 'htf03_box_sign_green2')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x2)['setData']('i', 0x8); + this['cells'][0x9] = this['add']['sprite'](_0x2aacf1 - 0x5b + 0x39 * 0x4, _0x25d46a - 0x9d + 0x15 * 0x4, 'htf03_box_sign_green2')['setName']('boxItem')['setInteractive']({ + 'cursor': 'pointer' + })['setData']('num', 0x2)['setData']('i', 0x9); + for (var _0xd4143 in this['cells']) { + if (this['cells']['hasOwnProperty'](_0xd4143)) { + this['cellsList']['push'](this['cells'][_0xd4143]); + } + } + this['shadow'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'htf03_shadow')['setVisible'](!this['lightOn']); + var _0x563a6f = [this['boxBottom'], this['boxOpened'], this['boxClosed'], this['boxSwitch']]['concat'](this['indicatorsList']); + _0x563a6f = _0x563a6f['concat'](this['cellsList']); + if (!_0xb43598['getEvent']('htf03_key')) { + this['key'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'htf03_key04')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('key')['setVisible'](![]); + _0x563a6f['push'](this['key']); + } + this['boxContainer'] = this['add']['container'](_0x4a8abc, 0x0, _0x563a6f)['setData']('startX', _0x4a8abc)['setData']('deltaX', _0x4a8abc)['setVisible'](![]); + this['closeShadowLayer'](!![]); + this['setLightOn'](this['lightOn']); + this['activeItem'] = null; + this['step'] = 0x0; + var _0x579392 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x27b887, _0x493978) { + if (_0x493978['name'] == 'light_switch') { + _0x5619f8(this, 'htf03_switch_htf03'); + this['lightOn'] = !this['lightOn']; + this['setLightOn'](this['lightOn']); + } else if (_0x493978['name'] == 'box') { + this['showBox'](); + } else if (_0x493978['name'] == 'boxSwitch') { + this['boxOn'] = !this['boxOn']; + this['boxSwitch']['setTexture'](this['boxOn'] ? 'htf03_box_switch_on' : 'htf03_box_switch_off'); + if (this['lightOn']) { + return; + } + if (this['boxOn']) { + _0x5619f8(this, 'htf03_puzzle_activation'); + this['startGame'](); + } else { + _0x5619f8(this, 'htf03_puzzle_deactivation_htf03'); + this['stopGame'](); + } + } else if (_0x493978['name'] == 'boxItem') { + var _0x5a8aa6 = _0x493978['getData']('i'); + var _0xac4007 = _0x493978['getData']('num'); + var _0x5ec7bb = _0x493978['getData']('empty'); + if (this['activeItem'] == null) { + if (_0x5ec7bb) { + return; + } + _0x5619f8(this, 'htf03_choose_chip_htf03'); + _0x493978['setTexture']('htf03_box_sign_green' + _0xac4007 + '_'); + this['activeItem'] = _0x493978; + } else if (this['activeItem']['getData']('i') == _0x5a8aa6) { + _0x493978['setTexture']('htf03_box_sign_green' + _0xac4007); + this['activeItem'] = null; + } else if (!_0x5ec7bb || !this['isPossible'](this['activeItem']['getData']('i'), _0x5a8aa6)) { + var _0x4ec258 = 0x0; + _0x1967e9(); + _0x5619f8(this, 'htf03_error_chip_htf03'); + this['tweens']['add']({ + 'targets': [_0x493978, this['activeItem']], + 'alpha': 0x0, + 'yoyo': !![], + 'repeat': 0x2, + 'duration': _0xecb5a1, + 'onComplete': function() { + this['activeItem']['setTexture']('htf03_box_sign_green' + this['activeItem']['getData']('num')); + _0x493978['setTexture']('htf03_box_sign_green' + _0x493978['getData']('num')); + this['activeItem'] = null; + _0x5178ad(); + } ['bind'](this) + }); + _0x493978['setTexture']('htf03_box_sign_green' + _0xac4007 + '_'); + } else if (_0x5ec7bb && this['activeItem']) { + var _0x303109 = this['activeItem']['getData']('num'); + _0x5619f8(this, 'htf03_move_chip_htf03'); + _0x493978['setTexture']('htf03_box_sign_green' + _0x303109)['setAlpha'](0x1)['setData']('empty', ![])['setData']('num', _0x303109); + this['activeItem']['setAlpha'](this['noAlpha'])['setData']('empty', !![]); + this['activeItem'] = null; + this['setStep'](this['step']++); + } + } else if (_0x493978['name'] === 'key') { + _0x579392['addItem'](_0x493978, 'inv_key4'); + _0xb43598['setEvent']('htf03_key', !![]); + this['children']['remove'](_0x493978); + this['boxContainer']['remove'](_0x493978); + } + }, this); + }, + 'startGame': function() { + _0xa87a00(this['indicatorsList'], 'htf03_box_indicator_black'); + this['cells'][0x1]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green5')['setData']('num', 0x5)['setData']('i', 0x1); + this['cells'][0x2]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green5')['setData']('num', 0x5)['setData']('i', 0x2); + this['cells'][0x3]['setVisible'](!![])['setTexture']('htf03_box_sign_green2')['setData']('i', 0x3)['setData']('empty', !![])['setAlpha'](this['noAlpha']); + this['cells'][0x4]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green4')['setData']('num', 0x4)['setData']('i', 0x4); + this['cells'][0x5]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green4')['setData']('num', 0x4)['setData']('i', 0x5); + this['cells'][0x6]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green3')['setData']('num', 0x3)['setData']('i', 0x6); + this['cells'][0x7]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green3')['setData']('num', 0x3)['setData']('i', 0x7); + this['cells'][0x8]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green2')['setData']('num', 0x2)['setData']('i', 0x8); + this['cells'][0x9]['setVisible'](!![])['setData']('empty', ![])['setAlpha'](0x1)['setTexture']('htf03_box_sign_green2')['setData']('num', 0x2)['setData']('i', 0x9); + this['activeItem'] = null; + this['step'] = 0x0; + }, + 'stopGame': function() { + _0xa87a00(this['indicatorsList'], 'htf03_box_indicator_black'); + this['cells'][0x1]['setVisible'](![]); + this['cells'][0x2]['setVisible'](![]); + this['cells'][0x3]['setVisible'](![]); + this['cells'][0x4]['setVisible'](![]); + this['cells'][0x5]['setVisible'](![]); + this['cells'][0x6]['setVisible'](![]); + this['cells'][0x7]['setVisible'](![]); + this['cells'][0x8]['setVisible'](![]); + this['cells'][0x9]['setVisible'](![]); + }, + 'gameOver': function() { + _0x1967e9(); + this['tweens']['add']({ + 'targets': this['indicatorsList'], + 'duration': _0xecb5a1, + 'repeat': 0x7, + 'alpha': 0x1, + 'onStart': function(_0x5f035a, _0x8e4df1) { + _0x5cb98d(); + _0xa87a00(_0x8e4df1, 'htf03_box_indicator_green'); + }, + 'onRepeat': function(_0x5c6ab7, _0x4708af) { + _0x5cb98d(); + _0x4708af['setTexture'](_0x4708af['texture']['key'] == 'htf03_box_indicator_black' ? 'htf03_box_indicator_green' : 'htf03_box_indicator_black'); + } ['bind'](this), + 'onComplete': function() { + this['startGame'](); + _0x5178ad(); + } ['bind'](this) + }); + var _0x5cb98d = function() { + for (var _0xd4143 in this['cells']) { + if (this['cells']['hasOwnProperty'](_0xd4143)) { + var _0x33dbb9 = this['cells'][_0xd4143]; + var _0x2a8997 = _0x33dbb9['texture']['key']; + _0x33dbb9['setTexture'](_0x2a8997[_0x2a8997['length'] - 0x1] == '_' ? _0x2a8997['slice'](0x0, -0x1) : _0x2a8997 + '_'); + } + } + } ['bind'](this); + }, + 'showBox': function() { + if (this['lightOn']) { + this['stopGame'](); + } + this['showShadowLayer'](this['boxContainer']); + this['boxBottom']['setVisible'](!![]); + if (_0xb43598['getEvent']('htf03_win')) { + this['openBox'](); + } else { + _0x4d6d15(this['indicatorsList']); + this['boxClosed']['setVisible'](!![]); + this['boxSwitch']['setVisible'](!![]); + if (!this['lightOn'] && this['boxSwitch']['texture']['key'] === 'htf03_box_switch_on') { + this['startGame'](); + } + } + }, + 'closeShadowLayer': function(_0x33509c) { + if (_0x33509c) { + this['stopGame'](); + _0xc2f164(this['indicatorsList']); + this['boxOn'] = ![]; + this['boxOpened']['setVisible'](![]); + this['boxClosed']['setVisible'](![]); + this['boxBottom']['setVisible'](![]); + this['boxSwitch']['setVisible'](![])['setTexture']('htf03_box_switch_off'); + if (!_0xb43598['getEvent']('htf03_key')) { + this['key']['setVisible'](![]); + } + } else { + _0xc2f164(this['indicatorsList']); + this['boxOpened']['setVisible'](![]); + this['boxClosed']['setVisible'](![]); + this['boxBottom']['setVisible'](![]); + this['boxSwitch']['setVisible'](![]); + if (!_0xb43598['getEvent']('htf03_key')) { + this['key']['setVisible'](![]); + } + } + }, + 'isPossible': function(_0x4299ee, _0x187175) { + if (_0x187175 == 0x3 || _0x4299ee == 0x3) return !![]; + if ((_0x4299ee == 0x7 || _0x4299ee == 0x8) && (_0x187175 == 0x2 || _0x187175 == 0x4)) return !![]; + if ((_0x187175 == 0x7 || _0x187175 == 0x8) && (_0x4299ee == 0x2 || _0x4299ee == 0x4)) return !![]; + return Math['abs'](_0x187175 - _0x4299ee) <= (_0x4299ee > 0x5 ? 0x1 : 0x2); + }, + 'setStep': function(_0x47e1fd) { + var _0x5a8aa6 = _0x47e1fd % 0x3, + _0xd5227a = parseInt(_0x47e1fd / 0x3); + if (_0xd5227a == 0x7) _0x5a8aa6++; + this['indicators'][_0x5a8aa6 + '_' + _0xd5227a]['setTexture']('htf03_box_indicator_green'); + if (this['isWin']()) { + _0xb43598['setEvent']('htf03_win', !![]); + _0x5619f8(this, 'htf03_solve'); + this['openBox'](); + return; + } else if (_0xd5227a == 0x7 && _0x5a8aa6 == 0x2) { + _0x5619f8(this, 'htf03_no_moves_htf03'); + this['gameOver'](); + } + }, + 'setLightOn': function(_0x501890) { + _0xb43598['setEvent']('htf03_lightOff', !_0x501890); + this['lightSwitch']['setTexture'](_0x501890 ? 'htf03_switch_off' : 'htf03_switch_on'); + this['shadow']['setVisible'](!_0x501890); + }, + 'isWin': function() { + var _0x12401f = { + 1: '2', + 2: '2', + 3: null, + 4: '5', + 5: '5', + 6: '4', + 7: '4', + 8: '3', + 9: '3' + }; + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 <= 0x9; _0x5a8aa6++) { + var _0x225456 = this['cells'][_0x5a8aa6]['texture']['key']; + if (_0x12401f[_0x5a8aa6] === null && this['cells'][_0x5a8aa6]['getData']('empty')) { + continue; + } + if (_0x225456[_0x225456['length'] - 0x1] != _0x12401f[_0x5a8aa6]) { + return ![]; + } + } + return !![]; + }, + 'openBox': function() { + this['stopGame'](); + _0xc2f164(this['indicatorsList']); + this['boxOpened']['setVisible'](!![]); + this['boxClosed']['setVisible'](![]); + this['boxSwitch']['setVisible'](![]); + if (!_0xb43598['getEvent']('htf03_key')) { + this['key']['setVisible'](!![]); + } + } + }); + var _0x1db563 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'dep02', { + 'right': 'tr0001' + }, { + 'tr0001': 'left', + 'dep04': 'top' + }); + }, + 'extra_create': function() { + if (!_0xb43598['getEvent']('dep02_uv')) { + this['add']['sprite'](_0x2aacf1 + 0x28, _0x25d46a - 0x14, 'dep02_uv')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('uv')['setScale'](0.7); + } + this['cylinderNumber'] = _0xb43598['getEvent']('dep02_cylinder_number') || 0x0; + this['hatch1'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0x82, 'dep02_hatch1'); + this['hatch2'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0x50, 'dep02_hatch2')['setName']('hatch')['setInteractive']({ + 'cursor': 'pointer' + }); + this['hatchShadow'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a + 0x78, 'dep02_hatchshadow'); + this['cylinder0'] = this['add']['sprite'](_0x2aacf1 - 0x19, _0x25d46a + 0x1e, 'dep02_cylinder')['setVisible'](![]); + this['cylinder1'] = this['add']['sprite'](_0x2aacf1 + 0x5, _0x25d46a + 0x1e, 'dep02_cylinder')['setVisible'](![]); + this['hatchMask'] = this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0x50, 'dep02_mask'); + if (_0xb43598['getEvent']('dep02_open')) { + this['openHatch'](!![]); + } + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < this['cylinderNumber']; _0x5a8aa6++) { + this['cylinder' + _0x5a8aa6]['setVisible'](!![]); + this['cylinder' + _0x5a8aa6]['y'] += 0x2b; + } + var _0x1e0795 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x2c9e25, _0x207cdc) { + if (!_0xb43598['getEvent']('dep02_uv') && _0x207cdc['name'] == 'uv') { + _0x1e0795['addItem'](_0x207cdc, 'inv_uv'); + _0xb43598['setEvent']('dep02_uv', !![]); + this['children']['remove'](_0x207cdc); + } else if (_0x207cdc['name'] === 'hatch' && !_0xb43598['getEvent']('dep02_open')) { + if (_0xb43598['isInventoryActive']('inv_cylinder') && this['cylinderNumber'] < 0x2) { + _0x5619f8(this, 'dep02_insert_cylinder_dep02'); + this['pushCylinder'](); + } + } + }, this); + }, + 'pushCylinder': function(_0x4cef4e) { + var _0x154931 = this['scene']['get']('inventoryScene'); + _0x1967e9(); + _0x154931['removeItem']('inv_cylinder'); + var _0x1bd31d = this['cylinder' + this['cylinderNumber']]; + _0x1bd31d['setVisible'](!![]); + this['tweens']['add']({ + 'targets': _0x1bd31d, + 'y': '+=43', + 'duration': _0xecb5a1 * 0x6, + 'onComplete': function() { + this['cylinderNumber']++; + _0xb43598['setEvent']('dep02_cylinder_number', this['cylinderNumber']); + if (this['cylinderNumber'] == 0x2) { + _0x5619f8(this, 'dep02_open_hatch_dep02'); + this['openHatch'](); + } else { + _0x5178ad(); + } + } ['bind'](this) + }); + }, + 'openHatch': function(_0x3bc0bd) { + this['addTransition']('bottom', 'dep04', !![]); + this['addZone']({ + 'x': _0x2aacf1 - 0x96, + 'y': _0x25d46a + 0x5a, + 'width': 0xfa, + 'height': 0x78, + 'name': 'bottom' + }); + if (_0x3bc0bd) { + this['hatch1']['x'] += 0x8c; + this['hatch1']['y'] += 0x46; + this['hatch2']['x'] += 0x8c; + this['hatch2']['y'] += 0x46; + this['hatchShadow']['x'] += 0x8c; + this['hatchShadow']['y'] += 0x46; + this['hatchMask']['x'] += 0x8c; + this['hatchMask']['y'] += 0x46; + this['cylinder0']['x'] += 0x8c; + this['cylinder0']['y'] += 0x46; + this['cylinder1']['x'] += 0x8c; + this['cylinder1']['y'] += 0x46; + return; + } + this['tweens']['add']({ + 'targets': [this['hatch1'], this['hatch2'], this['hatchShadow'], this['hatchMask'], this['cylinder0'], this['cylinder1']], + 'x': '+=140', + 'y': '+=70', + 'ease': 'Cubic.easeIn', + 'duration': _0xecb5a1 * 0xa, + 'onComplete': function() { + this['hatch2']['disableInteractive'](); + _0xb43598['setEvent']('dep02_open', !![]); + _0x5178ad(); + } ['bind'](this) + }); + } + }); + var _0x459675 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'dep04', { + 'top': 'dep02', + 'bottom': 'dep06' + }, { + 'dep02': 'bottom', + 'dep06': 'top' + }); + } + }); + var _0x31fee6 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'dep06', { + 'top': 'dep04' + }, { + 'dep04': 'bottom' + }); + }, + 'extra_create': function() { + this['button'] = this['add']['sprite'](_0x2aacf1 + 0x37, _0x25d46a + 0x90, 'dep06_btnoff')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button'); + this['add']['sprite'](_0x2aacf1 - 0x50, _0x25d46a + 0x96, 'dep06_iconoff'); + this['skullfill'] = this['add']['sprite'](_0x2aacf1 - 0x8, _0x25d46a + 0x96, 'dep06_skullfill')['setVisible'](![]); + this['skull'] = this['add']['sprite'](_0x2aacf1 - 0x8, _0x25d46a + 0x96, 'dep06_skull')['setAlpha'](0.001)['setName']('skull')['setInteractive'](); + this['add']['sprite'](_0x2aacf1 - 0x6, _0x25d46a + 0x78, 'dep06_pipka'); + this['add']['sprite'](_0x2aacf1 - 0x6, _0x25d46a + 0x73, 'dep06_mask'); + if (_0xb43598['getEvent']('dep06_skull_in_slot')) { + this['skull']['setAlpha'](0x1); + } + if (_0xb43598['getEvent']('dep06_skull_fill_get')) { + this['skull']['setVisible'](![]); + this['skullfill']['setVisible'](![]); + this['button']['disableInteractive'](); + } + var _0x542ab3 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x1e9400, _0x49798) { + if (_0x49798['name'] === 'button') { + if (!_0xb43598['getEvent']('dep06_skull_in_slot') || _0xb43598['getEvent']('dep06_skull_fill')) return; + _0x1967e9(); + this['fillSkull'](); + } else if (_0x49798['name'] === 'skull') { + if (_0xb43598['isInventoryActive']('inv_skull')) { + this['skull']['setAlpha'](0x1)['disableInteractive'](); + _0x542ab3['removeItem']('inv_skull'); + _0xb43598['setEvent']('dep06_skull_in_slot', !![]); + } + } + }, this); + }, + 'fillSkull': function() { + _0x1967e9(); + _0x5619f8(this, 'dep06_fill_skull'); + _0x39f1a0(this, this['skullfill'], { + 'topLeftX': -0x64, + 'topLeftY': this['skullfill']['height'] / 0x2, + 'topRightX': 0x64, + 'topRightY': this['skullfill']['height'] / 0x2, + 'bottomLeftX': -0x64, + 'bottomLeftY': this['skullfill']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['skullfill']['height'] / 0x2 + }); + var _0x1a9d74 = this['scene']['get']('inventoryScene'); + this['skullfill']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['skullfill'], + 'duration': _0xecb5a1 * 0x2, + 'alpha': 0x1, + 'onUpdate': function(_0x6993ad, _0x3313e3) { + _0x39f1a0(this, this['skullfill'], { + 'topLeftX': -0x64, + 'topLeftY': this['skullfill']['height'] / 0x2 - _0x6993ad['progress'] * this['skullfill']['height'], + 'topRightX': 0x64, + 'topRightY': this['skullfill']['height'] / 0x2 - _0x6993ad['progress'] * this['skullfill']['height'], + 'bottomLeftX': -0x64, + 'bottomLeftY': this['skullfill']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['skullfill']['height'] / 0x2 + }); + } ['bind'](this), + 'onComplete': function() { + _0xb43598['setEvent']('dep06_skull_fill', !![]); + _0x1a9d74['addItem'](this['skull'], 'inv_skull_filled'); + this['skull']['setVisible'](![]); + this['skullfill']['setVisible'](![]); + this['button']['disableInteractive'](); + _0xb43598['setEvent']('dep06_skull_fill_get', !![]); + _0x5178ad(); + } ['bind'](this) + }); + } + }); + var _0x945e32 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp_l', { + 'left': 'sp_l2', + 'right': 'sp01' + }, { + 'sp01': 'left', + 'sp_l2': 'left' + }); + } + }); + var _0x1d92cb = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'sp_l', + 'initialize': function() { + _0x1db0d7['call'](this, 'sp_l2', { + 'left': 'sp_l', + 'right': 'sp01' + }, { + 'sp_l': 'left' + }); + } + }); + var _0x693eb1 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp01', { + 'left': 'sp_l', + 'right': 'sp02' + }, { + 'sp_l': 'right', + 'sp_l2': 'right', + 'sp02': 'left', + 'sp04': 'top', + 'el': 'right' + }, null, { + 'el': 'portal' + }); + }, + 'extra_create': function() { + this['createAnimation']('sp01_hatch'); + this['hatchOpen'] = ![]; + var _0x28e582 = this['add']['sprite'](_0x2aacf1 + 0x96, _0x25d46a + 0x82, 'sp01_hatch_covered'); + _0x28e582['on']('animationcomplete', function(_0x24e2d1, _0x1af076) { + _0xb43598['setEvent']('sp01_hatch_open', !![]); + this['openHatch'](); + _0x5619f8(this, 'sp01_open_hatch_sp01'); + _0x5178ad(); + }, this); + if (_0xb43598['getEvent']('sp01_hatch_ready')) { + _0x28e582['setTexture']('sp01_hatch_0'); + } + if (_0xb43598['getEvent']('sp01_hatch_open')) { + _0x28e582['setTexture']('sp01_hatch_8'); + this['openHatch'](); + } + if (_0xb43598['getEvent']('sp04_elevator_state') === 'floor1') { + this['elevator'] = this['add']['sprite'](0x0, -_0x3eaf37, 'sp01_el')['setOrigin'](0x0, 0.5); + if (_0xb43598['getEvent']('sp04_elevator_door_opened')) { + this['elevator']['setPosition'](-0x92, _0x25d46a + 0x32)['setTexture']('sp01_el_7'); + this['addTransition']('left_door', 'el'); + this['addZone']({ + 'x': _0x2aacf1 - 0x73, + 'y': _0x25d46a - 0x4b, + 'width': 0x64, + 'height': 0xdc, + 'name': 'portal' + }); + } else { + _0x1967e9(); + this['createAnimation']('sp01_elevator'); + _0x5619f8(this, 'el_arrives'); + this['elevator']['on']('animationcomplete', function() { + _0xb43598['setEvent']('sp04_elevator_door_opened', !![]); + this['addTransition']('left_door', 'el'); + this['addZone']({ + 'x': _0x2aacf1 - 0x73, + 'y': _0x25d46a - 0x4b, + 'width': 0x64, + 'height': 0xdc, + 'name': 'portal' + }); + _0x5178ad(); + }, this); + this['tweens']['add']({ + 'targets': this['elevator'], + 'y': _0x25d46a + 0x32, + 'duration': _0xecb5a1 * 0x4, + 'ease': 'Quart.easeIn', + 'onComplete': function() { + this['elevator']['setPosition'](-0x92, _0x25d46a + 0x32)['setTexture']('sp01_el_0'); + this['elevator']['play']('sp01_elevator'); + } ['bind'](this) + }); + } + } + var _0x58a19 = _0xb43598['getEvent']('sp01_hatch_ready') || _0xb43598['getEvent']('sp01_hatch_open') ? 'pointer' : 'default'; + this['addZone']({ + 'x': _0x2aacf1 + 0x3c, + 'y': _0x25d46a + 0xc8, + 'width': 0xc8, + 'height': 0x46, + 'name': 'bottomZone', + 'cursor': _0x58a19 + }); + var _0x3f363a = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x3490f2, _0x20dbfe) { + if (!_0xb43598['getEvent']('sp01_hatch_ready')) { + if (_0x20dbfe['name'] === 'bottomZone' && _0xb43598['isInventoryActive']('inv_shovel')) { + _0xb43598['setEvent']('sp01_hatch_ready', !![]); + _0x3f363a['removeItem']('inv_shovel', 'sp01_unhide_hatch'); + _0x28e582['setTexture']('sp01_hatch_0'); + } + } else { + if (_0x20dbfe['name'] === 'bottomZone') { + if (!this['hatchOpen']) { + _0x1967e9(); + _0x28e582['play']('sp01_hatch'); + } else { + _0x3d4394(this, 'bottom', this['transitions']); + } + } + } + }, this); + }, + 'openHatch': function() { + this['addTransition']('bottom', 'sp04', !![]); + this['hatchOpen'] = !![]; + } + }); + var _0x2035fb = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp02', { + 'left': 'sp01', + 'right': 'sp03' + }, { + 'sp01': 'right', + 'sp03': 'left' + }); + }, + 'extra_create': function() { + this['laserRay'] = this['add']['sprite'](_0x2aacf1 - 0x5, _0x25d46a, 'sp02_laser_ray')['setVisible'](![]); + this['laserRay2'] = this['add']['sprite'](_0x2aacf1 - 0x5, _0x25d46a + this['laserRay']['height'], 'sp02_laser_ray')['setVisible'](![]); + var _0x4e60ca = !!_0xb43598['getEvent']('sp02_laser_ready'); + var _0x4492ec = this['add']['sprite'](_0x2aacf1, _0x25d46a + 0x23, 'sp02_laser1'); + var _0x1c8f79 = this['add']['sprite'](_0x2aacf1, _0x25d46a + 0x96, 'sp02_laser2')['setInteractive']()['setName']('laser_body'); + this['laser3'] = this['add']['sprite'](_0x2aacf1, _0x25d46a - 0x46, 'sp02_laser3'); + this['laser4'] = this['add']['sprite'](_0x2aacf1 - 0x17, _0x25d46a - 0xc, 'sp02_laser4'); + this['laser5'] = this['add']['sprite'](_0x2aacf1 + 0x17, _0x25d46a - 0xc, 'sp02_laser5'); + this['laser6'] = this['add']['sprite'](_0x2aacf1, _0x25d46a + 0x37, 'sp02_laser6'); + var _0x222b9f = this['add']['sprite'](_0x2aacf1 - 0xc, _0x25d46a + 0xaf, 'sp02_laser7')['setVisible'](_0x4e60ca); + var _0x2738d4 = [_0x4492ec, _0x1c8f79, this['laser3'], this['laser4'], this['laser5'], this['laser6'], _0x222b9f]; + var _0x3b0622 = this['add']['container'](0x0, _0x25d46a, _0x2738d4); + var _0x56195e = this['add']['sprite'](_0x2aacf1, _0x3eaf37 + 0x28, 'sp02_mask')['setOrigin'](0.5, 0x1); + var _0x1997d8 = this['add']['sprite'](_0x2aacf1, _0x3eaf37, 'sp02_sand')['setOrigin'](0.5, 0x1); + if (_0xb43598['getEvent']('sp04_laser_on')) { + if (!_0xb43598['getEvent']('sp02_laser_up')) { + _0x1967e9(); + _0x5619f8(this, 'sp02_unhide_laser'); + this['tweens']['add']({ + 'targets': _0x3b0622, + 'y': 0x14, + 'duration': _0xecb5a1 * 0x3, + 'onComplete': function() { + _0x5178ad(); + _0xb43598['setEvent']('sp02_laser_up', !![]); + } ['bind'](this) + }); + } else { + _0x3b0622['y'] = 0x14; + } + } else { + _0x3b0622['setVisible'](![]); + _0x56195e['setVisible'](![]); + _0x1997d8['setVisible'](![]); + } + if (_0xb43598['getEvent']('sp04_laser_shot') && !_0xb43598['getEvent']('sp02_laser_shot_complete_animation')) { + this['runLaserShot'](); + } + if (_0xb43598['getEvent']('sp02_laser_shot_complete_animation')) { + this['laser3']['y'] -= 0x1e; + this['laser4']['x'] -= 0xf; + this['laser4']['y'] -= 0x1e; + this['laser5']['x'] += 0xf; + this['laser5']['y'] -= 0x1e; + this['laser6']['y'] -= 0x1e; + this['playLaserRay'](); + } + var _0xb83b54 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x176f8e, _0x34b617) { + if (!_0x4e60ca) { + if (_0x34b617['name'] === 'laser_body' && _0xb43598['isInventoryActive']('inv_fuse')) { + _0x222b9f['setVisible'](!![]); + _0xb43598['setEvent']('sp02_laser_ready', !![]); + _0xb83b54['removeItem']('inv_fuse'); + } + } + }, this); + }, + 'playLaserRay': function() { + _0x5619f8(this, 'sp02_laser_rays', !![]); + this['laserRay']['y'] = _0x25d46a; + this['laserRay']['setVisible'](!![]); + this['laserRay2']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': [this['laserRay'], this['laserRay2']], + 'y': '-=' + _0x3eaf37, + 'repeat': -0x1, + 'duration': _0xecb5a1 + }); + }, + 'runLaserShot': function() { + _0x1967e9(); + _0x5619f8(this, 'sp02_open_laser'); + this['tweens']['add']({ + 'targets': [this['laser3'], this['laser4'], this['laser5'], this['laser6']], + 'y': '-=30', + 'delay': _0xecb5a1, + 'duration': _0xecb5a1, + 'completeDelay': _0xecb5a1 * 0.8, + 'onComplete': function() { + this['tweens']['add']({ + 'targets': this['laser4'], + 'x': '-=15', + 'duration': _0xecb5a1 + }); + this['tweens']['add']({ + 'targets': this['laser5'], + 'x': '+=15', + 'duration': _0xecb5a1, + 'onComplete': function() { + this['laserRay']['y'] = _0x3eaf37; + this['laserRay']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['laserRay'], + 'y': '-=' + _0x25d46a, + 'duration': _0xecb5a1 / 0x2, + 'onComplete': function() { + this['playLaserRay'](); + _0xb43598['setEvent']('sp02_laser_shot_complete_animation', !![]); + _0x5178ad(); + } ['bind'](this) + }); + } ['bind'](this) + }); + } ['bind'](this) + }); + }, + 'before_transition': function() { + _0x11c867('sp02_laser_rays'); + } + }); + var _0x5ab5f6 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp03', { + 'left': 'sp02', + 'right': 'sp_r' + }, { + 'sp02': 'right', + 'sp_r': 'left', + 'sp_r': 'left', + 'sp_r2': 'left' + }, null, { + 'tr0201b': 'portal' + }); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + this['portal'] = this['add']['sprite'](_0x2aacf1 + 0x1e, _0x25d46a, 'portal_1')['setName']('portal')['setInteractive']({ + 'cursor': 'pointer' + })['setScale'](0x1, 0.83); + this['door'] = this['add']['sprite'](_0x2aacf1 + 0x15, _0x25d46a + 0x3, 'sp03_door')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + this['add']['sprite'](_0x2aacf1, _0x25d46a, 'sp03_platband'); + this['createMask'](this['portal']); + this['createMask'](this['door']); + this['input']['on']('gameobjectdown', function(_0x4e21a2, _0xecd37e) { + if (_0xecd37e['name'] === 'door') { + this['openDoor'](); + } else if (_0xecd37e['name'] === 'portal') { + _0x36f2e8(this, 'tr0201b', 'transition_portal'); + } + }, this); + }, + 'createMask': function(_0x50d63f) { + var _0x4bf4f8 = { + 'topLeftX': -0x50, + 'topLeftY': -0xaf, + 'topRightX': 0x5c, + 'topRightY': -0xaf, + 'bottomLeftX': -0x78, + 'bottomLeftY': 0xa0, + 'bottomRightX': 0x46, + 'bottomRightY': 0xaf + }; + var _0x277fad = this['make']['mesh']({ + 'key': 'phaser2', + 'x': _0x50d63f['x'], + 'y': _0x50d63f['y'], + 'vertices': [_0x4bf4f8['topLeftX'], _0x4bf4f8['topLeftY'], _0x4bf4f8['bottomLeftX'], _0x4bf4f8['bottomLeftY'], _0x4bf4f8['bottomRightX'], _0x4bf4f8['bottomRightY'], _0x4bf4f8['topLeftX'], _0x4bf4f8['topLeftY'], _0x4bf4f8['bottomRightX'], _0x4bf4f8['bottomRightY'], _0x4bf4f8['topRightX'], _0x4bf4f8['topRightY']], + 'uv': [0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0], + 'add': ![] + }); + _0x50d63f['mask'] = new Phaser['Display']['Masks']['GeometryMask'](this, _0x277fad); + }, + 'openDoor': function() { + _0x1967e9(); + _0x5619f8(this, 'el_open_el_door'); + this['portal']['play']('portal'); + this['tweens']['add']({ + 'targets': this['door'], + 'x': '+=150', + 'y': '+=16', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0x5178ad(); + } + }); + } + }); + var _0x32f3e5 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp04', { + 'top': 'sp01' + }, { + 'sp01': 'bottom' + }); + }, + 'extra_create': function() { + this['createAnimation']('sp04_lever'); + this['elevatorState'] = _0xb43598['getEvent']('sp04_elevator_state') || 'floor3'; + this['elevatorScreen'] = this['add']['sprite'](_0x2aacf1 - 0x116, _0x25d46a - 0xd3, 'sp04_elevator_screen'); + this['elevatorIndicator'] = this['add']['sprite'](_0x2aacf1 - 0x13c, _0x25d46a - 0xf7, 'sp04_elevator_indicator'); + if (this['elevatorState'] === 'floor1') { + this['elevatorIndicator']['y'] += 0x35; + } + this['laserOnFlag'] = !!_0xb43598['getEvent']('sp04_laser_on'); + this['rayScreen'] = this['add']['sprite'](_0x2aacf1 - 0x3e, _0x25d46a + 0x10, 'sp04_ray_screen'); + this['laserInd'] = this['add']['sprite'](_0x2aacf1 + 0xa, _0x25d46a + 0x50, 'sp04_laser_ind'); + this['ind2'] = this['add']['sprite'](_0x2aacf1 + 0x26, _0x25d46a - 0x16, 'sp04_ind2_off'); + var _0x557e7a = this['add']['sprite'](_0x2aacf1 + 0x46, _0x25d46a - 0xf, 'sp04_btn')['setName']('laser_btn')['setInteractive']({ + 'cursor': 'pointer' + }); + this['createLaserMask'](); + if (this['laserOnFlag']) { + _0x557e7a['disableInteractive'](); + this['laserOn'](!![]); + } + this['lever'] = this['add']['sprite'](_0x2aacf1 + 0x19, _0x25d46a - 0xa5, 'sp04_lever_0')['setScale'](0.25)['setName']('lever')['setInteractive']({ + 'cursor': 'pointer' + }); + this['elButton'] = this['add']['sprite'](_0x2aacf1 - 0x131, _0x25d46a + 0x2a, 'sp04_ind')['setName']('ind')['setInteractive']({ + 'cursor': 'pointer' + }); + if (!_0xb43598['getEvent']('sp04_cylinder')) { + this['add']['sprite'](_0x2aacf1 + 0x46, _0x25d46a + 0x82, 'sp04_cylinder')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('cylinder'); + } + if (!_0xb43598['getEvent']('sp04_fuse')) { + this['add']['sprite'](_0x2aacf1 + 0x46, _0x25d46a + 0xbe, 'sp04_fuse')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('fuse'); + } + this['laserScreen'] = this['add']['sprite'](_0x2aacf1 - 0x8d, _0x25d46a - 0xad, 'sp04_laser_screen')['setVisible'](this['laserOnFlag']); + this['laser1'] = this['add']['sprite'](_0x2aacf1 - 0x8d, _0x25d46a - 0x53, 'sp04_laser_detail_1')['setVisible'](this['laserOnFlag']); + this['laser4'] = this['add']['sprite'](_0x2aacf1 - 0x8d, _0x25d46a - 0xb1, 'sp04_laser_detail_4')['setVisible'](this['laserOnFlag']); + this['laser2'] = this['add']['sprite'](_0x2aacf1 - 0x80, _0x25d46a - 0xd7, 'sp04_laser_detail_2')['setVisible'](this['laserOnFlag']); + this['laser3'] = this['add']['sprite'](_0x2aacf1 - 0x9a, _0x25d46a - 0xd7, 'sp04_laser_detail_3')['setVisible'](this['laserOnFlag']); + var _0x53462e = this['add']['sprite'](_0x2aacf1 - 0x95, _0x25d46a - 0x7b, 'sp04_fuse_indicator')['setVisible'](![]); + var _0x38831f = this['add']['sprite'](_0x2aacf1 - 0xb, _0x25d46a - 0x87, 'sp04_ind3_off'); + if (_0xb43598['getEvent']('sp02_laser_ready')) { + _0x38831f['setTexture']('sp04_ind3_on'); + } + if (_0xb43598['getEvent']('sp04_laser_shot')) { + setTimeout(function() { + this['runLaserScreenAnimation'](); + } ['bind'](this), 0x64); + this['lever']['setTexture']('sp04_lever_12')['disableInteractive'](); + } + if (!_0xb43598['getEvent']('sp04_enter')) { + this['runFirstEnterAnimation'](); + } + var _0x183555 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x3faad5, _0x43490b) { + if (_0x43490b['name'] === 'cylinder' || _0x43490b['name'] == 'fuse') { + _0x183555['addItem'](_0x43490b, 'inv_' + _0x43490b['name']); + _0xb43598['setEvent']('sp04_' + _0x43490b['name'], !![]); + this['children']['remove'](_0x43490b); + } else if (_0x43490b['name'] === 'lever') { + if (!_0xb43598['getEvent']('sp04_laser_on')) { + return; + } + if (!_0xb43598['getEvent']('sp02_laser_ready')) { + var _0x5a8aa6 = 0x0; + _0x5619f8(this, 'sp04_lever_error_sp04'); + this['tweens']['add']({ + 'targets': _0x53462e, + 'alpha': 0x1, + 'duration': _0xecb5a1, + 'repeat': 0x6, + 'onRepeat': function() { + _0x53462e['setVisible'](++_0x5a8aa6 % 0x2 == 0x1 ? !![] : ![]); + } + }); + return; + } else { + _0x5619f8(this, 'sp04_lever_on_sp04'); + this['lever']['play']('sp04_lever'); + _0x1967e9(); + this['lever']['on']('animationcomplete', function() { + _0xb43598['setEvent']('sp04_laser_shot', !![]); + _0xb43598['setEvent']('sp02_laser_shot_complete', !![]); + _0x5178ad(); + this['runLaserScreenAnimation'](); + }, this); + } + } else if (_0x43490b['name'] === 'laser_btn') { + this['laserOn'](); + } else if (_0x43490b['name'] === 'ind') { + this['elevatorDown'](); + } + }, this); + }, + 'runFirstEnterAnimation': function() { + this['elevatorIndicator']['setVisible'](![]); + this['elevatorScreen']['setVisible'](![]); + this['rayScreen']['setVisible'](![]); + this['elButton']['setVisible'](![]); + _0x1967e9(); + _0x5619f8(this, 'sp04_screens_on_sp04'); + this['tweens']['add']({ + 'targets': [this['elevatorScreen'], this['rayScreen'], this['elButton']], + 'duration': _0xecb5a1 * 1.5, + 'repeat': 0x7, + 'alpha': 0x1, + 'onRepeat': function(_0x58a992, _0x31e11f) { + _0x31e11f['setVisible'](!_0x31e11f['visible']); + } ['bind'](this), + 'onComplete': function() { + _0xb43598['setEvent']('sp04_enter', !![]); + this['elevatorIndicator']['setVisible'](!![]); + _0x5178ad(); + } ['bind'](this) + }); + }, + 'createLaserMask': function() { + var _0x5badac = { + 'topLeftX': -0x14, + 'topLeftY': -0x1e, + 'topRightX': 0x1e, + 'topRightY': -0x1e, + 'bottomLeftX': -0x16, + 'bottomLeftY': 0x19, + 'bottomRightX': 0x14, + 'bottomRightY': 0x16 + }; + var _0x4b6ce1 = this['make']['mesh']({ + 'key': 'phaser2', + 'x': _0x2aacf1 - 0x12, + 'y': _0x25d46a + 0x1e, + 'vertices': [_0x5badac['topLeftX'], _0x5badac['topLeftY'], _0x5badac['bottomLeftX'], _0x5badac['bottomLeftY'], _0x5badac['bottomRightX'], _0x5badac['bottomRightY'], _0x5badac['topLeftX'], _0x5badac['topLeftY'], _0x5badac['bottomRightX'], _0x5badac['bottomRightY'], _0x5badac['topRightX'], _0x5badac['topRightY']], + 'uv': [0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0], + 'add': ![] + }); + this['laserInd']['mask'] = new Phaser['Display']['Masks']['GeometryMask'](this, _0x4b6ce1); + }, + 'elevatorDown': function() { + if (this['elevatorState'] === 'floor1') { + return; + } + _0x1967e9(); + _0x5619f8(this, 'sp04_call_el_sp04'); + this['input']['setDefaultCursor']('default'); + this['tweens']['add']({ + 'targets': this['elevatorIndicator'], + 'y': '+=53', + 'duration': _0xecb5a1 * 0xe, + 'onComplete': function() { + this['elevatorState'] = 'floor1'; + _0xb43598['setEvent']('sp04_elevator_state', this['elevatorState']); + _0x5178ad(); + } ['bind'](this) + }); + }, + 'laserOn': function(_0x180317) { + this['ind2']['setTexture']('sp04_ind2_on'); + if (this['laserOnFlag'] && !_0x180317) { + return; + } + _0x5619f8(this, 'sp04_btn_laser_sp04'); + this['laserInd']['setPosition'](_0x2aacf1 + 0xa, _0x25d46a + 0x50); + this['tweens']['add']({ + 'targets': this['laserInd'], + 'x': '-=28', + 'y': '-=50', + 'repeat': -0x1, + 'hold': _0xecb5a1 * 0x2, + 'ease': 'Quart.easeIn', + 'delay': _0xecb5a1 * 0.5, + 'duration': _0xecb5a1 * 0x3, + 'onStart': function() { + this['laserInd']['setPosition'](_0x2aacf1 + 0xa, _0x25d46a + 0x50); + } ['bind'](this), + 'onRepeat': function() { + if (this['laserOnFlag']) return; + this['laserOnFlag'] = !![]; + _0xb43598['setEvent']('sp04_laser_on', !![]); + this['laserScreen']['setVisible'](!![]); + this['laser4']['setVisible'](!![]); + this['laser1']['setVisible'](!![]); + this['laser2']['setVisible'](!![]); + this['laser3']['setVisible'](!![]); + } ['bind'](this) + }); + }, + 'runLaserScreenAnimation': function() { + this['laser4']['setPosition'](_0x2aacf1 - 0x8d, _0x25d46a - 0xb1); + this['laser2']['setPosition'](_0x2aacf1 - 0x80, _0x25d46a - 0xd7); + this['laser3']['setPosition'](_0x2aacf1 - 0x9a, _0x25d46a - 0xd7); + this['tweens']['add']({ + 'targets': this['laser2'], + 'duration': _0xecb5a1 * 0x2, + 'x': '+=8', + 'delay': _0xecb5a1 + }); + this['tweens']['add']({ + 'targets': this['laser3'], + 'duration': _0xecb5a1 * 0x2, + 'x': '-=8', + 'delay': _0xecb5a1, + 'completeDelay': _0xecb5a1 * 0x3, + 'onComplete': function() { + this['runLaserScreenAnimation'](); + } ['bind'](this) + }); + } + }); + var _0x2752f8 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'sp_r', { + 'right': 'sp_r2', + 'left': 'sp03' + }, { + 'sp03': 'right', + 'sp_r2': 'right' + }); + } + }); + var _0x295c75 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'sp_r', + 'initialize': function() { + _0x1db0d7['call'](this, 'sp_r2', { + 'right': 'sp_r', + 'left': 'sp03' + }, { + 'sp_r': 'right' + }); + } + }); + var _0x14017e = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'os01', { + 'right': 'os02' + }, { + 'os02': 'left', + 'el': 'right' + }); + }, + 'before_bg_create': function() { + var _0x4cd2cd = !!_0xb43598['getEvent']('os01_sign'); + this['add']['sprite'](_0x2aacf1 - 0x105, _0x25d46a - 0x3c, 'os01_secret_bg'); + var _0x400986 = this['add']['sprite'](_0x2aacf1 - 0xfb, _0x25d46a - 0x68, 'os01_secret')['setAlpha'](_0x4cd2cd ? 0x1 : 0.001)['setName']('sign'); + if (!_0x4cd2cd) { + _0x400986['setInteractive']({ + 'cursor': 'pointer' + }); + } + }, + 'extra_create': function() { + this['createAnimation']('os01_door'); + this['removeTransition']('left'); + this['door'] = this['add']['sprite'](_0x2aacf1 - 0xf8, _0x25d46a - 0xeb, 'os01_door_0'); + _0x39f1a0(this, this['door'], { + 'topLeftX': -0x64, + 'topLeftY': 0x2, + 'topRightX': 0x64, + 'topRightY': 0x6, + 'bottomLeftX': -0x64, + 'bottomLeftY': 0x190, + 'bottomRightX': 0x64, + 'bottomRightY': 0x190 + }); + var _0x2ee5d0 = !!_0xb43598['getEvent']('os01_button'); + this['button'] = this['add']['sprite'](_0x2aacf1 - 0x77, _0x25d46a - 0x25, 'os01_btn')['setVisible'](_0x2ee5d0)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button'); + this['wires'] = this['add']['sprite'](_0x2aacf1 - 0x78, _0x25d46a - 0x13, 'os01_wires')['setVisible'](!_0x2ee5d0)['setInteractive']()['setName']('wires'); + this['createDevice'](_0x2aacf1 - 0x32, _0x25d46a - 0x54); + var _0x26b77b = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x931f91, _0x503e5a) { + if (_0x503e5a['name'] === 'wires' && _0xb43598['isInventoryActive']('inv_button')) { + this['button']['setVisible'](!![]); + this['wires']['setVisible'](![]); + _0xb43598['setEvent']('os01_button', !![]); + _0x26b77b['removeItem']('inv_button'); + } else if (_0x503e5a['name'] === 'sign') { + _0x5619f8(this, 'secret'); + _0xb43598['setEvent']('os01_sign', !![]); + _0x503e5a['setAlpha'](0x1)['disableInteractive'](); + } else if (_0x503e5a['name'] === 'button') { + this['openDoor'](); + } + }, this); + }, + 'openDoor': function() { + _0x5619f8(this, 'el_open_el_door'); + this['door']['play']('os01_door'); + this['addTransition']('left', 'el'); + } + }); + var _0x18a365 = {}; + var _0x4e1e39 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'os02', { + 'left': 'os01', + 'right': 'os03', + 'bottom': 'os04' + }, { + 'os04': 'top', + 'os03': 'left', + 'os01': 'right' + }); + }, + 'extra_create': function() { + this['createAnimation']('os02_door'); + if (!_0xb43598['getEvent']('os02_key')) { + this['add']['sprite'](_0x2aacf1 - 0xbc, _0x25d46a + 0x55, 'os02_key')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('key'); + } + if (!_0xb43598['getEvent']('os02_skull')) { + this['skull'] = this['add']['sprite'](_0x2aacf1 - 0x6a, _0x25d46a - 0x1c, 'os02_skull')['setName']('skull'); + } + this['charges'] = [0x1, 0x7, 0x3]; + this['runButton'] = this['add']['sprite'](_0x2aacf1 + 0xaa, _0x25d46a - 0x8f, 'os02_btn_start_off')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button'); + this['rotate1'] = this['add']['sprite'](_0x2aacf1 + 0x113, _0x25d46a - 0x91, 'os02_btn_r_unpressed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('rotator')['setData']('rotation', 0x1); + this['rotate2'] = this['add']['sprite'](_0x2aacf1 + 0xee, _0x25d46a - 0x90, 'os02_btn_l_unpressed')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('rotator')['setData']('rotation', -0x1); + this['light'] = this['add']['sprite'](_0x2aacf1 + 0x45, _0x25d46a - 0x59, 'os02_light')['setVisible'](![]); + this['door'] = this['add']['sprite'](_0x2aacf1 - 0x69, _0x25d46a - 0x30, 'os02_closed_door')['setName']('door'); + this['door']['on']('animationcomplete', function() { + this['door']['disableInteractive'](); + if (this['skull']) { + this['skull']['setInteractive']({ + 'cursor': 'pointer' + }); + } + _0xb43598['setEvent']('os02_door_opened', !![]); + _0x5178ad(); + }, this); + this['system'] = this['add']['sprite'](0x0, 0x0, 'os02_system')['setData']('charge', _0xb43598['getEvent']('os02_system_charge') || 0x0); + this['ind1'] = this['add']['sprite'](0x1, 0x3b, 'os02_ind_1_off')['setData']('charge', 0x1); + this['ind3'] = this['add']['sprite'](-0x33, -0x1d, 'os02_ind_3_off')['setData']('charge', 0x3)['setAngle'](-0x3c); + this['ind7'] = this['add']['sprite'](0x34, -0x1d, 'os02_ind_7_off')['setData']('charge', 0x7)['setAngle'](0x3c); + this['systemContainer'] = this['add']['container'](_0x2aacf1 + 0xcc, _0x25d46a + 0x5, [this['system'], this['ind1'], this['ind3'], this['ind7']]); + this['loadSystem'](); + var _0x50d290 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x4347b3, _0x5af8c7) { + if (_0x5af8c7['name'] === 'key') { + _0x50d290['addItem'](_0x5af8c7, 'inv_key6'); + _0xb43598['setEvent']('os02_key', !![]); + this['children']['remove'](_0x5af8c7); + } else if (_0x5af8c7['name'] === 'button') { + _0x5619f8(this, 'os02_btn_os02'); + this['runSystem'](); + } else if (_0x5af8c7['name'] === 'rotator') { + _0x5619f8(this, 'os02_rotate_os02'); + this['rotateSystem'](_0x5af8c7); + } else if (_0x5af8c7['name'] === 'door') { + _0x1967e9(); + this['door']['play']('os02_door'); + } else if (_0x5af8c7['name'] === 'skull') { + _0x50d290['addItem'](_0x5af8c7, 'inv_skull'); + _0xb43598['setEvent']('os02_skull', !![]); + this['children']['remove'](_0x5af8c7); + } + }, this); + }, + 'rotateSystem': function(_0x3a04b9) { + _0x1967e9(); + var _0x5602f7 = _0x3a04b9['texture']['key']; + _0x3a04b9['setTexture'](_0x5602f7['replace']('_unpressed', '')); + var _0x4d6f4d = _0x3a04b9['getData']('rotation'); + var _0xdf8e7a = this['system']['getData']('charge') + _0x4d6f4d; + if (_0xdf8e7a < 0x0) { + _0xdf8e7a = this['charges']['length'] - 0x1; + } else if (_0xdf8e7a >= this['charges']['length']) { + _0xdf8e7a = 0x0; + } + this['tweens']['add']({ + 'targets': this['systemContainer'], + 'angle': '+=' + 0x78 * _0x4d6f4d, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Cubic.easeOut', + 'onComplete': function() { + this['system']['setData']('charge', _0xdf8e7a); + _0x3a04b9['setTexture'](_0x5602f7); + _0x5178ad(); + _0xb43598['setEvent']('os02_system_charge', _0xdf8e7a); + } ['bind'](this) + }); + }, + 'loadSystem': function() { + var _0x42e4a2 = _0xb43598['getEvent']('os02_system_charge') || 0x0; + this['systemContainer']['setAngle'](_0x42e4a2 * 0x78); + var _0x1f9974 = _0xb43598['getEvent']('os04_last_charge') || -0x1; + if (_0x1f9974 >= 0x0) { + _0xb43598['setEvent']('os02_charge' + this['charges'][_0x42e4a2] + '_complete', _0x1f9974 == this['charges'][_0x42e4a2]); + } + this['ind1']['setTexture'](_0xb43598['getEvent']('os02_charge1_complete') ? 'os02_ind_1_on' : 'os02_ind_1_off'); + this['ind3']['setTexture'](_0xb43598['getEvent']('os02_charge3_complete') ? 'os02_ind_3_on' : 'os02_ind_3_off'); + this['ind7']['setTexture'](_0xb43598['getEvent']('os02_charge7_complete') ? 'os02_ind_7_on' : 'os02_ind_7_off'); + _0xb43598['setEvent']('os04_last_charge', -0x1); + if (_0xb43598['getEvent']('os02_system_activated')) { + this['activateSystem'](); + } + }, + 'runSystem': function() { + if (!(_0xb43598['getEvent']('os02_charge1_complete') && _0xb43598['getEvent']('os02_charge3_complete') && _0xb43598['getEvent']('os02_charge7_complete'))) { + _0xb43598['setEvent']('os02_charge1_complete', ![]); + _0xb43598['setEvent']('os02_charge3_complete', ![]); + _0xb43598['setEvent']('os02_charge7_complete', ![]); + this['loadSystem'](); + _0x5619f8(this, 'os02_error_os02'); + return; + } + _0x5619f8(this, 'os02_solve_os02'); + this['activateSystem'](); + }, + 'activateSystem': function() { + this['runButton']['setTexture']('os02_btn_start_on')['disableInteractive'](); + this['rotate1']['disableInteractive'](); + this['rotate2']['disableInteractive'](); + this['light']['setVisible'](!![]); + this['door']['setTexture']('os02_door_0')['setInteractive']({ + 'cursor': 'pointer' + }); + this['door']['y'] += 0x9; + _0xb43598['setEvent']('os02_system_activated', !![]); + if (_0xb43598['getEvent']('os02_door_opened')) { + this['door']['setTexture']('os02_door_13')['disableInteractive'](); + if (!_0xb43598['getEvent']('os02_skull') && this['skull']) { + this['skull']['setInteractive']({ + 'cursor': 'pointer' + }); + } + } + } + }); + var _0x1a9bae = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'os03', { + 'left': 'os02' + }, { + 'os02': 'right' + }, null, { + 'tr0201b': 'portal' + }); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + var _0x4c0bde = this['add']['sprite'](_0x2aacf1 + 0xe1, _0x25d46a - 0xa, 'portal_1')['setScale'](0x1, 0.8)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('portal'); + var _0x3adaab = this['add']['sprite'](_0x2aacf1 + 0xe1, _0x25d46a - 0xa, 'os03_door')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + if (_0xb43598['getEvent']('os03_door_open')) { + _0x3adaab['setVisible'](![]); + _0x4c0bde['play']('portal'); + } + this['add']['sprite'](_0x2aacf1 + 0xdc, _0x25d46a - 0x14, 'os03_platband'); + this['createDoorMask'](_0x3adaab); + this['input']['on']('gameobjectdown', function(_0x2064cf, _0x4200c5) { + if (_0x4200c5['name'] === 'portal') { + _0x36f2e8(this, 'tr0201b', 'transition_portal'); + } else if (_0x4200c5['name'] === 'door') { + _0x1967e9(); + _0x4c0bde['play']('portal'); + _0x5619f8(this, 'el_open_el_door'); + this['tweens']['add']({ + 'targets': _0x3adaab, + 'x': '+=300', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0xb43598['setEvent']('os03_door_open', !![]); + _0x5178ad(); + } + }); + } + }, this); + }, + 'createDoorMask': function(_0x59f5cb) { + var _0x5f0243 = { + 'topLeftX': -0x55, + 'topLeftY': -0xd2, + 'topRightX': 0x55, + 'topRightY': -0xd2, + 'bottomLeftX': -0x55, + 'bottomLeftY': 0xc8, + 'bottomRightX': 0x55, + 'bottomRightY': 0xc8 + }; + var _0x54b5db = this['make']['mesh']({ + 'key': 'phaser2', + 'x': _0x59f5cb['x'], + 'y': _0x59f5cb['y'], + 'vertices': [_0x5f0243['topLeftX'], _0x5f0243['topLeftY'], _0x5f0243['bottomLeftX'], _0x5f0243['bottomLeftY'], _0x5f0243['bottomRightX'], _0x5f0243['bottomRightY'], _0x5f0243['topLeftX'], _0x5f0243['topLeftY'], _0x5f0243['bottomRightX'], _0x5f0243['bottomRightY'], _0x5f0243['topRightX'], _0x5f0243['topRightY']], + 'uv': [0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0], + 'add': ![] + }); + _0x59f5cb['mask'] = new Phaser['Display']['Masks']['GeometryMask'](this, _0x54b5db); + } + }); + var _0x1c7894 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'os04', { + 'top': 'os02' + }, { + 'os02': 'bottom' + }); + }, + 'extra_create': function() { + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0x20, _0x25d46a - 0xa0, 'os04_lever_0')['setName']('lever'); + this['button_left'] = this['add']['sprite'](_0x2aacf1 - 0x12f, _0x25d46a - 0x5e, 'os04_btn_off')['setName']('button')['setData']('type', 'left')['setData']('enabled', ![]); + this['button_right'] = this['add']['sprite'](_0x2aacf1 + 0x6c, _0x25d46a - 0x5e, 'os04_btn_off')['setName']('button')['setData']('type', 'right')['setData']('enabled', ![]); + this['button_bottom'] = this['add']['sprite'](_0x2aacf1 - 0x57, _0x25d46a + 0x6c, 'os04_btn_off')['setName']('button')['setData']('type', 'bottom')['setData']('enabled', ![]); + this['switch_left'] = this['add']['sprite'](_0x2aacf1 - 0xd8, _0x25d46a - 0x95, 'os04_switch_switch')['setData']('baseC', _0x25d46a - 0x95)['setName']('switch')['setData']('type', 'left'); + this['add']['sprite'](_0x2aacf1 - 0xd8, _0x25d46a - 0x95, 'os04_switch'); + this['switch_right'] = this['add']['sprite'](_0x2aacf1 + 0x8d, _0x25d46a - 0x8c, 'os04_switch_switch')['setData']('baseC', _0x25d46a - 0x8c)['setName']('switch')['setData']('type', 'right'); + this['add']['sprite'](_0x2aacf1 + 0x8d, _0x25d46a - 0x8c, 'os04_switch'); + this['switch_bottom'] = this['add']['sprite'](_0x2aacf1 - 0x2a, _0x25d46a - 0x18, 'os04_switch_switch')['setData']('baseC', _0x2aacf1 - 0x2a)['setName']('switch')['setData']('type', 'bottom')['setAngle'](-0x5c); + this['add']['sprite'](_0x2aacf1 - 0x2a, _0x25d46a - 0x18, 'os04_switch')['setAngle'](-0x5c); + this['add']['sprite'](_0x2aacf1 - 0x67, _0x25d46a - 0x7e, 'os04_indicator_off'); + if (!_0xb43598['getEvent']('flp02_laser_shot_complete')) { + return; + } + this['lever']['setInteractive']({ + 'cursor': 'pointer' + }); + this['button_left']['setInteractive']({ + 'cursor': 'pointer' + }); + this['button_right']['setInteractive']({ + 'cursor': 'pointer' + }); + this['button_bottom']['setInteractive']({ + 'cursor': 'pointer' + }); + this['switch_left']['setInteractive']({ + 'cursor': 'pointer' + }); + this['switch_right']['setInteractive']({ + 'cursor': 'pointer' + }); + this['switch_bottom']['setInteractive']({ + 'cursor': 'pointer' + }); + this['createAnimation']('os04_laser'); + this['createAnimation']('os04_lever'); + _0xb43598['setEvent']('os04_last_charge', -0x1); + this['mixerTop'] = this['add']['sprite'](_0x2aacf1 - 0x64, _0x25d46a - 0xd3, 'os04_mixer_top')['setData']('baseY', _0x25d46a - 0xd3)['setVisible'](![]); + _0x39f1a0(this, this['mixerTop'], { + 'topLeftX': -0x64, + 'topLeftY': -this['mixerTop']['height'] / 0x2, + 'topRightX': 0x64, + 'topRightY': -this['mixerTop']['height'] / 0x2, + 'bottomLeftX': -0x64, + 'bottomLeftY': this['mixerTop']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['mixerTop']['height'] / 0x2 + }); + this['add']['sprite'](_0x2aacf1 - 0x61, _0x25d46a + 0x6d, 'os04_laser_activated'); + this['indicator'] = this['add']['sprite'](_0x2aacf1 - 0x50, _0x25d46a - 0xa7, 'os04_indicator_plus')['setData']('value', 0x0)['setData']('full_y', _0x25d46a - 0xa7); + _0x39f1a0(this, this['indicator'], { + 'topLeftX': -0x64, + 'topLeftY': -this['indicator']['height'] / 0x2, + 'topRightX': 0x64, + 'topRightY': -this['indicator']['height'] / 0x2, + 'bottomLeftX': -0x64, + 'bottomLeftY': this['indicator']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['indicator']['height'] / 0x2 + }); + this['updateIndicator'](0x0, !![]); + this['add']['sprite'](_0x2aacf1 - 0x1e, _0x25d46a + 0xd2, 'os04_laser_0')['play']('os04_laser'); + this['power_left'] = this['add']['sprite'](_0x2aacf1 - 0x110, _0x25d46a - 0x93, 'os04_power_left_plus'); + this['power_right'] = this['add']['sprite'](_0x2aacf1 + 0x5a, _0x25d46a - 0x93, 'os04_power_right_plus'); + this['power_bottom'] = this['add']['sprite'](_0x2aacf1 - 0x19, _0x25d46a + 0x10, 'os04_power_bottom_plus'); + this['setSwitch'](this['switch_left'], _0xb43598['getEvent']('os04_switch_left')); + this['setSwitch'](this['switch_right'], _0xb43598['getEvent']('os04_switch_right')); + this['setSwitch'](this['switch_bottom'], _0xb43598['getEvent']('os04_switch_bottom')); + this['mixer_left'] = this['add']['sprite'](_0x2aacf1 - 0xb4, _0x25d46a - 0x54, 'os04_mixer_left')['setData']('value', 0x1)['setVisible'](![]); + _0x39f1a0(this, this['mixer_left'], { + 'topLeftX': -this['mixer_left']['width'] / 0x2, + 'topLeftY': -0x64, + 'topRightX': this['mixer_left']['width'] / 0x2, + 'topRightY': -0x64, + 'bottomLeftX': -this['mixer_left']['width'] / 0x2, + 'bottomLeftY': 0x64, + 'bottomRightX': this['mixer_left']['width'] / 0x2, + 'bottomRightY': 0x64 + }); + this['mixer_right'] = this['add']['sprite'](_0x2aacf1 - 0x14, _0x25d46a - 0x56, 'os04_mixer_right')['setData']('value', 0x1)['setVisible'](![]); + _0x39f1a0(this, this['mixer_right'], { + 'topLeftX': -this['mixer_right']['width'] / 0x2, + 'topLeftY': -0x64, + 'topRightX': this['mixer_right']['width'] / 0x2, + 'topRightY': -0x64, + 'bottomLeftX': -this['mixer_right']['width'] / 0x2, + 'bottomLeftY': 0x64, + 'bottomRightX': this['mixer_right']['width'] / 0x2, + 'bottomRightY': 0x64 + }); + this['mixer_bottom'] = this['add']['sprite'](_0x2aacf1 - 0x66, _0x25d46a - 0x1d, 'os04_mixer_bottom')['setData']('value', 0x1)['setVisible'](![]); + _0x39f1a0(this, this['mixer_bottom'], { + 'topLeftX': -0x64, + 'topLeftY': -this['mixer_bottom']['height'] / 0x2, + 'topRightX': 0x64, + 'topRightY': -this['mixer_bottom']['height'] / 0x2, + 'bottomLeftX': -0x64, + 'bottomLeftY': this['mixer_bottom']['height'] / 0x2, + 'bottomRightX': 0x64, + 'bottomRightY': this['mixer_bottom']['height'] / 0x2 + }); + if (_0xb43598['getEvent']('os02_system_activated')) { + this['disablePuzzle'](); + } + var _0x3f87b8 = null; + _0x5619f8(this, 'sp02_laser_rays', !![]); + this['input']['on']('gameobjectdown', function(_0x5f0862, _0x46720e) { + if (_0x46720e['name'] === 'lever') { + var _0x4b468b = this['indicator']['getData']('value'); + if (!_0x4b468b) return; + _0x5619f8(this, 'os04_lever_os04'); + this['pushCharge'](); + this['lever']['play']('os04_lever'); + } else if (_0x46720e['name'] === 'switch') { + _0x5619f8(this, 'os04_polarity_os04'); + this['toggleSwitch'](_0x46720e); + } else if (_0x46720e['name'] === 'button') { + _0x5619f8(this, 'os04_btn_os04'); + _0x3f87b8 = _0x46720e; + this['pressButton'](_0x46720e); + } + }, this); + }, + 'disablePuzzle': function() { + this['button_left']['disableInteractive'](); + this['button_right']['disableInteractive'](); + this['button_bottom']['disableInteractive'](); + this['switch_left']['disableInteractive'](); + this['switch_right']['disableInteractive'](); + this['switch_bottom']['disableInteractive'](); + this['lever']['disableInteractive'](); + }, + 'pushCharge': function() { + var _0x2fce5a = this['indicator']['getData']('value'); + if (!_0x2fce5a) return; + _0x1967e9(); + this['updateIndicator'](0x0, !![]); + this['button_left']['setTexture']('os04_btn_off')['setData']('enabled', ![]); + this['button_right']['setTexture']('os04_btn_off')['setData']('enabled', ![]); + this['button_bottom']['setTexture']('os04_btn_off')['setData']('enabled', ![]); + this['mixer_left']['setPosition'](_0x2aacf1 - 0xb4, _0x25d46a - 0x54)['setVisible'](![]); + this['mixer_right']['setPosition'](_0x2aacf1 - 0x14, _0x25d46a - 0x56)['setVisible'](![]); + this['mixer_bottom']['setPosition'](_0x2aacf1 - 0x66, _0x25d46a - 0x1d)['setVisible'](![]); + this['mixerTop']['y'] = this['mixerTop']['getData']('baseY') + this['mixerTop']['height']; + this['mixerTop']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['mixerTop'], + 'y': '-=' + this['mixerTop']['height'] * 0x3, + 'duration': _0xecb5a1 * 0x2, + 'ease': 'Quart.easeIn', + 'onComplete': function() { + this['mixerTop']['setVisible'](![]); + _0xb43598['setEvent']('os04_last_charge', _0x2fce5a); + _0x5178ad(); + } ['bind'](this) + }); + }, + 'updateIndicator': function(_0x573173, _0x3663eb) { + var _0x5b03ef = this['indicator']['getData']('value'); + if (_0x3663eb) { + _0x5b03ef = _0x573173; + } else { + _0x5b03ef += _0x573173; + } + if (_0x5b03ef > 0x7) _0x5b03ef = 0x7; + var _0x5f2196 = this['indicator']['getData']('full_y'); + this['indicator']['setTexture'](_0x5b03ef >= 0x0 ? 'os04_indicator_plus' : 'os04_indicator_minus'); + this['indicator']['y'] = _0x5f2196 + (0x1 - Math['abs'](_0x5b03ef) / 0x9) * this['indicator']['height']; + this['indicator']['setData']('value', _0x5b03ef); + }, + 'toggleSwitch': function(_0x564687) { + var _0x5dadad = !_0x564687['getData']('state'); + this['setSwitch'](_0x564687, _0x5dadad); + _0xb43598['setEvent']('os04_switch_' + _0x564687['getData']('type'), _0x5dadad); + }, + 'setSwitch': function(_0x2e9beb, _0x4024d3) { + if (typeof _0x4024d3 === 'undefined') _0x4024d3 = !![]; + var _0x538b8f = !_0x4024d3 ? 0x5 : -0x5; + if (_0x2e9beb['getData']('type') != 'bottom') { + _0x2e9beb['y'] = _0x2e9beb['getData']('baseC') + _0x538b8f; + } else { + _0x2e9beb['x'] = _0x2e9beb['getData']('baseC') + _0x538b8f; + } + var _0x4a4eb4 = _0x2e9beb['getData']('type'); + this['power_' + _0x4a4eb4]['setTexture']('os04_power_' + _0x4a4eb4 + '_' + (_0x4024d3 ? 'plus' : 'minus')); + _0x2e9beb['setData']('state', _0x4024d3); + }, + 'pressButton': function(_0x442d6b) { + if (_0x442d6b['getData']('enabled')) return; + _0x1967e9(); + _0x442d6b['setTexture']('os04_btn_on'); + _0x442d6b['setData']('enabled', !![]); + var _0x4bec22 = _0x442d6b['getData']('type'); + var _0x5423e0 = this['switch_' + _0x4bec22]; + var _0x1a9617 = this['mixer_' + _0x4bec22]; + _0x1a9617['setTexture']('os04_mixer_' + _0x4bec22 + (_0x5423e0['getData']('state') ? '' : '_minus'))['setVisible'](!![]); + var _0x22740a = '+=0', + _0x1c1d07 = '+=0', + _0x8ac4cc = 0x0; + switch (_0x4bec22) { + case 'left': + _0x1a9617['x'] -= _0x1a9617['width']; + _0x22740a = '+=' + _0x1a9617['width']; + _0x8ac4cc = 0x3; + break; + case 'right': + _0x1a9617['x'] += _0x1a9617['width']; + _0x22740a = '-=' + _0x1a9617['width']; + _0x8ac4cc = 0x4; + break; + case 'bottom': + _0x1a9617['y'] += _0x1a9617['height']; + _0x1c1d07 = '-=' + _0x1a9617['height']; + _0x8ac4cc = 0x2; + break; + } + this['tweens']['add']({ + 'targets': _0x1a9617, + 'x': _0x22740a, + 'y': _0x1c1d07, + 'duration': _0xecb5a1 / 0x2, + 'onComplete': function() { + this['updateIndicator'](_0x8ac4cc * (_0x5423e0['getData']('state') ? 0x1 : -0x1)); + _0x5178ad(); + } ['bind'](this) + }); + }, + 'before_transition': function() { + _0x11c867('sp02_laser_rays'); + } + }); + var _0x5b83b7 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'floor': null, + 'bgHeight': 0x248, + 'initialize': function() { + _0x1db0d7['call'](this, 'el', {}, { + 'flp01': 'left', + 'os01': 'left' + }, null, { + 'sp01': 'portal' + }); + }, + 'before_bg_create': function() { + this['createAnimation']('el_door'); + this['createAnimation']('el_door_close'); + this['doorOpen'] = !![]; + var _0x5d38ee = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'el_bg1'); + var _0x147494 = this['add']['sprite'](_0x2aacf1, _0x25d46a - this['bgHeight'] + 0xa, 'el_bg2'); + var _0x28d271 = this['add']['sprite'](_0x2aacf1, _0x25d46a - this['bgHeight'] * 0x2 + 0xf, 'el_bg3'); + var _0x128ef2 = this['add']['sprite'](_0x2aacf1, _0x25d46a - this['bgHeight'] * 0x3 + 0x14, 'el_bg4'); + this['bgContainer'] = this['add']['container'](0x0, 0x0, [_0x5d38ee, _0x147494, _0x28d271, _0x128ef2]); + if (_0x280656['lastScene'] === 'sp01') { + this['bgContainer']['y'] = 0x0; + this['floor'] = 0x1; + } else if (_0x280656['lastScene'] === 'flp01') { + this['bgContainer']['y'] = this['bgHeight'] * 1.5; + this['floor'] = 0x2; + } else if (_0x280656['lastScene'] === 'os01') { + this['bgContainer']['y'] = this['bgHeight'] * 0x2 * 1.5; + this['floor'] = 0x3; + } + }, + 'extra_create': function() { + this['floor1Button'] = this['add']['sprite'](_0x2aacf1 + 0xe1, _0x25d46a - 0x4a, 'elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('floor1')['setData']('floor', 0x1); + this['floor2Button'] = this['add']['sprite'](_0x2aacf1 + 0xe1, _0x25d46a - 0x66, 'elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('floor2')['setData']('floor', 0x2); + this['buttonOk'] = !!_0xb43598['getEvent']('elsp_button'); + this['broken'] = this['add']['sprite'](_0x2aacf1 + 0xeb, _0x25d46a - 0x78, 'elsp_btn_broken')['setVisible'](!this['buttonOk']); + this['floor3Button'] = this['add']['sprite'](_0x2aacf1 + 0xe1, _0x25d46a - 0x82, 'elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('floor3')['setVisible'](this['buttonOk'])['setData']('floor', 0x3); + if (!this['buttonOk']) { + this['brokenZone'] = this['addZone']({ + 'x': _0x2aacf1 + 0xd4, + 'y': _0x25d46a - 0x8f, + 'width': 0x1a, + 'height': 0x1a, + 'name': 'broken', + 'cursor': 'default' + }); + } + this['door'] = this['add']['sprite'](_0x2aacf1 + 0x157, _0x25d46a + 0xf8, 'el_door_10')['setOrigin'](0.5, 0x1); + this['door']['on']('animationcomplete', function(_0xcc69a6) { + if (_0xcc69a6['key'] === 'el_door') { + _0x5178ad(); + } + }, this); + this['add']['sprite'](_0x2aacf1 + 0x157, _0x25d46a - 0xe0, 'el_door_mask'); + this['add']['sprite'](_0x2aacf1 + 0x147, _0x25d46a - 0xc3, 'el_indicator_off'); + this['indicator_1'] = this['add']['sprite'](_0x2aacf1 + 0x123, _0x25d46a - 0xb1, 'el_indicator_1'); + this['indicator_1to2'] = this['add']['sprite'](_0x2aacf1 + 0x134, _0x25d46a - 0xbb, 'el_indicator_1to2'); + this['indicator_2'] = this['add']['sprite'](_0x2aacf1 + 0x147, _0x25d46a - 0xc3, 'el_indicator_2'); + this['indicator_2to3'] = this['add']['sprite'](_0x2aacf1 + 0x159, _0x25d46a - 0xcc, 'el_indicator_2to3'); + this['indicator_3'] = this['add']['sprite'](_0x2aacf1 + 0x16c, _0x25d46a - 0xd4, 'el_indicator_3'); + this['setFloor'](this['floor']); + var _0x528416 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x398904, _0x4e75d5) { + if (this['floor'] == _0x4e75d5['getData']('floor')) return; + if (_0x4e75d5['name'] === 'floor1' || _0x4e75d5['name'] == 'floor2' || _0x4e75d5['name'] == 'floor3') { + _0x5619f8(this, 'el_press_el_btn'); + _0x5619f8(this, 'el_move', !![]); + this['moveTo'](_0x4e75d5['getData']('floor')); + } else if (_0x4e75d5['name'] === 'broken') { + if (!_0xb43598['isInventoryActive']('inv_button')) return; + _0xb43598['setEvent']('elsp_button', !![]); + _0x528416['removeItem']('inv_button', 'el_insert_el_btn'); + this['broken']['setVisible'](![]); + this['floor3Button']['setVisible'](!![]); + this['brokenZone']['disableInteractive']()['setVisible'](![]); + } + }, this); + }, + 'setFloor': function(_0x3324c9) { + this['floor1Button']['setTexture']('elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + }); + this['floor2Button']['setTexture']('elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + }); + if (this['buttonOk']) { + this['floor3Button']['setTexture']('elsp_btn')['setInteractive']({ + 'cursor': 'pointer' + }); + } + this['indicator_1to2']['setVisible'](![]); + this['indicator_2']['setVisible'](![]); + this['indicator_2to3']['setVisible'](![]); + this['indicator_3']['setVisible'](![]); + if (_0x3324c9 == 0x2) { + this['addTransition']('right', 'flp01'); + this['indicator_1to2']['setVisible'](!![]); + this['indicator_2']['setVisible'](!![]); + } else if (_0x3324c9 == 0x3) { + if (this['buttonOk']) {} + this['indicator_1to2']['setVisible'](!![]); + this['indicator_2']['setVisible'](!![]); + this['indicator_2to3']['setVisible'](!![]); + this['indicator_3']['setVisible'](!![]); + this['addTransition']('right', 'os01'); + } else { + this['addZone']({ + 'default': 'right', + 'name': 'portal' + }); + } + this['floor'] = _0x3324c9; + }, + 'moveTo': function(_0x438e36) { + if (_0x438e36 === this['floor']) return; + _0x1967e9(); + _0xb43598['input']['setDefaultCursor']('default'); + var _0xb0f461 = this['floor'] < _0x438e36; + this['setDoorOpen'](![]); + var _0x25c943 = this['floor'] + (_0xb0f461 ? 0x1 : -0x1); + this['floor' + _0x438e36 + 'Button']['setTexture']('elsp_btn_pressed'); + this['tweens']['add']({ + 'targets': this['bgContainer'], + 'y': (_0xb0f461 ? '+=' : '-=') + this['bgHeight'] * 1.5, + 'duration': _0xecb5a1 * 0xc, + 'onComplete': function() { + if (Math['abs'](_0x438e36 - this['floor']) > 0x1) { + this['setFloor'](_0x25c943); + this['moveTo'](_0x438e36); + } else { + _0x11c867('el_move'); + _0x5619f8(this, 'el_stop'); + this['setFloor'](_0x438e36); + this['setDoorOpen'](!![]); + this['floor' + _0x438e36 + 'Button']['setTexture']('elsp_btn'); + } + } ['bind'](this) + }); + var _0x4c4163; + switch (_0x25c943) { + case 0x1: + _0x4c4163 = this['indicator_1to2']; + break; + case 0x2: + _0x4c4163 = _0xb0f461 ? this['indicator_1to2'] : this['indicator_2to3']; + break; + case 0x3: + _0x4c4163 = this['indicator_2to3']; + break; + } + _0x4c4163['setVisible'](![]); + if (!_0xb0f461) { + this['indicator_' + this['floor']]['setVisible'](![]); + } + this['tweens']['add']({ + 'targets': _0x4c4163, + 'duration': _0xecb5a1, + 'repeat': 0xb, + 'alpha': 0x1, + 'onRepeat': function() { + _0x4c4163['setVisible'](!_0x4c4163['visible']); + } + }); + }, + 'setDoorOpen': function(_0x26730b, _0x3165b7) { + if (_0x26730b == this['doorOpen']) return; + if (!_0x26730b) { + this['removeTransition']('right'); + } else { + _0x5619f8(this, 'el_open_el_door'); + if (this['floor'] != 0x1) { + var _0x5e7790 = { + 2: 'flp01', + 3: 'os01' + }; + this['addTransition']('right', _0x5e7790[this['floor']]); + } else { + this['addZone']({ + 'default': 'right', + 'name': 'portal' + }); + } + } + _0x1967e9(); + this['door']['play'](!_0x26730b ? 'el_door_close' : 'el_door'); + this['doorOpen'] = _0x26730b; + } + }); + var _0x21b10f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'lch01', { + 'top': 'lch03' + }, { + 'lch03': 'bottom' + }, null, { + 'tr0502': 'portal', + 'lch02': 'portal_puzzle' + }); + }, + 'before_bg_create': function() { + this['back1'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'lch02'); + this['back2'] = this['add']['sprite'](_0x2aacf1 + _0x4a8abc, _0x25d46a, 'lch02'); + }, + 'extra_create': function() { + this['createAnimation']('portal'); + this['createAnimation']('lch01_lever'); + this['createAnimation']('lch01_hatch'); + this['createAnimation']('lch01_door'); + if (!_0x3c58e9['rooms']) { + _0x3c58e9['generate'](); + } + this['currentDigit'] = 0x0; + this['numbers'] = [0x0, 0x0]; + var _0x547be5 = this['add']['sprite'](_0x2aacf1 - 0x148, _0x25d46a + 0x23, 'portal_1')['setScale'](0.42, 1.2)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('portal'); + _0x39f1a0(this, _0x547be5, { + 'topLeftX': -0x64, + 'topLeftY': -0x104, + 'topRightX': 0x64, + 'topRightY': -0xaf, + 'bottomLeftX': -0x64, + 'bottomLeftY': 0x104, + 'bottomRightX': 0x6e, + 'bottomRightY': 0x78 + }); + var _0x3ed424 = this['add']['sprite'](_0x2aacf1 - 0x148, _0x25d46a - 0xbe, 'lch01_door_0')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + _0x3ed424['on']('animationcomplete', function() { + _0x5178ad(); + }, this); + _0x39f1a0(this, _0x3ed424, { + 'topLeftX': -0x64, + 'topLeftY': -0x23, + 'topRightX': 0x64, + 'topRightY': 0x1e, + 'bottomLeftX': -0x64, + 'bottomLeftY': 0x1f4, + 'bottomRightX': 0x64, + 'bottomRightY': 0x1f4 + }); + this['lever'] = this['add']['sprite'](_0x2aacf1 - 0x8a, _0x25d46a - 0x1e, 'lch01_lever_0')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('lever')['setScale'](0.29); + this['lever']['on']('animationcomplete', function() { + var _0xccae2e = this['numbers'][0x0] * 0xa + this['numbers'][0x1]; + if (_0xccae2e === _0x3c58e9['rooms']['length']) { + _0xb43598['setEvent']('lch01_hatch_open', !![]); + this['openHatch'](); + } else { + _0x5619f8(this, 'lch01_mix_rooms_lch01'); + this['regenerateRooms'](); + } + }, this); + this['puzzle'] = this['addZone']({ + 'x': _0x2aacf1 - 0xc8, + 'y': _0x25d46a - 0x96, + 'width': 0x78, + 'height': 0x46, + 'name': 'puzzle' + }); + this['addZone']({ + 'x': _0x2aacf1 + 0x64, + 'y': _0x25d46a - 0xaa, + 'width': 0x82, + 'height': 0x12c, + 'name': 'portal_puzzle' + }); + this['add']['sprite'](_0x2aacf1 - 0xc8, _0x25d46a + 0xe4, 'lch01_hatch_opened'); + this['sign'] = this['add']['sprite'](_0x2aacf1 - 0xc8, _0x25d46a + 0xda, 'lch01_secret_sign')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('sign'); + this['hatch'] = this['add']['sprite'](_0x2aacf1 - 0x92, _0x25d46a + 0xe3, 'lch01_hatch_0'); + if (_0xb43598['getEvent']('lch01_hatch_open')) { + this['openHatch'](!![]); + } + this['createShadowLayer'](); + var _0x39e62c = []; + var _0x5736be = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'lch01_panel_bg')['setInteractive'](); + _0x39e62c['push'](_0x5736be); + var _0x3e10b5 = [ + [0x1de, 0x169], + [0x1bc, 0xef], + [0x1dd, 0xef], + [0x1fd, 0xee], + [0x1bd, 0x118], + [0x1de, 0x116], + [0x1fc, 0x117], + [0x1be, 0x140], + [0x1dd, 0x140], + [0x1fd, 0x13f] + ]; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0xa; _0x5a8aa6++) { + var _0x1b4d8f = this['add']['sprite'](_0x3e10b5[_0x5a8aa6][0x0], _0x3e10b5[_0x5a8aa6][0x1], 'lch01_panel_btn_' + _0x5a8aa6)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('button')['setData']('num', _0x5a8aa6); + _0x39e62c['push'](_0x1b4d8f); + } + this['number0'] = this['add']['sprite'](_0x2aacf1 - 0x50, _0x25d46a - 0x14, 'lch01_panel_numbers', 'n0'); + this['number1'] = this['add']['sprite'](_0x2aacf1 - 0x14, _0x25d46a - 0x14, 'lch01_panel_numbers', 'n0'); + _0x39e62c['push'](this['number0'], this['number1']); + this['panelContainer'] = this['add']['container'](0x0, 0x0, _0x39e62c)['setData']('startX', _0x4a8abc)['setData']('deltaX', _0x4a8abc)['setVisible'](![]); + this['input']['on']('gameobjectdown', function(_0xe632f, _0x1f1237) { + if (_0x1f1237['name'] === 'door') { + _0x1967e9(); + _0x547be5['play']('portal'); + _0x5619f8(this, 'el_open_el_door'); + _0x3ed424['play']('lch01_door'); + _0x1f1237['disableInteractive'](); + } else if (_0x1f1237['name'] === 'portal') { + _0x36f2e8(this, 'tr0502', 'transition_portal'); + } else if (_0x1f1237['name'] === 'puzzle') { + this['showShadowLayer'](this['panelContainer']); + } else if (_0x1f1237['name'] === 'button') { + _0x5619f8(this, 'lch01_btn_lch01'); + var _0x4fc8c6 = _0x1f1237['getData']('num'); + this['numbers'][this['currentDigit']] = _0x4fc8c6; + this['number' + this['currentDigit']]['setFrame']('n' + _0x4fc8c6); + this['currentDigit']++; + if (this['currentDigit'] > 0x1) this['currentDigit'] = 0x0; + } else if (_0x1f1237['name'] === 'sign') { + _0x1f1237['setTexture']('lch01_secret_sign_on')['disableInteractive'](); + _0x5619f8(this, 'secret'); + _0xb43598['setEvent']('lch01_sign', !![]); + } else if (_0x1f1237['name'] === 'lever') { + _0x1967e9(); + _0x5619f8(this, 'lch01_lever_lch01'); + this['lever']['play']('lch01_lever'); + } + }, this); + }, + 'regenerateRooms': function() { + _0x1967e9(); + _0xb43598['input']['setDefaultCursor']('default'); + this['back1']['x'] = _0x2aacf1; + this['back2']['x'] = _0x2aacf1 + _0x4a8abc; + this['tweens']['add']({ + 'targets': [this['back1'], this['back2']], + 'x': '-=' + _0x4a8abc, + 'duration': _0xecb5a1 * 3.15, + 'repeat': 0x6, + 'onComplete': function() { + _0x3c58e9['generate'](!![]); + _0x5178ad(); + } + }); + }, + 'openHatch': function(_0x31987b) { + if (_0x31987b) { + this['hatch']['setTexture']('lch01_hatch_8'); + if (_0xb43598['getEvent']('lch01_sign')) { + this['sign']['setTexture']('lch01_secret_sign_on')['disableInteractive'](); + } + } else { + this['hatch']['play']('lch01_hatch'); + } + _0x5178ad(); + this['puzzle']['disableInteractive'](); + this['lever']['disableInteractive'](); + } + }); + var _0x3c58e9 = { + 'rooms': null, + 'current': 0x0, + 'generate': function(_0x200744) { + if (!_0x200744) { + _0x3c58e9['rooms'] = _0xb43598['getEvent']('lch02_rooms'); + if (_0x3c58e9['rooms']) { + return; + } + } + var _0x3d81e0 = parseInt(Math['random']() * 0x3e8) % 0xf + 0xa; + _0x3c58e9['rooms'] = []; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x3d81e0; _0x5a8aa6++) { + var _0x4ad135 = Math['random']() > 0.5; + _0x3c58e9['rooms']['push'](_0x4ad135); + } + _0x3c58e9['saveRooms'](); + }, + 'saveRooms': function() { + _0xb43598['setEvent']('lch02_rooms', _0x3c58e9['rooms']); + }, + 'init': function(_0xcd85a9) { + if (!_0x3c58e9['rooms']) { + _0x3c58e9['generate'](); + } + var _0x570746 = _0x3c58e9['rooms'][_0x3c58e9['current']]; + _0xcd85a9['lamp'] = _0xcd85a9['add']['sprite'](_0x2aacf1, _0x25d46a - 0x82, _0x570746 ? 'lch02_lamp_red' : 'lch02_lamp_green'); + _0xcd85a9['add']['sprite'](_0x2aacf1, _0x25d46a - 0x5a, _0x570746 ? 'lch02_switch_on' : 'lch02_switch')['setName']('switch')['setInteractive']({ + 'cursor': 'pointer' + }); + _0xcd85a9['input']['on']('gameobjectdown', function(_0x398c9e, _0x3b041f) { + if (_0x3b041f['name'] === 'switch') { + _0x5619f8(this, 'lch02_switch_lch02'); + var _0x570746 = !_0x3c58e9['rooms'][_0x3c58e9['current']]; + _0x3b041f['setTexture'](_0x570746 ? 'lch02_switch_on' : 'lch02_switch'); + _0xcd85a9['lamp']['setTexture'](_0x570746 ? 'lch02_lamp_red' : 'lch02_lamp_green'); + _0x3c58e9['rooms'][_0x3c58e9['current']] = _0x570746; + _0x3c58e9['saveRooms'](); + } + }, _0xcd85a9); + }, + 'move': function(_0x405ef8) { + switch (_0x405ef8) { + case 'left': + _0x3c58e9['current']++; + if (_0x3c58e9['current'] >= _0x3c58e9['rooms']['length']) { + _0x3c58e9['current'] = 0x0; + } + break; + case 'right': + _0x3c58e9['current']--; + if (_0x3c58e9['current'] < 0x0) { + _0x3c58e9['current'] = _0x3c58e9['rooms']['length'] - 0x1; + } + break; + } + } + }; + var _0x3b6826 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'lch02', { + 'left': 'lch02_l', + 'right': 'lch02_r' + }, { + 'lch01': 'top', + 'lch02_r': 'left', + 'lch02_l': 'right' + }, [{ + 'default': 'bottom', + 'name': 'portal' + }], { + 'lch01': 'portal' + }); + }, + 'extra_create': function() { + _0x3c58e9['init'](this); + }, + 'before_transition': function(_0x1ee99f) { + _0x3c58e9['move'](_0x1ee99f); + } + }); + var _0x4740fc = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'lch02', + 'initialize': function() { + _0x1db0d7['call'](this, 'lch02_r', { + 'left': 'lch02', + 'right': 'lch02_l' + }, { + 'lch01': 'top', + 'lch02': 'right', + 'lch02_l': 'left' + }, [{ + 'default': 'bottom', + 'name': 'portal' + }], { + 'lch01': 'portal' + }); + }, + 'extra_create': function() { + _0x3c58e9['init'](this); + }, + 'before_transition': function(_0x518ded) { + _0x3c58e9['move'](_0x518ded); + } + }); + var _0x211389 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'bgSprite': 'lch02', + 'initialize': function() { + _0x1db0d7['call'](this, 'lch02_l', { + 'left': 'lch02_r', + 'right': 'lch02' + }, { + 'lch01': 'top', + 'lch02_r': 'right', + 'lch02': 'left' + }, [{ + 'default': 'bottom', + 'name': 'portal' + }], { + 'lch01': 'portal' + }); + }, + 'extra_create': function() { + _0x3c58e9['init'](this); + }, + 'before_transition': function(_0x4850fb) { + _0x3c58e9['move'](_0x4850fb); + } + }); + var _0x4276e8 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'lch03', { + 'bottom': 'lch01' + }, { + 'lch01': 'top' + }); + }, + 'extra_create': function() { + this['add']['sprite'](_0x2aacf1 - 0x13c, _0x25d46a - 0x3c, 'lch03_door_thing'); + if (!_0xb43598['getEvent']('lch03_pyramid')) { + this['add']['sprite'](_0x2aacf1 - 0x136, _0x25d46a - 0x40, 'lch03_pyramide')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('pyramide'); + } + var _0x29481a = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x366857, _0x196493) { + if (_0x196493['name'] === 'pyramide') { + _0x29481a['addItem'](_0x196493, 'inv_pyramide'); + _0xb43598['setEvent']('lch03_pyramid', !![]); + this['children']['remove'](_0x196493); + } + }, this); + } + }); + var _0x2f6d9f = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'cr02', { + 'top_30': 'tmp06', + 'right_75_30': 'cr03' + }, { + 'cr03': 'left', + 'tmp06': 'bottom' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 + 0x3c, _0x25d46a - 0x68); + } + }); + var _0x493231 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'cr03', { + 'left': 'cr02' + }, { + 'cr02': 'right' + }); + }, + 'extra_create': function() { + this['black'] = this['add']['sprite'](_0x2aacf1, _0x25d46a, 'black')['setAlpha'](0x0); + this['glass'] = this['add']['sprite'](_0x2aacf1 + 0x44, _0x25d46a - 0x21, 'cr03_glass')['setAlpha'](0x0); + if (!_0xb43598['getEvent']('cr03_battery')) { + this['add']['sprite'](_0x2aacf1 - 0x79, _0x25d46a - 0x53, 'cr3_battery')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('battery'); + } else { + this['lightOff'](!![]); + } + var _0xb0dec3 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x4d9896, _0x4dfe5f) { + if (_0x4dfe5f['name'] === 'battery') { + _0xb0dec3['addItem'](_0x4dfe5f, 'inv_battery'); + _0xb43598['setEvent']('cr03_battery', !![]); + this['children']['remove'](_0x4dfe5f); + this['lightOff'](); + _0x5619f8(this, 'cr3_kill_engineer'); + } + }, this); + }, + 'lightOff': function(_0x14757d) { + if (_0x14757d) { + this['black']['setAlpha'](0.7); + this['glass']['setAlpha'](0x1); + return; + } + this['tweens']['add']({ + 'targets': this['black'], + 'alpha': 0.7, + 'duration': _0xecb5a1 * 0x3 + }); + this['tweens']['add']({ + 'targets': this['glass'], + 'alpha': 0x1, + 'duration': _0xecb5a1 * 0x4 + }); + } + }); + var _0x3c4486 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0004', { + 'top': 'intr0007' + }, { + 'intr0007': 'bottom' + }); + }, + 'extra_create': function() { + var _0x182690 = !!_0xb43598['getEvent']('intr0004_sign'); + var _0x10b03f = this['add']['sprite'](_0x2aacf1 + 0x10e, _0x25d46a - 0x96, 'intr0004_sign_on'); + if (!_0x182690) { + _0x10b03f['setTexture']('intr0004_sign')['setName']('sign')['setInteractive']({ + 'cursor': 'pointer' + }); + } + this['input']['on']('gameobjectdown', function(_0x344a88, _0x47c450) { + if (_0x47c450['name'] === 'sign') { + _0x5619f8(this, 'secret'); + _0xb43598['setEvent']('intr0004_sign', !![]); + _0x10b03f['setTexture']('intr0004_sign_on')['disableInteractive'](); + } + }, this); + } + }); + var _0xc96ce3 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0006', { + 'left': 'intr0007', + 'top': 'intr0009' + }, { + 'intr0007': 'right', + 'intr0009': 'bottom' + }); + }, + 'extra_create': function() { + var _0x3e78d5 = _0xb43598['getEvent']('tr0006_rele_angle') || 0x0; + if (_0x3e78d5 != 0x5a && _0x3e78d5 != 0x10e) { + this['add']['sprite'](_0x2aacf1 - 0x7c, _0x25d46a - 0x20, 'intr0006_rotator')['setAngle'](_0x3e78d5); + } else { + this['add']['sprite'](_0x2aacf1 - 0x172, _0x25d46a + 0x8, 'intr0006_rotator_on'); + } + } + }); + var _0x1accd0 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0007', { + 'right': 'intr0006' + }, { + 'intr0006': 'left', + 'intr0004': 'top' + }); + }, + 'extra_create': function() { + var _0x4c3b73 = _0xb43598['getEvent']('tr0006_rele_angle') || 0x0; + if (_0x4c3b73 == 0x5a || _0x4c3b73 == 0x10e) { + this['add']['sprite'](_0x2aacf1 + 0x17e, _0x25d46a + 0x1e, 'intr0007_pipe1'); + } + var _0x59dcb0 = _0xb43598['getEvent']('tr0007_rele_angle') || 0x0; + if (_0x59dcb0 != 0x0 && _0x59dcb0 != 0xb4 || _0x4c3b73 != 0x5a && _0x4c3b73 != 0x10e) { + this['add']['sprite'](_0x2aacf1 + 0x4b, _0x25d46a - 0x11, 'intr0007_rotator')['setAngle'](_0x59dcb0 - 0x5a); + this['add']['sprite'](_0x2aacf1 - 0xa, _0x25d46a + 0xbd, 'intr0007_hatch'); + } else { + this['add']['sprite'](_0x2aacf1 - 0x19, _0x25d46a + 0x54, 'intr0007_rotator_on'); + this['addTransition']('bottom', 'intr0004', !![]); + this['addZone']({ + 'x': _0x2aacf1 - 0x96, + 'y': _0x25d46a + 0x90, + 'width': 0x10e, + 'height': 0x4b, + 'name': 'bottom' + }); + } + } + }); + var _0x2c7910 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0009', { + 'left': 'intr0010', + 'bottom': 'intr0006', + 'top': 'intr0101' + }, { + 'intr0010': 'right', + 'intr0006': 'top', + 'intr0101': 'bottom' + }, [{ + 'x': _0x2aacf1 - 0x8c, + 'y': _0x25d46a - 0xaa, + 'width': 0xa0, + 'height': 0x14a, + 'name': 'portal' + }], { + 'tr0009': 'portal' + }); + } + }); + var _0x1b48c1 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0010', { + 'right': 'intr0009' + }, { + 'intr0009': 'left' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 - 0xa, _0x25d46a - 0x1e, { + 'name': 'intr0010_door' + }, { + 'scale': { + 'x': 0.8, + 'y': 0.9 + } + }, 'tb03b'); + } + }); + var _0x4c15fd = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0101', { + 'left': 'intr0102', + 'bottom': 'intr0009' + }, { + 'intr0102': 'right', + 'intr0009': 'top' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 - 0x46, _0x25d46a - 0xf, { + 'name': 'intr0101_door' + }, { + 'scale': 0.8 + }, 'pr03'); + } + }); + var _0x3b2761 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0102', { + 'top': 'intr0201', + 'right': 'intr0101' + }, { + 'intr0101': 'left', + 'intr0201': 'bottom' + }); + }, + 'extra_create': function() { + this['createDevice'](_0x2aacf1 - 0x28, _0x25d46a - 0x14); + } + }); + var _0x3d4eae = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0201', { + 'top': 'intr0302', + 'bottom': 'intr0102' + }, { + 'intr0302': 'bottom', + 'intr0102': 'top' + }); + } + }); + var _0x429984 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0302', { + 'top': 'intr0401', + 'bottom': 'intr0201' + }, { + 'intr0401': 'bottom', + 'intr0201': 'top' + }); + } + }); + var _0x4e27af = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0401', { + 'top': 'intr0503', + 'bottom': 'intr0302' + }, { + 'intr0503': 'bottom', + 'intr0302': 'top' + }, null, { + '7kb': 'portal' + }); + }, + 'extra_create': function() { + this['createDoor'](_0x2aacf1 - 0x46, _0x25d46a - 0xf, { + 'name': 'intr0401_door' + }, { + 'scale': 0.8 + }, '7kb'); + } + }); + var _0xc62afc = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, 'intr0503', { + 'bottom': 'intr0401' + }, { + 'intr0401': 'top' + }, [{ + 'x': _0x2aacf1 - 0x5a, + 'y': _0x25d46a - 0xc8, + 'width': 0xb4, + 'height': 0x15e, + 'name': 'portal' + }], { + 'tr0503': 'portal' + }); + } + }); + var _0x512097 = function(_0x47518c, _0x2e387d) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x2e387d['length']; _0x5a8aa6++) { + if (!_0x47518c[_0x2e387d[_0x5a8aa6]]) return ![]; + } + for (_0xd4143 in _0x47518c) { + if (!_0x47518c['hasOwnProperty'](_0xd4143) || !_0x47518c[_0xd4143]) continue; + if (_0x2e387d['indexOf'](_0xd4143) === -0x1) return ![]; + } + return !![]; + }; + var _0x93665b = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'initialize': function() { + _0x1db0d7['call'](this, '7ka', null, null, null, { + 'tr0401': 'portal' + }); + }, + 'extra_create': function() { + this['opened'] = !!_0xb43598['getEvent']('k7a_box_show'); + this['createAnimation']('portal'); + var _0x114c6e = this['add']['sprite'](_0x2aacf1 - 0xf0, _0x25d46a - 0x46, 'portal_1')['setScale'](0.58, 0x1)['setName']('portal'); + var _0x180da5 = this['add']['sprite'](_0x2aacf1 - 0xf0, _0x25d46a - 0x28, '7ka_door')['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + this['add']['sprite'](_0x2aacf1 - 0xea, _0x25d46a - 0xfe, '7ka_mask'); + this['enabled'] = _0xb43598['getEvent']('k7a_blocks_enabled') || {}; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < 0x6; _0x5a8aa6++) { + var _0x563c57 = 0x4f * _0x5a8aa6 + 0x195; + for (var _0x277038 = 0x0; _0x277038 < 0x6; _0x277038++) { + var _0x5d9282 = _0x25d46a + 0x32 - _0x277038 * 0x62 + _0x5a8aa6 * 0xa; + var _0x5801ee = _0x5a8aa6 + '_' + _0x277038; + var _0x817b35 = ![]; + var _0x3857e0 = this['add']['sprite'](_0x563c57, _0x5d9282, '7ka_cube')['setData']('x', _0x5a8aa6)['setData']('y', _0x277038)['setInteractive']()['setName']('cube')['setData']('key', _0x5801ee)['setData']('enabled', _0x817b35); + if (_0xb43598['getEvent']('k7a_cube_' + _0x5801ee)) { + this['toggleCube'](_0x3857e0, !![]); + } + } + } + this['box'] = this['add']['sprite'](_0x2aacf1 - 0x18, _0x25d46a + 0x85, '7ka_box')['setInteractive']()['setName']('box'); + this['boxMask'] = this['add']['sprite'](_0x2aacf1 + 0x2, _0x25d46a + 0x92, '7ka_box_mask2'); + this['keyplace'] = this['add']['sprite'](_0x2aacf1 + 0x8, _0x25d46a + 0x96, '7ka_keyplace_2')['setName']('keyplace'); + this['boxContainer'] = this['add']['container'](0x0, 0x0, [this['box'], this['keyplace'], this['boxMask']])['setVisible'](![]); + this['add']['sprite'](_0x2aacf1 - 0x18, _0x25d46a + 0x105, '7ka_box_mask'); + if (this['opened']) { + this['showBox'](!![]); + } + if (_0xb43598['getEvent']('k7a_box_open')) { + this['openBox'](!![]); + } + if (_0xb43598['getEvent']('k7a_keyplace_complete')) { + this['keyplace']['setTexture']('7ka_keyplace')['disableInteractive'](); + } + this['ind1'] = this['add']['sprite'](_0x2aacf1 - 0x70, _0x25d46a + 0x88, 'k7_indicator_1')['setVisible'](![]); + this['ind2'] = this['add']['sprite'](_0x2aacf1 - 0x63, _0x25d46a + 0x89, 'k7_indicator_2')['setVisible'](![]); + this['ind3'] = this['add']['sprite'](_0x2aacf1 - 0x54, _0x25d46a + 0x8b, 'k7_indicator_3')['setVisible'](![]); + this['ind4'] = this['add']['sprite'](_0x2aacf1 - 0x42, _0x25d46a + 0x8d, 'k7_indicator_4')['setVisible'](![]); + this['ind5'] = this['add']['sprite'](_0x2aacf1 - 0x33, _0x25d46a + 0x8f, 'k7_indicator_5')['setVisible'](![]); + this['ind6'] = this['add']['sprite'](_0x2aacf1 - 0x22, _0x25d46a + 0x91, 'k7_indicator_6')['setVisible'](![]); + this['ind7'] = this['add']['sprite'](_0x2aacf1 - 0x13, _0x25d46a + 0x93, 'k7_indicator_7')['setVisible'](![]); + var _0x16735e = _0xb43598['getEvent']('k7a_keys_count') || 0x0; + for (var _0x5a8aa6 = 0x1; _0x5a8aa6 < 0x8; _0x5a8aa6++) { + this['ind' + _0x5a8aa6]['setVisible'](_0x16735e >= _0x5a8aa6); + } + var _0xb21e94 = this['scene']['get']('inventoryScene'); + this['input']['on']('gameobjectdown', function(_0x484881, _0x107e1b) { + if (_0x107e1b['name'] === 'door') { + _0x1967e9(); + _0x114c6e['play']('portal'); + _0x5619f8(this, 'el_open_el_door'); + this['tweens']['add']({ + 'targets': _0x180da5, + 'y': '-=500', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0x114c6e['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5178ad(); + } + }); + } else if (_0x107e1b['name'] === 'cube') { + this['toggleCube'](_0x107e1b); + } else if (_0x107e1b['name'] === 'box') { + var _0x10f218 = _0xb43598['getInventoryActive'](); + if (!_0x10f218 || _0x10f218['indexOf']('inv_key') !== 0x0) return; + this['putKey'](_0x10f218); + } else if (_0x107e1b['name'] === 'keyplace') { + this['keyplace']['setTexture']('7ka_keyplace')['disableInteractive'](); + _0xb21e94['addItem'](_0x107e1b, 'inv_interface'); + _0xb43598['setEvent']('k7a_keyplace_complete', !![]); + } else if (_0x107e1b['name'] === 'portal') { + _0x36f2e8(this, 'tr0401', 'transition_portal'); + } + }, this); + }, + 'toggleCube': function(_0xae5b1b, _0x4ea241) { + if (_0x4ea241) { + _0xae5b1b['x'] -= 0x50; + _0xae5b1b['y'] += 0x2b; + _0xae5b1b['setData']('enabled', !![]); + return; + } + if (this['opened']) return; + var _0x278b81 = _0xae5b1b['getData']('key'); + if (_0x1f790d['indexOf'](_0x278b81) !== -0x1) return; + _0x1967e9(); + _0x5619f8(this, '7k_press_cube_7k'); + var _0x3213c0 = _0xae5b1b['getData']('enabled'); + this['tweens']['add']({ + 'targets': _0xae5b1b, + 'x': (!_0x3213c0 ? '-' : '+') + '=80', + 'y': (!_0x3213c0 ? '+' : '-') + '=43', + 'duration': _0xecb5a1, + 'onComplete': function() { + _0xae5b1b['setData']('enabled', !_0x3213c0); + this['enabled'][_0x278b81] = !_0x3213c0; + _0xb43598['setEvent']('k7a_cube_' + _0x278b81, this['enabled'][_0x278b81]); + _0xb43598['setEvent']('k7a_blocks_enabled', this['enabled']); + if (_0xb43598['getEvent']('k7b_blocks') && _0x512097(this['enabled'], _0x17990f)) { + _0x5619f8(this, '7k_unhide_keydestroyer'); + this['showBox'](); + } else { + _0x5178ad(); + } + } ['bind'](this) + }); + }, + 'showBox': function(_0x4c6791) { + if (_0x4c6791) { + this['boxContainer']['setVisible'](!![]); + this['children']['bringToTop'](this['boxContainer']); + return; + } + _0x1967e9(); + this['input']['setDefaultCursor']('default'); + this['boxContainer']['y'] += 0xfa; + this['boxContainer']['setVisible'](!![]); + this['tweens']['add']({ + 'targets': this['boxContainer'], + 'y': '-=250', + 'duration': _0xecb5a1 * 0x4, + 'onComplete': function() { + this['opened'] = !![]; + this['children']['bringToTop'](this['boxContainer']); + _0xb43598['setEvent']('k7a_box_show', !![]); + _0x5178ad(); + } ['bind'](this) + }); + }, + 'putKey': function(_0x164011) { + var _0x5e2889 = this['scene']['get']('inventoryScene'); + _0x5e2889['removeItem'](_0x164011, '7k_destroy_key'); + var _0x231fac = _0xb43598['getEvent']('k7a_keys_count') || 0x0; + _0xb43598['setEvent']('k7a_keys_count', ++_0x231fac); + this['children']['bringToTop'](this['ind' + _0x231fac]); + this['ind' + _0x231fac]['setVisible'](!![]); + if (_0x231fac == 0x7) { + this['openBox'](); + } + }, + 'openBox': function(_0x3afc82) { + if (_0x3afc82) { + this['keyplace']['x'] += 0x64; + this['keyplace']['y'] += 0xf; + this['keyplace']['setInteractive']({ + 'cursor': 'pointer' + }); + this['box']['disableInteractive'](); + return; + } + _0x1967e9(); + this['input']['setDefaultCursor']('default'); + _0x5619f8(this, '7k_unhide_exit_key'); + this['tweens']['add']({ + 'targets': this['keyplace'], + 'x': '+=100', + 'y': '+=15', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + this['box']['disableInteractive'](); + this['keyplace']['setInteractive']({ + 'cursor': 'pointer' + }); + _0xb43598['setEvent']('k7a_box_open', !![]); + _0x5178ad(); + } ['bind'](this) + }); + } + }); + var _0x4e7ed4 = new Phaser['Class']({ + 'Extends': _0x1db0d7, + 'BLOCKS': ['0_1', '1_2', '2_3', '3_1', '4_2'], + 'initialize': function() { + _0x1db0d7['call'](this, '7kb', null, null, null, { + 'intr0401': 'portal' + }); + }, + 'extra_create': function() { + this['opened'] = !!_0xb43598['getEvent']('k7a_box_show'); + this['createAnimation']('portal'); + var _0x5a0038 = this['add']['sprite'](_0x2aacf1 + 0xf0, _0x25d46a - 0x46, 'portal_1')['setScale'](0.58, 0x1)['setName']('portal'); + var _0x423d49 = this['add']['sprite'](_0x2aacf1 + 0xf0, _0x25d46a - 0x28, '7kb_door')['setScale'](-0x1, 0x1)['setInteractive']({ + 'cursor': 'pointer' + })['setName']('door'); + this['add']['sprite'](_0x2aacf1 + 0xea, _0x25d46a - 0xfe, '7kb_mask')['setScale'](-0x1, 0x1); + this['enabled'] = _0xb43598['getEvent']('k7b_blocks_enabled') || {}; + for (var _0x5a8aa6 = 0x5; _0x5a8aa6 >= 0x0; _0x5a8aa6--) { + var _0x2ccdc9 = 0x50 * _0x5a8aa6; + for (var _0x5cd446 = 0x0; _0x5cd446 < 0x6; _0x5cd446++) { + var _0x42b348 = _0x25d46a + 0x64 - _0x5cd446 * 0x62 - _0x5a8aa6 * 0xa; + var _0x3ac43d = _0x5a8aa6 + '_' + _0x5cd446; + var _0x395229 = ![]; + var _0x4e5038 = this['add']['sprite'](_0x2ccdc9, _0x42b348, '7kb_cube')['setScale'](-0x1, 0x1)['setData']('x', _0x5a8aa6)['setData']('y', _0x5cd446)['setInteractive']()['setName']('cube')['setData']('key', _0x3ac43d)['setData']('enabled', _0x395229); + if (_0xb43598['getEvent']('k7b_cube_' + _0x3ac43d)) { + this['toggleCube'](_0x4e5038, !![]); + } + } + } + this['input']['on']('gameobjectdown', function(_0x65a33d, _0x5f07a5) { + if (_0x5f07a5['name'] === 'door') { + _0x1967e9(); + _0x5a0038['play']('portal'); + _0x5619f8(this, 'el_open_el_door'); + this['tweens']['add']({ + 'targets': _0x423d49, + 'y': '-=500', + 'duration': _0xecb5a1 * 0x2, + 'onComplete': function() { + _0x5a0038['setInteractive']({ + 'cursor': 'pointer' + }); + _0x5178ad(); + } + }); + } else if (_0x5f07a5['name'] === 'cube') { + this['toggleCube'](_0x5f07a5); + } else if (_0x5f07a5['name'] === 'portal') { + _0x36f2e8(this, 'intr0401', 'transition_portal'); + } + }, this); + }, + 'toggleCube': function(_0x3c759c, _0x1c2f82) { + if (_0x1c2f82) { + _0x3c759c['x'] += 0x50; + _0x3c759c['y'] += 0x2b; + _0x3c759c['setData']('enabled', !![]); + return; + } + var _0x11a70a = _0x3c759c['getData']('key'); + if (_0x17990f['indexOf'](_0x11a70a) !== -0x1) return; + _0x1967e9(); + _0x5619f8(this, '7k_press_cube_7k'); + var _0x2d76ea = _0x3c759c['getData']('enabled'); + this['tweens']['add']({ + 'targets': _0x3c759c, + 'x': (!_0x2d76ea ? '+' : '-') + '=80', + 'y': (!_0x2d76ea ? '+' : '-') + '=43', + 'duration': _0xecb5a1, + 'onComplete': function() { + _0x3c759c['setData']('enabled', !_0x2d76ea); + this['enabled'][_0x11a70a] = !_0x2d76ea; + _0xb43598['setEvent']('k7b_cube_' + _0x11a70a, this['enabled'][_0x11a70a]); + _0xb43598['setEvent']('k7b_blocks_enabled', this['enabled']); + _0xb43598['setEvent']('k7b_blocks', _0x512097(this['enabled'], _0x1f790d)); + _0x5178ad(); + } ['bind'](this) + }); + } + }); + + function _0x1967e9() { + _0xb43598['input']['enabled'] = ![]; + _0xb43598['input']['mouse']['enabled'] = ![]; + } + + function _0x5178ad() { + _0xb43598['input']['enabled'] = !![]; + _0xb43598['input']['mouse']['enabled'] = !![]; + } + + function _0x3d4394(_0x57ba47, _0x239133, _0x42683d) { + if (typeof _0x42683d[_0x239133] === 'undefined') { + return ![]; + } + _0x280656['lastScene'] = _0x57ba47['scene']['key']; + _0x57ba47['input']['stopPropagation'](); + _0x57ba47['scene']['transition']({ + 'target': _0x42683d[_0x239133], + 'duration': _0xecb5a1, + 'moveBelow': ![], + 'onUpdate': _0x13ec8e(_0x57ba47['children']['list'], _0x239133, _0x57ba47['scene']['key']), + 'ease': _0x41bba0, + 'data': { + 'scene': _0x57ba47['scene']['key'] + } + }); + return !![]; + } + + function _0x13ec8e(_0x2c5b81, _0xa81594, _0x85d05b) { + if (_0xa81594 === 'right' || _0xa81594['indexOf']('right_') === 0x0) { + deltaPosX = -_0x4a8abc - _0x119242; + deltaPosY = 0x0; + } else if (_0xa81594 === 'left' || _0xa81594['indexOf']('left_') === 0x0) { + deltaPosX = _0x4a8abc + _0x119242; + deltaPosY = 0x0; + } else if (_0xa81594 === 'bottom') { + deltaPosX = 0x0; + deltaPosY = -_0x3eaf37 - _0x119242; + } else if (_0xa81594 === 'top' || _0xa81594['indexOf']('top_') === 0x0) { + deltaPosX = 0x0; + deltaPosY = _0x3eaf37 + _0x119242; + } + var _0x3dfbad = {}; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x2c5b81['length']; _0x5a8aa6++) { + _0x3dfbad[_0x5a8aa6] = { + 'x': _0x2c5b81[_0x5a8aa6]['x'], + 'y': _0x2c5b81[_0x5a8aa6]['y'] + }; + } + return function(_0x3bf71b) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x2c5b81['length']; _0x5a8aa6++) { + var _0x47b4bd = _0x2c5b81[_0x5a8aa6]; + _0x47b4bd['x'] = _0x3dfbad[_0x5a8aa6]['x'] + Phaser['Math']['Easing']['Quadratic']['InOut'](_0x3bf71b) * deltaPosX; + _0x47b4bd['y'] = _0x3dfbad[_0x5a8aa6]['y'] + Phaser['Math']['Easing']['Quadratic']['InOut'](_0x3bf71b) * deltaPosY; + } + }; + } + + function _0x45daa9(_0x4220e2, _0x5de177) { + var _0x3cd7a8 = _0x4220e2['children']['list']; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x3cd7a8['length']; _0x5a8aa6++) { + var _0x49d187 = _0x3cd7a8[_0x5a8aa6]; + var _0x253ccb = { + 'x': _0x49d187['x'], + 'y': _0x49d187['y'] + }; + switch (_0x5de177) { + case 'left': + _0x49d187['x'] += -_0x2aacf1 * 0x2 - _0x119242; + break; + case 'right': + _0x49d187['x'] += _0x2aacf1 * 0x2 + _0x119242; + break; + case 'top': + _0x49d187['y'] += -_0x25d46a * 0x2 - _0x119242; + break; + case 'bottom': + _0x49d187['y'] += _0x25d46a * 0x2 + _0x119242; + break; + } + _0x4220e2['tweens']['add']({ + 'targets': _0x49d187, + 'x': _0x253ccb['x'], + 'y': _0x253ccb['y'], + 'ease': _0x41bba0, + 'duration': _0xecb5a1 + }); + } + } + + function _0xc2f164(_0x11c56d) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x11c56d['length']; _0x5a8aa6++) { + _0x11c56d[_0x5a8aa6]['setVisible'](![]); + } + } + + function _0x4d6d15(_0x2a5f3a) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x2a5f3a['length']; _0x5a8aa6++) { + _0x2a5f3a[_0x5a8aa6]['setVisible'](!![]); + } + } + + function _0xa87a00(_0x5ef232, _0x35e4ea) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x5ef232['length']; _0x5a8aa6++) { + _0x5ef232[_0x5a8aa6]['setTexture'](_0x35e4ea); + } + } + + function _0x3dfb11(_0x6a9637) { + return function(_0x486ed6) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x6a9637['children']['list']['length']; _0x5a8aa6++) { + if (typeof _0x6a9637['children']['list'][_0x5a8aa6]['setAlpha'] === 'function') { + _0x6a9637['children']['list'][_0x5a8aa6]['setAlpha'](0x1 - _0x486ed6); + } + } + }; + } + + function _0x36f2e8(_0x8f8888, _0x155726, _0xce6904) { + var _0x339ddb = _0x8f8888['scene']['get']('portalScene'); + if (typeof _0xce6904 !== 'undefined') { + _0xce6904 = typeof _0xce6904 === 'string' ? _0xce6904 : 'transition_to'; + _0x5619f8(_0x8f8888, _0xce6904); + } + _0x339ddb['portalTo'](_0x8f8888, _0x155726); + } + + function _0x4447e3(_0x367bf2) { + _0x367bf2['tweens']['add']({ + 'targets': _0x367bf2['children']['list'], + 'alphaBottomLeft': { + 'value': 0x1, + 'duration': _0xecb5a1, + 'delay': _0xecb5a1 * 0x2, + 'ease': 'Power1' + }, + 'alphaBottomRight': { + 'value': 0x1, + 'duration': _0xecb5a1, + 'delay': _0xecb5a1 * 0x2, + 'ease': 'Power1' + }, + 'alphaTopLeft': { + 'value': 0x1, + 'duration': _0xecb5a1, + 'delay': _0xecb5a1 * 0x2, + 'ease': 'Power1' + }, + 'alphaTopRight': { + 'value': 0x1, + 'duration': _0xecb5a1, + 'delay': _0xecb5a1 * 0x2, + 'ease': 'Power1' + }, + 'yoyo': ![], + 'loop': 0x0, + 'onUpdate': function(_0x2043bb, _0x20c593) { + if (_0x20c593['type'] === 'Container') { + _0x20c593['setAlpha'](_0x2043bb['progress']); + } else if (_0x20c593['type'] === 'Zone') { + _0x367bf2['graphicsNode']['setAlpha'](_0x2043bb['progress']); + } + } + }); + } + + function _0x2f9370(_0x46aebc, _0x91785e) { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x46aebc['length']; _0x5a8aa6++) { + if (typeof _0x46aebc[_0x5a8aa6]['setAlpha'] === 'function') { + _0x46aebc[_0x5a8aa6]['setAlpha'](_0x91785e); + } + } + } + + function _0x3e179a(_0x2e5810, _0x19888d) { + var _0x117240 = _0x2e5810['getBounds'](); + var _0x29eff7 = new Phaser['Geom']['Rectangle'](_0x117240['x'], _0x117240['y'], _0x117240['width'], _0x117240['height']); + var _0x55b340 = new Phaser['Geom']['Circle'](_0x19888d['x'], _0x19888d['y'], 0x1); + return Phaser['Geom']['Rectangle']['ContainsPoint'](_0x29eff7, _0x55b340); + } + + function _0x39f1a0(_0x69a772, _0x349fa7, _0x28ff3b) { + var _0xfe1076 = _0x69a772['make']['mesh']({ + 'key': 'phaser2', + 'x': _0x28ff3b['x'] || _0x349fa7['x'], + 'y': _0x28ff3b['y'] || _0x349fa7['y'], + 'vertices': [_0x28ff3b['topLeftX'], _0x28ff3b['topLeftY'], _0x28ff3b['bottomLeftX'], _0x28ff3b['bottomLeftY'], _0x28ff3b['bottomRightX'], _0x28ff3b['bottomRightY'], _0x28ff3b['topLeftX'], _0x28ff3b['topLeftY'], _0x28ff3b['bottomRightX'], _0x28ff3b['bottomRightY'], _0x28ff3b['topRightX'], _0x28ff3b['topRightY']], + 'uv': [0x0, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x1, 0x1, 0x1, 0x0], + 'add': ![] + }); + _0x349fa7['mask'] = new Phaser['Display']['Masks']['GeometryMask'](this, _0xfe1076); + return _0x349fa7['mask']; + } + + function _0x20156a() { + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0xb43598['scene']['scenes']['length']; _0x5a8aa6++) { + if (_0xb43598['scene']['scenes'][_0x5a8aa6]['sys']['isActive']() && _0xb43598['scene']['scenes'][_0x5a8aa6]['name']) { + return _0xb43598['scene']['scenes'][_0x5a8aa6]; + } + } + return null; + } + var _0x26dcce = {}; + + function _0x5d99ff(_0x27a5b1, _0x4227a1) { + if (!_0x280656['music']) return; + _0x2d51eb(_0x27a5b1, _0x4227a1, !![]); + } + + function _0x5619f8(_0x48ee8b, _0x45f5d9, _0x51e0d5) { + if (!_0x280656['sound']) return; + _0x2d51eb(_0x48ee8b, _0x45f5d9, _0x51e0d5, 0.5); + } + + function _0x2d51eb(_0x15803e, _0x17b093, _0x123093, _0xbbdab3) { + _0xbbdab3 = _0xbbdab3 || 0x1; + if (!_0x123093) { + _0x15803e['sound']['play'](_0x17b093); + return; + } + if (typeof _0x26dcce[_0x17b093] !== 'undefined') return; + _0x26dcce[_0x17b093] = _0x15803e['sound']['add'](_0x17b093); + _0x26dcce[_0x17b093]['play']({ + 'loop': !![], + 'volume': _0xbbdab3 + }); + } + + function _0x11c867(_0x43f4aa) { + if (typeof _0x26dcce[_0x43f4aa] === 'undefined') return; + _0x26dcce[_0x43f4aa]['stop'](); + delete _0x26dcce[_0x43f4aa]; + } + + function _0x5f0b2a(_0x52a9c0) { + res = {}; + for (_0xd4143 in _0x52a9c0) { + if (!_0x52a9c0['hasOwnProperty'](_0xd4143)) continue; + res[_0xd4143] = _0x52a9c0[_0xd4143]; + } + return res; + } + + function _0x3b7c0e(_0x425456) { + if (_0x425456['href']) { + _0x425456 = _0x425456['href']; + } + _0x18a365 = document['createElement']('a'); + _0x18a365['setAttribute']('target', '_blank'); + _0x18a365['setAttribute']('href', _0x425456); + document['body']['appendChild'](_0x18a365); + _0x18a365['click'](); + return ![]; + } + + function _0x4fa2b2() { + if (_0xb43598['device']['fullscreen']['available']) { + if (_0xb43598['isFullscreen']) { + document[_0xb43598['device']['fullscreen']['cancel']](); + } else { + _0xb43598['canvas'][_0xb43598['device']['fullscreen']['request']](); + } + } else { + if (_0xb43598['isFullscreen']) {} else {} + } + if (!_0xb43598['isFullscreen']) { + _0x42d8db(); + } else { + _0xb43598['canvas']['style']['width'] = _0x4a8abc + 'px'; + _0xb43598['canvas']['style']['height'] = _0x3eaf37 + 'px'; + } + if (!_0xb43598['device']['fullscreen']['available']) { + _0xb43598['isFullscreen'] = !_0xb43598['isFullscreen']; + _0xb43598['isFullscreenKey'] = ![]; + } + } + + function _0x441920(_0x25f12d, _0x59d87e) { + var _0x277932 = _0x25f12d['getBoundingClientRect'](); + var _0x3d4bb1 = _0x59d87e['touches']['length'] ? _0x59d87e['touches'] : _0x59d87e['changedTouches']; + return { + 'x': _0x3d4bb1[0x0]['clientX'] - _0x277932['left'], + 'y': _0x3d4bb1[0x0]['clientY'] - _0x277932['top'] + }; + } + + function _0x42d8db() { + var _0x21d20b = _0x2e4825['innerWidth']; + var _0x40cc02 = _0x2e4825['innerHeight']; + var _0xe3029b = Math['min'](_0x21d20b / _0x4a8abc, _0x40cc02 / _0x3eaf37); + _0xb43598['canvas']['style']['width'] = _0x4a8abc * _0xe3029b + 'px'; + _0xb43598['canvas']['style']['height'] = _0x3eaf37 * _0xe3029b + 'px'; + } + + function _0x3395ca(_0x513178) {} + + function _0x575e64() { + var _0x2061b4 = _0x2e4825['innerWidth'] / _0x4a8abc; + var _0x549c20 = _0x2e4825['innerHeight'] / _0x3eaf37; + var _0x394062 = Math['min'](_0x2061b4, _0x549c20); + var _0x8df044 = { + 'w': _0x394062 * _0x4a8abc, + 'h': _0x394062 * _0x3eaf37 + }; + if (_0x2061b4 > _0x549c20 && _0x549c20 > 0x1) { + var _0x56a51f = { + 'w': 0x0, + 'h': 0x0 + }; + _0x56a51f['w'] = _0x4a8abc + (_0x2e4825['innerWidth'] - _0x4a8abc) * (_0x2061b4 - _0x549c20); + _0x56a51f['h'] = _0x3eaf37; + _0x56a51f['w'] = _0x2e4825['innerWidth']; + _0xb43598['resize'](_0x56a51f['w'], _0x56a51f['h']); + _0xb43598['canvas']['style']['width'] = _0x2e4825['innerWidth'] * _0x549c20; + _0xb43598['canvas']['style']['height'] = _0x2e4825['innerHeight']; + } else { + _0xb43598['resize'](_0x4a8abc, _0x3eaf37); + _0xb43598['canvas']['style']['width'] = _0x8df044['w']; + _0xb43598['canvas']['style']['height'] = _0x8df044['h']; + } + } + + function _0x493b23() { + var _0x3b4c21 = _0x2e4825['innerWidth'] / _0x4a8abc; + var _0x168456 = _0x2e4825['innerHeight'] / _0x3eaf37; + var _0x24c217 = Math['min'](_0x3b4c21, _0x168456); + var _0x1297f1 = { + 'w': _0x24c217 * _0x4a8abc, + 'h': _0x24c217 * _0x3eaf37 + }; + _0xb43598['canvas']['style']['width'] = _0x1297f1['w']; + _0xb43598['canvas']['style']['height'] = _0x1297f1['h']; + if (_0x3b4c21 < _0x168456) { + document['body']['style']['marginTop'] = (_0x2e4825['innerHeight'] - _0x1297f1['h']) / 0x2; + } else { + document['body']['style']['marginTop'] = 0x0; + } + } + var _0x2ece2a = { + 'type': Phaser['AUTO'], + 'width': _0x4a8abc, + 'height': _0x3eaf37, + 'backgroundColor': '#000000', + 'parent': 'game', + 'autoResize': !![], + 'scene': [_0x6acfe0, _0x22f8fb, _0x3825b2, _0x17c664, _0x3dca12, _0x56463f, _0x46b0d0, _0x270c31, _0x39bbc7, _0x3cd001, _0x2e8211, _0x5c2176, _0x2c24bb, _0x5b913b, _0x4ffa0c, _0xa91134, _0x20046a, _0x17823f, _0xf75bed, _0x33f178, _0xd9f8ad, _0x86619a, _0x451616, _0x21f62d, _0x2e8ac0, _0x448542, _0x2bf10f, _0x3b270f, _0x10c95a, _0x2c58db, _0xd60327, _0x23a504, _0x1f1a7c, _0x300eff, _0x2731ee, _0xfea27f, _0xe57b7a, _0x30e738, _0x31d425, _0x5575da, _0x333a49, _0x583b89, _0x3f551d, _0x5ec77, _0x5a09dd, _0x2fabe2, _0x5c5033, _0x2f0131, _0x4100f7, _0x332739, _0x4a3564, _0x42a2f2, _0x544d05, _0x1f94f3, _0x1465cb, _0x405da0, _0x2071a0, _0x3795b4, _0x298e75, _0x27b738, _0x402532, _0x1db563, _0x459675, _0x31fee6, _0x48ea9e, _0x8115aa, _0x4a0537, _0xf2798b, _0x1f477f, _0x274f34, _0x496d0a, _0x945e32, _0x1d92cb, _0x693eb1, _0x2035fb, _0x5ab5f6, _0x32f3e5, _0x2752f8, _0x295c75, _0x14017e, _0x4e1e39, _0x1a9bae, _0x1c7894, _0x5b83b7, _0x21b10f, _0x3b6826, _0x4276e8, _0x4740fc, _0x211389, _0x2f6d9f, _0x493231, _0x3c4486, _0xc96ce3, _0x1accd0, _0x2c7910, _0x1b48c1, _0x4c15fd, _0x3b2761, _0x3d4eae, _0x429984, _0x4e27af, _0xc62afc, _0x93665b, _0x4e7ed4, _0x19fd9d, _0x196537] + }; + + function _0x4937e6() { + if (typeof Storage !== 'undefined') { + localStorage['setItem']('gameState', JSON['stringify'](_0x280656)); + } else { + return; + } + } + + function _0x28715f() { + var _0x138df7; + if (typeof Storage !== 'undefined') { + var _0x361b4c = localStorage['getItem']('gameState'); + if (_0x361b4c) { + _0x138df7 = JSON['parse'](_0x361b4c); + } + } + if (!_0x138df7) { + _0x138df7 = _0x5cf1c6(); + } + _0x280656 = _0x138df7; + _0x280656['inventory']['active'] = null; + } + + function _0x5cf1c6() { + return { + 'inventory': { + 'open': ![], + 'items': ['inv_key0'], + 'used': {}, + 'active': null, + 'counter': { + 'inv_key0': 0x1 + } + }, + 'events': {}, + 'scene': 'tb03', + 'lastScene': '', + 'music': !![], + 'sound': !![] + }; + } + var _0xb43598; + var _0x280656 = _0x5cf1c6(); + + function _0x74418() { + _0x28715f(); + _0xb43598 = new Phaser['Game'](_0x2ece2a); + _0xb43598['addInventoryItem'] = function(_0x15ead1) { + _0x280656['inventory']['items']['push'](_0x15ead1); + _0x4937e6(); + }; + _0xb43598['useInventoryItem'] = function(_0x13f934) { + var _0x1fdcef = _0x280656['inventory']['items']['indexOf'](_0x13f934); + if (_0x1fdcef < 0x0) { + return; + } + _0x280656['inventory']['items']['slice'](_0x1fdcef, 0x1); + _0x4937e6(); + }; + _0xb43598['getInventoryActive'] = function() { + return _0x280656['inventory']['active']; + }; + _0xb43598['isInventoryActive'] = function(_0x151caa) { + return _0x280656['inventory']['active'] == _0x151caa; + }; + _0xb43598['setEvent'] = function(_0x3ce1e6, _0x133476) { + _0x280656['events'][_0x3ce1e6] = _0x133476; + _0x4937e6(); + }; + _0xb43598['getEvent'] = function(_0x1694d5) { + return _0x280656['events'][_0x1694d5]; + }; + _0xb43598['setActiveScene'] = function(_0x3b130a) { + _0x280656['scene'] = _0x3b130a; + _0x4937e6(); + }; + _0xb43598['bgMusic'] = { + 'sfx': null, + 'name': null + }; + _0xb43598['isFullscreen'] = ![]; + _0xb43598['isFullscreenKey'] = ![]; + if (document['addEventListener']) { + document['addEventListener']('webkitfullscreenchange', _0x2b7385, ![]); + document['addEventListener']('mozfullscreenchange', _0x2b7385, ![]); + document['addEventListener']('fullscreenchange', _0x2b7385, ![]); + document['addEventListener']('MSFullscreenChange', _0x2b7385, ![]); + } + _0x2e4825['onresize'] = _0x493b23; + + function _0x2b7385() { + if (_0xb43598['isFullscreen'] && !_0xb43598['isFullscreenKey']) { + _0x4fa2b2(); + } + _0xb43598['isFullscreen'] = !_0xb43598['isFullscreen']; + _0xb43598['isFullscreenKey'] = ![]; + } + } + _0x74418(); + + function _0x4b8176() { + _0x280656 = _0x5cf1c6(); + _0x4937e6(); + _0x2e4825['location']['reload'](); + } + + function _0x4812c7() { + var _0x2f429b = ''; + var _0x14ec24 = []; + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0xb43598['scene']['scenes']['length']; _0x5a8aa6++) { + var _0x5a4ddc = _0xb43598['scene']['scenes'][_0x5a8aa6]; + if (!_0x5a4ddc['name']) continue; + _0x14ec24['push'](_0x5a4ddc['name']); + } + _0x14ec24['sort'](); + for (var _0x5a8aa6 = 0x0; _0x5a8aa6 < _0x14ec24['length']; _0x5a8aa6++) { + _0x2f429b += '' + _0x14ec24[_0x5a8aa6] + ''; + } + document['getElementById']('scene_select')['innerHTML'] = _0x2f429b; + } + + function _0x3b838f() { + var _0x68ed18 = document['getElementById']('scene_select')['options']; + if (typeof _0x68ed18['selectedIndex'] === 'undefined') return; + var _0x2e9829 = _0x68ed18[_0x68ed18['selectedIndex']]['value']; + var _0x22d418 = _0x20156a(); + if (_0x22d418 && _0x22d418['name']) { + _0x22d418['scene']['transition']({ + 'target': _0x2e9829, + 'duration': 0x1, + 'data': { + 'scene': _0x22d418['name'] + } + }); + } + } +}(window)); \ No newline at end of file diff --git a/games/abandoned-2/js/phaser.min.js b/games/abandoned-2/js/phaser.min.js new file mode 100644 index 00000000..1951999c --- /dev/null +++ b/games/abandoned-2/js/phaser.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Phaser",[],e):"object"==typeof exports?exports.Phaser=e():t.Phaser=e()}(window,function(){return function(i){var n={};function s(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return i[t].call(e.exports,e,e.exports,s),e.l=!0,e.exports}return s.m=i,s.c=n,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},s.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=1071)}([function(t,e){function r(t,e,i,n){for(var s in e)if(e.hasOwnProperty(s)){var r=(l=e,u=s,f=d=void 0,f=(c=i)?l[u]:Object.getOwnPropertyDescriptor(l,u),!c&&f.value&&"object"==typeof f.value&&(f=f.value),!(!f||!((d=f).get&&"function"==typeof d.get||d.set&&"function"==typeof d.set))&&(void 0===f.enumerable&&(f.enumerable=!0),void 0===f.configurable&&(f.configurable=!0),f));if(!1!==r){if(o=(n||t).prototype,a=s,h=void 0,(h=Object.getOwnPropertyDescriptor(o,a))&&(h.value&&"object"==typeof h.value&&(h=h.value),!1===h.configurable)){if(p.ignoreFinals)continue;throw new Error("cannot override final property '"+s+"', set Class.ignoreFinals = true to skip")}Object.defineProperty(t.prototype,s,r)}else t.prototype[s]=e[s]}var o,a,h,l,u,c,d,f}function o(t,e){if(e){Array.isArray(e)||(e=[e]);for(var i=0;i=this.right?this.width=0:this.width=this.right-t,this.x=t}},right:{get:function(){return this.x+this.width},set:function(t){t<=this.x?this.width=0:this.width=t-this.x}},top:{get:function(){return this.y},set:function(t){t>=this.bottom?this.height=0:this.height=this.bottom-t,this.y=t}},bottom:{get:function(){return this.y+this.height},set:function(t){t<=this.y?this.height=0:this.height=t-this.y}},centerX:{get:function(){return this.x+this.width/2},set:function(t){this.x=t-this.width/2}},centerY:{get:function(){return this.y+this.height/2},set:function(t){this.y=t-this.height/2}}});t.exports=l},function(t,e,i){t.exports={Alpha:i(587),Animation:i(302),BlendMode:i(586),ComputedSize:i(585),Depth:i(584),Flip:i(583),GetBounds:i(582),Mask:i(581),MatrixStack:i(580),Origin:i(579),Pipeline:i(291),ScaleMode:i(578),ScrollFactor:i(577),Size:i(576),Texture:i(575),Tint:i(574),ToJSON:i(573),Transform:i(572),TransformMatrix:i(64),Visible:i(571)}},function(t,e,i){var n=i(297),s={PI2:2*Math.PI,TAU:.5*Math.PI,EPSILON:1e-6,DEG_TO_RAD:Math.PI/180,RAD_TO_DEG:180/Math.PI,RND:new n};t.exports=s},function(t,e,i){var u=i(8),c=function(){var t,e,i,n,s,r,o=arguments[0]||{},a=1,h=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[1]||{},a=2),h===a&&(o=this,--a);ar.width&&(i=Math.max(r.width-t,0)),e+n>r.height&&(n=Math.max(r.height-e,0));for(var l=[],u=e;u>>0},getTintAppendFloatAlpha:function(t,e){return((255&(255*e|0))<<24|t)>>>0},getTintAppendFloatAlphaAndSwap:function(t,e){return((255&(255*e|0))<<24|(255&(0|t))<<16|(255&(t>>8|0))<<8|255&(t>>16|0))>>>0},getFloatsFromUintRGB:function(t){return[(255&(t>>16|0))/255,(255&(t>>8|0))/255,(255&(0|t))/255]},getComponentCount:function(t,e){for(var i=0,n=0;n=e&&t.y<=i&&t.y+t.height>=i}},function(t,e){t.exports=function(t,e,i){return 0=t.left&&e<=t.right&&i>=t.top&&i<=t.bottom&&(t.x-e)*(t.x-e)+(t.y-i)*(t.y-i)<=t.radius*t.radius}},function(t,e){t.exports=function(t){var e={};for(var i in t)Array.isArray(t[i])?e[i]=t[i].slice(0):e[i]=t[i];return e}},function(t,e,i){var n=i(0),r=i(15),o=i(2),s=i(556),a=new n({Extends:o,Mixins:[r.Alpha,r.BlendMode,r.Depth,r.Flip,r.GetBounds,r.Mask,r.Origin,r.Pipeline,r.ScaleMode,r.ScrollFactor,r.Size,r.Texture,r.Tint,r.Transform,r.Visible,s],initialize:function(t,e,i,n,s){o.call(this,t,"Sprite"),this.anims=new r.Animation(this),this.setTexture(n,s),this.setPosition(e,i),this.setSizeToFrame(),this.setOriginFromFrame(),this.initPipeline("TextureTintPipeline")},preUpdate:function(t,e){this.anims.update(t,e)},play:function(t,e,i){return this.anims.play(t,e,i),this},toJSON:function(){return r.ToJSON(this)}});t.exports=a},function(t,e){t.exports=function(t,e,i,n,s,r){var o;void 0===n&&(n=0),void 0===s&&(s=0),void 0===r&&(r=1);var a=0,h=t.length;if(1===r)for(o=s;o=t.length)){for(var i=t.length-1,n=t[e],s=e;sthis.right||e>this.bottom)},copy:function(t){return this.index=t.index,this.alpha=t.alpha,this.properties=t.properties,this.visible=t.visible,this.setFlip(t.flipX,t.flipY),this.tint=t.tint,this.rotation=t.rotation,this.collideUp=t.collideUp,this.collideDown=t.collideDown,this.collideLeft=t.collideLeft,this.collideRight=t.collideRight,this.collisionCallback=t.collisionCallback,this.collisionCallbackContext=t.collisionCallbackContext,this},getCollisionGroup:function(){return this.tileset?this.tileset.getTileCollisionGroup(this.index):null},getTileData:function(){return this.tileset?this.tileset.getTileData(this.index):null},getLeft:function(t){var e=this.tilemapLayer;return e?e.tileToWorldX(this.x,t):this.x*this.baseWidth},getRight:function(t){var e=this.tilemapLayer;return e?this.getLeft(t)+this.width*e.scaleX:this.getLeft(t)+this.width},getTop:function(t){var e=this.tilemapLayer;return e?e.tileToWorldY(this.y,t)-(this.height-this.baseHeight)*e.scaleY:this.y*this.baseHeight-(this.height-this.baseHeight)},getBottom:function(t){var e=this.tilemapLayer;return e?this.getTop(t)+this.height*e.scaleY:this.getTop(t)+this.height},getBounds:function(t,e){return void 0===e&&(e=new r),e.x=this.getLeft(),e.y=this.getTop(),e.width=this.getRight()-e.x,e.height=this.getBottom()-e.y,e},getCenterX:function(t){return this.getLeft(t)+this.width/2},getCenterY:function(t){return this.getTop(t)+this.height/2},destroy:function(){this.collisionCallback=void 0,this.collisionCallbackContext=void 0,this.properties=void 0},intersects:function(t,e,i,n){return!(i<=this.pixelX||n<=this.pixelY||t>=this.right||e>=this.bottom)},isInteresting:function(t,e){return t&&e?this.canCollide||this.hasInterestingFace:t?this.collides:!!e&&this.hasInterestingFace},resetCollision:function(t){(void 0===t&&(t=!0),this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1,this.faceTop=!1,this.faceBottom=!1,this.faceLeft=!1,this.faceRight=!1,t)&&(this.tilemapLayer&&this.tilemapLayer.calculateFacesAt(this.x,this.y));return this},resetFaces:function(){return this.faceTop=!1,this.faceBottom=!1,this.faceLeft=!1,this.faceRight=!1,this},setCollision:function(t,e,i,n,s){(void 0===e&&(e=t),void 0===i&&(i=t),void 0===n&&(n=t),void 0===s&&(s=!0),this.collideLeft=t,this.collideRight=e,this.collideUp=i,this.collideDown=n,this.faceLeft=t,this.faceRight=e,this.faceTop=i,this.faceBottom=n,s)&&(this.tilemapLayer&&this.tilemapLayer.calculateFacesAt(this.x,this.y));return this},setCollisionCallback:function(t,e){return null===t?(this.collisionCallback=void 0,this.collisionCallbackContext=void 0):(this.collisionCallback=t,this.collisionCallbackContext=e),this},setSize:function(t,e,i,n){return void 0!==t&&(this.width=t),void 0!==e&&(this.height=e),void 0!==i&&(this.baseWidth=i),void 0!==n&&(this.baseHeight=n),this.updatePixelXY(),this},updatePixelXY:function(){return this.pixelX=this.x*this.baseWidth,this.pixelY=this.y*this.baseHeight-(this.height-this.baseHeight),this},canCollide:{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown||this.collisionCallback}},collides:{get:function(){return this.collideLeft||this.collideRight||this.collideUp||this.collideDown}},hasInterestingFace:{get:function(){return this.faceTop||this.faceBottom||this.faceLeft||this.faceRight}},tileset:{get:function(){var t=this.tilemapLayer;return t?t.tileset:null}},tilemapLayer:{get:function(){return this.layer.tilemapLayer}},tilemap:{get:function(){var t=this.tilemapLayer;return t?t.tilemap:null}}});t.exports=o},function(t,e){t.exports=function(t,e){e?t.setCollision(!0,!0,!0,!0,!1):t.resetCollision(!1)}},function(t,e,i){var n=i(0),s=i(60),r=i(227),o=i(226),a=i(96),h=i(153),l=new n({initialize:function(t,e,i,n,s,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=0),void 0===s&&(s=0),void 0===r&&(r=0),this.x1=t,this.y1=e,this.x2=i,this.y2=n,this.x3=s,this.y3=r},contains:function(t,e){return s(this,t,e)},getPoint:function(t,e){return r(this,t,e)},getPoints:function(t,e,i){return o(this,t,e,i)},getRandomPoint:function(t){return h(this,t)},setTo:function(t,e,i,n,s,r){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=0),void 0===s&&(s=0),void 0===r&&(r=0),this.x1=t,this.y1=e,this.x2=i,this.y2=n,this.x3=s,this.y3=r,this},getLineA:function(t){return void 0===t&&(t=new a),t.setTo(this.x1,this.y1,this.x2,this.y2),t},getLineB:function(t){return void 0===t&&(t=new a),t.setTo(this.x2,this.y2,this.x3,this.y3),t},getLineC:function(t){return void 0===t&&(t=new a),t.setTo(this.x3,this.y3,this.x1,this.y1),t},left:{get:function(){return Math.min(this.x1,this.x2,this.x3)},set:function(t){var e=0;e=this.x1<=this.x2&&this.x1<=this.x3?this.x1-t:this.x2<=this.x1&&this.x2<=this.x3?this.x2-t:this.x3-t,this.x1-=e,this.x2-=e,this.x3-=e}},right:{get:function(){return Math.max(this.x1,this.x2,this.x3)},set:function(t){var e=0;e=this.x1>=this.x2&&this.x1>=this.x3?this.x1-t:this.x2>=this.x1&&this.x2>=this.x3?this.x2-t:this.x3-t,this.x1-=e,this.x2-=e,this.x3-=e}},top:{get:function(){return Math.min(this.y1,this.y2,this.y3)},set:function(t){var e=0;e=this.y1<=this.y2&&this.y1<=this.y3?this.y1-t:this.y2<=this.y1&&this.y2<=this.y3?this.y2-t:this.y3-t,this.y1-=e,this.y2-=e,this.y3-=e}},bottom:{get:function(){return Math.max(this.y1,this.y2,this.y3)},set:function(t){var e=0;e=this.y1>=this.y2&&this.y1>=this.y3?this.y1-t:this.y2>=this.y1&&this.y2>=this.y3?this.y2-t:this.y3-t,this.y1-=e,this.y2-=e,this.y3-=e}}});t.exports=l},function(t,e,i){var n=i(0),s=i(15),r=i(2),o=i(461),a=new n({Extends:r,Mixins:[s.Alpha,s.BlendMode,s.Depth,s.Flip,s.GetBounds,s.Mask,s.Origin,s.Pipeline,s.ScaleMode,s.ScrollFactor,s.Size,s.Texture,s.Tint,s.Transform,s.Visible,o],initialize:function(t,e,i,n,s){r.call(this,t,"Image"),this.setTexture(n,s),this.setPosition(e,i),this.setSizeToFrame(),this.setOriginFromFrame(),this.initPipeline("TextureTintPipeline")}});t.exports=a},function(t,e,i){var n=new(i(0))({initialize:function(t){if(this.entries=[],Array.isArray(t))for(var e=0;e=this.vertexCapacity},resize:function(t,e,i){return this.width=t*i,this.height=e*i,this},bind:function(){var t=this.gl,e=this.vertexBuffer,i=this.attributes,n=this.program,s=this.renderer,r=this.vertexSize;s.setProgram(n),s.setVertexBuffer(e);for(var o=0;othis.x2?this.x1=t:this.x2=t}},top:{get:function(){return Math.min(this.y1,this.y2)},set:function(t){this.y1<=this.y2?this.y1=t:this.y2=t}},bottom:{get:function(){return Math.max(this.y1,this.y2)},set:function(t){this.y1>this.y2?this.y1=t:this.y2=t}}});t.exports=h},function(t,e){t.exports=function(t){return 2*(t.width+t.height)}},function(t,e){t.exports=function(t,e,i,n,s,r,o,a,h,l,u,c,d){return{target:t,key:e,getEndValue:i,getStartValue:n,ease:s,duration:0,totalDuration:0,delay:0,yoyo:a,hold:0,repeat:0,repeatDelay:0,flipX:c,flipY:d,progress:0,elapsed:0,repeatCounter:0,start:0,current:0,end:0,t1:0,t2:0,gen:{delay:r,duration:o,hold:h,repeat:l,repeatDelay:u},state:0}}},function(t,e,i){var n=i(0),s=i(13),r=i(11),u=i(61),o=new n({initialize:function(t,e,i){this.parent=t,this.parentIsTimeline=t.hasOwnProperty("isTimeline"),this.data=e,this.totalData=e.length,this.targets=i,this.totalTargets=i.length,this.useFrames=!1,this.timeScale=1,this.loop=0,this.loopDelay=0,this.loopCounter=0,this.completeDelay=0,this.countdown=0,this.offset=0,this.calculatedOffset=0,this.state=u.PENDING_ADD,this._pausedState=u.PENDING_ADD,this.paused=!1,this.elapsed=0,this.totalElapsed=0,this.duration=0,this.progress=0,this.totalDuration=0,this.totalProgress=0,this.callbacks={onComplete:null,onLoop:null,onRepeat:null,onStart:null,onUpdate:null,onYoyo:null},this.callbackScope},getValue:function(){return this.data[0].current},setTimeScale:function(t){return this.timeScale=t,this},getTimeScale:function(){return this.timeScale},isPlaying:function(){return this.state===u.ACTIVE},isPaused:function(){return this.state===u.PAUSED},hasTarget:function(t){return-1!==this.targets.indexOf(t)},updateTo:function(t,e,i){for(var n=0;nt&&(t=n.totalDuration)}this.duration=t,this.loopCounter=-1===this.loop?999999999999:this.loop,0=s.totalDuration?(r=1,o=s.duration):n>s.delay&&n<=s.t1?(r=(n=Math.max(0,n-s.delay))/s.t1,o=s.duration*r):n>s.t1&&ns.repeatDelay&&(r=n/s.t1,o=s.duration*r)),s.progress=r,s.elapsed=o;var a=s.ease(s.progress);s.current=s.start+(s.end-s.start)*a,s.target[s.key]=s.current}},setCallback:function(t,e,i,n){return this.callbacks[t]={func:e,scope:n,params:i},this},complete:function(t){if(void 0===t&&(t=0),t)this.countdown=t,this.state=u.COMPLETE_DELAY;else{var e=this.callbacks.onComplete;e&&(e.params[1]=this.targets,e.func.apply(e.scope,e.params)),this.state=u.PENDING_REMOVE}},stop:function(t){this.state===u.ACTIVE&&void 0!==t&&this.seek(t),this.state!==u.REMOVED&&(this.state=u.PENDING_REMOVE)},update:function(t,e){if(this.state===u.PAUSED)return!1;switch(this.useFrames&&(e=1*this.parent.timeScale),e*=this.timeScale,this.elapsed+=e,this.progress=Math.min(this.elapsed/this.duration,1),this.totalElapsed+=e,this.totalProgress=Math.min(this.totalElapsed/this.totalDuration,1),this.state){case u.ACTIVE:for(var i=!1,n=0;n=this.maxSize},countActive:function(t){void 0===t&&(t=!0);for(var e=0,i=0;iu&&(this.scrollX=u),this.scrollYc&&(this.scrollY=c)}this.roundPixels&&(this.scrollX=Math.round(this.scrollX),this.scrollY=Math.round(this.scrollY)),r.loadIdentity(),r.scale(e,e),r.translate(this.x+o,this.y+a),r.rotate(this.rotation),r.scale(s,s),r.translate(-o,-a),this.shakeEffect.preRender()},removeBounds:function(){return this.useBounds=!1,this._bounds.setEmpty(),this},setAngle:function(t){return void 0===t&&(t=0),this.rotation=s(t),this},setLerp:function(t,e){return void 0===t&&(t=1),void 0===e&&(e=t),this.lerp.set(t,e),this},setFollowOffset:function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),this.followOffset.set(t,e),this},setBackgroundColor:function(t){return void 0===t&&(t="rgba(0,0,0,0)"),this.backgroundColor=u(t),this.transparent=0===this.backgroundColor.alpha,this},setBounds:function(t,e,i,n){return this._bounds.setTo(t,e,i,n),this.useBounds=!0,this},setName:function(t){return void 0===t&&(t=""),this.name=t,this},setPosition:function(t,e){return void 0===e&&(e=t),this.x=t,this.y=e,this},setRotation:function(t){return void 0===t&&(t=0),this.rotation=t,this},setRoundPixels:function(t){return this.roundPixels=t,this},setScene:function(t){return this.scene=t,this},setScroll:function(t,e){return void 0===e&&(e=t),this.scrollX=t,this.scrollY=e,this},setSize:function(t,e){return void 0===e&&(e=t),this.width=t,this.height=e,this},setViewport:function(t,e,i,n){return this.x=t,this.y=e,this.width=i,this.height=n,this},setZoom:function(t){return void 0===t&&(t=1),this.zoom=t,this},setVisible:function(t){return this.visible=t,this},startFollow:function(t,e,i,n,s,r){void 0===e&&(e=!1),void 0===i&&(i=1),void 0===n&&(n=i),void 0===s&&(s=0),void 0===r&&(r=s),this._follow=t,this.roundPixels=e,i=l(i,0,1),n=l(n,0,1),this.lerp.set(i,n),this.followOffset.set(s,r);var o=this.zoom,a=this.width/2,h=this.height/2;return this.scrollX=(t.x-s-a)/o,this.scrollY=(t.y-r-h)/o,this},stopFollow:function(){return this._follow=null,this},toJSON:function(){var t={name:this.name,x:this.x,y:this.y,width:this.width,height:this.height,zoom:this.zoom,rotation:this.rotation,roundPixels:this.roundPixels,scrollX:this.scrollX,scrollY:this.scrollY,backgroundColor:this.backgroundColor.rgba};return this.useBounds&&(t.bounds={x:this._bounds.x,y:this._bounds.y,width:this._bounds.width,height:this._bounds.height}),t},resetFX:function(){return this.shakeEffect.reset(),this.flashEffect.reset(),this.fadeEffect.reset(),this},update:function(t,e){this.visible&&(this.shakeEffect.update(t,e),this.flashEffect.update(t,e),this.fadeEffect.update(t,e))},destroy:function(){this.emit("cameradestroy",this),this.removeAllListeners(),this.resetFX(),this.matrix.destroy(),this.culledObjects=[],this._follow=null,this._bounds=null,this.scene=null},centerX:{get:function(){return this.x+.5*this.width}},centerY:{get:function(){return this.y+.5*this.height}}});t.exports=c},function(t,e,i){var n=new(i(0))({initialize:function(t){if(this.entries={},this.size=0,Array.isArray(t))for(var e=0;et.max.x&&(t.max.x=s.x),s.xt.max.y&&(t.max.y=s.y),s.y=t.min.x&&e.x<=t.max.x&&e.y>=t.min.y&&e.y<=t.max.y},i.overlaps=function(t,e){return t.min.x<=e.max.x&&t.max.x>=e.min.x&&t.max.y>=e.min.y&&t.min.y<=e.max.y},i.translate=function(t,e){t.min.x+=e.x,t.max.x+=e.x,t.min.y+=e.y,t.max.y+=e.y},i.shift=function(t,e){var i=t.max.x-t.min.x,n=t.max.y-t.min.y;t.min.x=e.x,t.max.x=e.x+i,t.min.y=e.y,t.max.y=e.y+n}},function(t,e,i){var a={};t.exports=a;var w=i(106),b=i(41);a.create=function(t,e){for(var i=[],n=0;n=R&&(this.flush(),this.setTexture2D(O,0));for(var W=0;W=R&&(this.flush(),this.setTexture2D(O,0))}}X+=H,z-=H,this.vertexCount>=R&&(this.flush(),this.setTexture2D(O,0))}}}this.setTexture2D(O,0)},drawBlitter:function(t,e,i){var n=null;i&&(n=i.matrix),this.renderer.setPipeline(this);var s=this.renderer.config.roundPixels,r=ne.getTintAppendFloatAlpha,o=this.vertexViewF32,a=this.vertexViewU32,h=t.getRenderList(),l=h.length,u=e.matrix.matrix,c=u[0],d=u[1],f=u[2],p=u[3],g=u[4],v=u[5],y=e.scrollX*t.scrollFactorX,m=e.scrollY*t.scrollFactorY,x=Math.ceil(l/this.maxQuads),w=0;if(n){var b=n[0],T=n[1],S=n[2],A=n[3],C=n[4],M=n[5],_=-y,E=-m,P=S*c+A*f,k=S*d+A*p,L=C*c+M*f+(_*c+E*f+g),F=C*d+M*p+(_*d+E*p+v);c=b*c+T*f,d=b*d+T*p,f=P,p=k,g=L,v=F,m=y=0}for(var R,O=t.x-y,B=t.y-m,D=0;D=this.vertexCapacity&&(this.flush(),R=-1)}}w+=I,l-=I,this.vertexCount>=this.vertexCapacity&&this.flush()}},batchSprite:function(t,e,i){var n=null;i&&(n=i.matrix),this.renderer.setPipeline(this),this.vertexCount+6>this.vertexCapacity&&this.flush();var s,r,o,a,h,l,u=this.renderer.config.roundPixels,c=ne.getTintAppendFloatAlpha,d=this.vertexViewF32,f=this.vertexViewU32,p=e.matrix.matrix,g=t.frame,v=g.texture.source[g.sourceIndex].glTexture,y=!!v.isRenderTexture,m=t.flipX,x=t.flipY^y,w=g.uvs,b=g.width*(m?-1:1),T=g.height*(x?-1:1),S=-t.displayOriginX+g.x+g.width*(m?1:0),A=-t.displayOriginY+g.y+g.height*(x?1:0),C=(u?0|S:S)+b,M=(u?0|A:A)+T,_=t.scaleX,E=t.scaleY,P=t.rotation,k=t._alphaTL,L=t._alphaTR,F=t._alphaBL,R=t._alphaBR,O=t._tintTL,B=t._tintTR,D=t._tintBL,I=t._tintBR,z=Math.sin(P),Y=Math.cos(P),X=Y*_,N=z*_,V=-z*E,U=Y*E,G=t.x,W=t.y,H=p[0],j=p[1],q=p[2],K=p[3],J=p[4],Z=p[5];if(n){var Q=n[0],$=n[1],tt=n[2],et=n[3],it=n[4],nt=n[5],st=-e.scrollX*t.scrollFactorX,rt=-e.scrollY*t.scrollFactorY,ot=Q*H+$*q,at=Q*j+$*K,ht=tt*H+et*q,lt=tt*j+et*K;s=X*ot+N*ht,r=X*at+N*lt,o=V*ot+U*ht,a=V*at+U*lt,h=G*ot+W*ht+(it*H+nt*q+(st*H+rt*q+J)),l=G*at+W*lt+(it*j+nt*K+(st*j+rt*K+Z))}else s=X*H+N*q,r=X*j+N*K,o=V*H+U*q,a=V*j+U*K,h=(G-=e.scrollX*t.scrollFactorX)*H+(W-=e.scrollY*t.scrollFactorY)*q+J,l=G*j+W*K+Z;var ut,ct=S*s+A*o+h,dt=S*r+A*a+l,ft=S*s+M*o+h,pt=S*r+M*a+l,gt=C*s+M*o+h,vt=C*r+M*a+l,yt=C*s+A*o+h,mt=C*r+A*a+l,xt=c(O,k),wt=c(B,L),bt=c(D,F),Tt=c(I,R);u&&(ct|=0,dt|=0,ft|=0,pt|=0,gt|=0,vt|=0,yt|=0,mt|=0),this.setTexture2D(v,0),d[(ut=this.vertexCount*this.vertexComponentCount)+0]=ct,d[ut+1]=dt,d[ut+2]=w.x0,d[ut+3]=w.y0,f[ut+4]=xt,d[ut+5]=ft,d[ut+6]=pt,d[ut+7]=w.x1,d[ut+8]=w.y1,f[ut+9]=bt,d[ut+10]=gt,d[ut+11]=vt,d[ut+12]=w.x2,d[ut+13]=w.y2,f[ut+14]=Tt,d[ut+15]=ct,d[ut+16]=dt,d[ut+17]=w.x0,d[ut+18]=w.y0,f[ut+19]=xt,d[ut+20]=gt,d[ut+21]=vt,d[ut+22]=w.x2,d[ut+23]=w.y2,f[ut+24]=Tt,d[ut+25]=yt,d[ut+26]=mt,d[ut+27]=w.x3,d[ut+28]=w.y3,f[ut+29]=wt,this.vertexCount+=6},batchMesh:function(t,e,i){var n=null;i&&(n=i.matrix);var s=t.vertices,r=s.length,o=r/2|0;this.renderer.setPipeline(this),this.vertexCount+o>this.vertexCapacity&&this.flush();var a,h,l,u,c,d,f=this.renderer.config.roundPixels,p=ne.getTintAppendFloatAlpha,g=t.uv,v=t.colors,y=t.alphas,m=this.vertexViewF32,x=this.vertexViewU32,w=e.matrix.matrix,b=t.frame,T=t.texture.source[b.sourceIndex].glTexture,S=t.x,A=t.y,C=t.scaleX,M=t.scaleY,_=t.rotation,E=Math.sin(_),P=Math.cos(_),k=P*C,L=E*C,F=-E*M,R=P*M,O=S,B=A,D=w[0],I=w[1],z=w[2],Y=w[3],X=w[4],N=w[5],V=0;if(n){var U=n[0],G=n[1],W=n[2],H=n[3],j=n[4],q=n[5],K=-e.scrollX*t.scrollFactorX,J=-e.scrollY*t.scrollFactorY,Z=U*D+G*z,Q=U*I+G*Y,$=W*D+H*z,tt=W*I+H*Y;a=k*Z+L*$,h=k*Q+L*tt,l=F*Z+R*$,u=F*Q+R*tt,c=O*Z+B*$+(j*D+q*z+(K*D+J*z+X)),d=O*Q+B*tt+(j*I+q*Y+(K*I+J*Y+N))}else a=k*D+L*z,h=k*I+L*Y,l=F*D+R*z,u=F*I+R*Y,c=(O-=e.scrollX*t.scrollFactorX)*D+(B-=e.scrollY*t.scrollFactorY)*z+X,d=O*I+B*Y+N;this.setTexture2D(T,0),V=this.vertexCount*this.vertexComponentCount;for(var et=0,it=0;etthis.vertexCapacity&&this.flush();var s,r,o,a,h,l,u,c,d,f,p,g,v,y,m=this.renderer.config.roundPixels,x=t.text,w=x.length,b=ne.getTintAppendFloatAlpha,T=this.vertexViewF32,S=this.vertexViewU32,A=e.matrix.matrix,C=e.width+50,M=e.height+50,_=t.frame,E=t.texture.source[_.sourceIndex],P=e.scrollX*t.scrollFactorX,k=e.scrollY*t.scrollFactorY,L=t.fontData,F=L.lineHeight,R=t.fontSize/L.size,O=L.chars,B=t.alpha,D=b(t._tintTL,B),I=b(t._tintTR,B),z=b(t._tintBL,B),Y=b(t._tintBR,B),X=t.x,N=t.y,V=_.cutX,U=_.cutY,G=E.width,W=E.height,H=E.glTexture,j=0,q=0,K=0,J=0,Z=null,Q=0,$=0,tt=0,et=0,it=0,nt=0,st=0,rt=0,ot=0,at=0,ht=0,lt=0,ut=null,ct=0,dt=X+_.x,ft=N+_.y,pt=t.rotation,gt=t.scaleX,vt=t.scaleY,yt=t.letterSpacing,mt=Math.sin(pt),xt=Math.cos(pt),wt=xt*gt,bt=mt*gt,Tt=-mt*vt,St=xt*vt,At=dt,Ct=ft,Mt=A[0],_t=A[1],Et=A[2],Pt=A[3],kt=A[4],Lt=A[5],Ft=0;if(n){var Rt=n[0],Ot=n[1],Bt=n[2],Dt=n[3],It=n[4],zt=n[5],Yt=-P,Xt=-k,Nt=Rt*Mt+Ot*Et,Vt=Rt*_t+Ot*Pt,Ut=Bt*Mt+Dt*Et,Gt=Bt*_t+Dt*Pt;d=wt*Nt+bt*Ut,f=wt*Vt+bt*Gt,p=Tt*Nt+St*Ut,g=Tt*Vt+St*Gt,v=At*Nt+Ct*Ut+(It*Mt+zt*Et+(Yt*Mt+Xt*Et+kt)),y=At*Vt+Ct*Gt+(It*_t+zt*Pt+(Yt*_t+Xt*Pt+Lt))}else d=wt*Mt+bt*Et,f=wt*_t+bt*Pt,p=Tt*Mt+St*Et,g=Tt*_t+St*Pt,v=(At-=P)*Mt+(Ct-=k)*Et+kt,y=At*_t+Ct*Pt+Lt;this.setTexture2D(H,0);for(var Wt=0;Wtthis.vertexCapacity&&this.flush(),m&&(s|=0,r|=0,o|=0,a|=0,h|=0,l|=0,u|=0,c|=0),T[(Ft=this.vertexCount*this.vertexComponentCount)+0]=s,T[Ft+1]=r,T[Ft+2]=ot,T[Ft+3]=ht,S[Ft+4]=D,T[Ft+5]=o,T[Ft+6]=a,T[Ft+7]=ot,T[Ft+8]=lt,S[Ft+9]=z,T[Ft+10]=h,T[Ft+11]=l,T[Ft+12]=at,T[Ft+13]=lt,S[Ft+14]=Y,T[Ft+15]=s,T[Ft+16]=r,T[Ft+17]=ot,T[Ft+18]=ht,S[Ft+19]=D,T[Ft+20]=h,T[Ft+21]=l,T[Ft+22]=at,T[Ft+23]=lt,S[Ft+24]=Y,T[Ft+25]=u,T[Ft+26]=c,T[Ft+27]=at,T[Ft+28]=ht,S[Ft+29]=I,this.vertexCount+=6))}}else K=j=0,q+=F,ut=null},batchDynamicBitmapText:function(t,e,i){var n=null;i&&(n=i.matrix),this.renderer.setPipeline(this),this.vertexCount+6>this.vertexCapacity&&this.flush();var s,r,o,a,h,l,u,c,d,f,p,g,v,y,m,x,w,b,T,S,A=this.renderer.config.roundPixels,C=t.displayCallback,M=t.text,_=M.length,E=ne.getTintAppendFloatAlpha,P=this.vertexViewF32,k=this.vertexViewU32,L=this.renderer,F=e.matrix.matrix,R=t.frame,O=t.texture.source[R.sourceIndex],B=e.scrollX*t.scrollFactorX,D=e.scrollY*t.scrollFactorY,I=t.scrollX,z=t.scrollY,Y=t.fontData,X=Y.lineHeight,N=t.fontSize/Y.size,V=Y.chars,U=t.alpha,G=E(t._tintTL,U),W=E(t._tintTR,U),H=E(t._tintBL,U),j=E(t._tintBR,U),q=t.x,K=t.y,J=R.cutX,Z=R.cutY,Q=O.width,$=O.height,tt=O.glTexture,et=0,it=0,nt=0,st=0,rt=null,ot=0,at=0,ht=0,lt=0,ut=0,ct=0,dt=0,ft=0,pt=0,gt=0,vt=0,yt=0,mt=null,xt=0,wt=q+R.x,bt=K+R.y,Tt=t.rotation,St=t.scaleX,At=t.scaleY,Ct=t.letterSpacing,Mt=Math.sin(Tt),_t=Math.cos(Tt),Et=_t*St,Pt=Mt*St,kt=-Mt*At,Lt=_t*At,Ft=wt,Rt=bt,Ot=F[0],Bt=F[1],Dt=F[2],It=F[3],zt=F[4],Yt=F[5],Xt=0this.vertexCapacity&&this.flush(),A&&(s|=0,r|=0,o|=0,a|=0,h|=0,l|=0,u|=0,c|=0),P[(Nt=this.vertexCount*this.vertexComponentCount)+0]=s,P[Nt+1]=r,P[Nt+2]=pt,P[Nt+3]=vt,k[Nt+4]=G,P[Nt+5]=o,P[Nt+6]=a,P[Nt+7]=pt,P[Nt+8]=yt,k[Nt+9]=H,P[Nt+10]=h,P[Nt+11]=l,P[Nt+12]=gt,P[Nt+13]=yt,k[Nt+14]=j,P[Nt+15]=s,P[Nt+16]=r,P[Nt+17]=pt,P[Nt+18]=vt,k[Nt+19]=G,P[Nt+20]=h,P[Nt+21]=l,P[Nt+22]=gt,P[Nt+23]=yt,k[Nt+24]=j,P[Nt+25]=u,P[Nt+26]=c,P[Nt+27]=gt,P[Nt+28]=vt,k[Nt+29]=W,this.vertexCount+=6}}}else nt=et=0,it+=X,mt=null;Xt&&L.popScissor()},batchText:function(t,e,i){var n=ne.getTintAppendFloatAlpha;this.batchTexture(t,t.canvasTexture,t.canvasTexture.width,t.canvasTexture.height,t.x,t.y,t.canvasTexture.width,t.canvasTexture.height,t.scaleX,t.scaleY,t.rotation,t.flipX,t.flipY,t.scrollFactorX,t.scrollFactorY,t.displayOriginX,t.displayOriginY,0,0,t.canvasTexture.width,t.canvasTexture.height,n(t._tintTL,t._alphaTL),n(t._tintTR,t._alphaTR),n(t._tintBL,t._alphaBL),n(t._tintBR,t._alphaBR),0,0,e,i)},batchDynamicTilemapLayer:function(t,e,i){for(var n=t.culledTiles,s=n.length,r=t.tileset.image.get().source.glTexture,o=t.tileset,a=t.scrollFactorX,h=t.scrollFactorY,l=t.alpha,u=t.x,c=t.y,d=t.scaleX,f=t.scaleY,p=ne.getTintAppendFloatAlpha,g=0;gthis.vertexCapacity&&this.flush(),d^=e.isRenderTexture?1:0;var k,L,F,R,O,B,D=this.renderer.config.roundPixels,I=this.vertexViewF32,z=this.vertexViewU32,Y=_.matrix.matrix,X=o*(c?1:0)-g,N=a*(d?1:0)-v,V=X+o*(c?-1:1),U=N+a*(d?-1:1),G=s,W=r,H=Math.sin(u),j=Math.cos(u),q=j*h,K=H*h,J=-H*l,Z=j*l,Q=G,$=W,tt=Y[0],et=Y[1],it=Y[2],nt=Y[3],st=Y[4],rt=Y[5];if(P){var ot=P[0],at=P[1],ht=P[2],lt=P[3],ut=P[4],ct=P[5],dt=-_.scrollX*f,ft=-_.scrollY*p,pt=ot*tt+at*it,gt=ot*et+at*nt,vt=ht*tt+lt*it,yt=ht*et+lt*nt;k=q*pt+K*vt,L=q*gt+K*yt,F=J*pt+Z*vt,R=J*gt+Z*yt,O=Q*pt+$*vt+(ut*tt+ct*it+(dt*tt+ft*it+st)),B=Q*gt+$*yt+(ut*et+ct*nt+(dt*et+ft*nt+rt))}else k=q*tt+K*it,L=q*et+K*nt,F=J*tt+Z*it,R=J*et+Z*nt,O=(Q-=_.scrollX*f)*tt+($-=_.scrollY*p)*it+st,B=Q*et+$*nt+rt;var mt,xt=X*k+N*F+O,wt=X*L+N*R+B,bt=X*k+U*F+O,Tt=X*L+U*R+B,St=V*k+U*F+O,At=V*L+U*R+B,Ct=V*k+N*F+O,Mt=V*L+N*R+B,_t=y/i+C,Et=m/n+M,Pt=(y+x)/i+C,kt=(m+w)/n+M;this.setTexture2D(e,0),D&&(xt|=0,wt|=0,bt|=0,Tt|=0,St|=0,At|=0,Ct|=0,Mt|=0),I[(mt=this.vertexCount*this.vertexComponentCount)+0]=xt,I[mt+1]=wt,I[mt+2]=_t,I[mt+3]=Et,z[mt+4]=b,I[mt+5]=bt,I[mt+6]=Tt,I[mt+7]=_t,I[mt+8]=kt,z[mt+9]=T,I[mt+10]=St,I[mt+11]=At,I[mt+12]=Pt,I[mt+13]=kt,z[mt+14]=S,I[mt+15]=xt,I[mt+16]=wt,I[mt+17]=_t,I[mt+18]=Et,z[mt+19]=b,I[mt+20]=St,I[mt+21]=At,I[mt+22]=Pt,I[mt+23]=kt,z[mt+24]=S,I[mt+25]=Ct,I[mt+26]=Mt,I[mt+27]=Pt,I[mt+28]=Et,z[mt+29]=A,this.vertexCount+=6},drawTexture:function(t,e,i,n,s,r,o,a,h,l,u){var c=null;u&&(c=u.matrix),this.renderer.setPipeline(this),this.vertexCount+6>this.vertexCapacity&&this.flush();var d=this.renderer.config.roundPixels,f=this.vertexViewF32,p=this.vertexViewU32,g=e,v=i,y=g+a,m=v+h,x=l[0],w=l[1],b=l[2],T=l[3],S=l[4],A=l[5];if(c){var C=c[0],M=c[1],_=c[2],E=c[3],P=c[4],k=x*M+w*E,L=b*M+T*E,F=S*M+A*E+c[5];x=x*C+w*_,w=k,b=b*C+T*_,T=L,S=S*C+A*_+P,A=F}var R,O=g*x+v*b+S,B=g*w+v*T+A,D=g*x+m*b+S,I=g*w+m*T+A,z=y*x+m*b+S,Y=y*w+m*T+A,X=y*x+v*b+S,N=y*w+v*T+A,V=t.width,U=t.height,G=r/V,W=o/U,H=(r+a)/V,j=(o+h)/U;n=ne.getTintAppendFloatAlpha(n,s),this.setTexture2D(t,0),d&&(O|=0,B|=0,D|=0,I|=0,z|=0,Y|=0,X|=0,N|=0),f[(R=this.vertexCount*this.vertexComponentCount)+0]=O,f[R+1]=B,f[R+2]=G,f[R+3]=W,p[R+4]=n,f[R+5]=D,f[R+6]=I,f[R+7]=G,f[R+8]=j,p[R+9]=n,f[R+10]=z,f[R+11]=Y,f[R+12]=H,f[R+13]=j,p[R+14]=n,f[R+15]=O,f[R+16]=B,f[R+17]=G,f[R+18]=W,p[R+19]=n,f[R+20]=z,f[R+21]=Y,f[R+22]=H,f[R+23]=j,p[R+24]=n,f[R+25]=X,f[R+26]=N,f[R+27]=H,f[R+28]=W,p[R+29]=n,this.vertexCount+=6,this.flush()},batchGraphics:function(){}});t.exports=h},function(t,e){t.exports=function(t,e,i){var n;if(void 0===i&&(i=!0),e)"string"==typeof e?n=document.getElementById(e):"object"==typeof e&&1===e.nodeType&&(n=e);else if(t.parentElement)return t;return n||(n=document.body),i&&n.style&&(n.style.overflow="hidden"),n.appendChild(t),t}},function(t,e){var i,n="";t.exports={disable:function(t){return""===n&&(n=i(t)),n&&(t[n]=!1),t},enable:function(t){return""===n&&(n=i(t)),n&&(t[n]=!0),t},getPrefix:i=function(t){for(var e=["i","webkitI","msI","mozI","oI"],i=0;i=(t=t.toString()).length)switch(n){case 1:t=new Array(e+1-t.length).join(i)+t;break;case 3:var r=Math.ceil((s=e-t.length)/2);t=new Array(s-r+1).join(i)+t+new Array(r+1).join(i);break;default:t+=new Array(e+1-t.length).join(i)}return t}},function(t,e,i){var s=i(5);t.exports=function(t,e){void 0===e&&(e=new s);var i=Math.random()*Math.PI*2,n=Math.sqrt(Math.random());return e.x=t.x+n*Math.cos(i)*t.width/2,e.y=t.y+n*Math.sin(i)*t.height/2,e}},function(t,e,i){var s=i(97),r=i(5);t.exports=function(t,e,i){if(void 0===i&&(i=new r),e<=0||1<=e)return i.x=t.x,i.y=t.y,i;var n=s(t)*e;return.5=this.firstgid&&t=this.threshold?this.pressed||(this.pressed=!0,this.events.emit("down",e,this,t),this.pad.emit("down",i,t,this)):this.pressed&&(this.pressed=!1,this.events.emit("up",e,this,t),this.pad.emit("up",i,t,this))},destroy:function(){this.pad=null,this.events=null}});t.exports=n},function(t,e,i){var n=new(i(0))({initialize:function(t,e){this.pad=t,this.events=t.events,this.index=e,this.value=0,this.threshold=.1},update:function(t){this.value=t},getValue:function(){return Math.abs(this.value)>>16,T=(65280&m)>>>8,S=255&m,g.strokeStyle="rgba("+b+","+T+","+S+","+v+")",g.lineWidth=w,C+=3;break;case _.FILL_STYLE:x=p[C+1],y=p[C+2],b=(16711680&x)>>>16,T=(65280&x)>>>8,S=255&x,g.fillStyle="rgba("+b+","+T+","+S+","+y+")",C+=2;break;case _.BEGIN_PATH:g.beginPath();break;case _.CLOSE_PATH:g.closePath();break;case _.FILL_PATH:o||g.fill();break;case _.STROKE_PATH:o||g.stroke();break;case _.FILL_RECT:o?g.rect(p[C+1],p[C+2],p[C+3],p[C+4]):g.fillRect(p[C+1],p[C+2],p[C+3],p[C+4]),C+=4;break;case _.FILL_TRIANGLE:g.beginPath(),g.moveTo(p[C+1],p[C+2]),g.lineTo(p[C+3],p[C+4]),g.lineTo(p[C+5],p[C+6]),g.closePath(),o||g.fill(),C+=6;break;case _.STROKE_TRIANGLE:g.beginPath(),g.moveTo(p[C+1],p[C+2]),g.lineTo(p[C+3],p[C+4]),g.lineTo(p[C+5],p[C+6]),g.closePath(),o||g.stroke(),C+=6;break;case _.LINE_TO:g.lineTo(p[C+1],p[C+2]),C+=2;break;case _.MOVE_TO:g.moveTo(p[C+1],p[C+2]),C+=2;break;case _.LINE_FX_TO:g.lineTo(p[C+1],p[C+2]),C+=5;break;case _.MOVE_FX_TO:g.moveTo(p[C+1],p[C+2]),C+=5;break;case _.SAVE:g.save();break;case _.RESTORE:g.restore();break;case _.TRANSLATE:g.translate(p[C+1],p[C+2]),C+=2;break;case _.SCALE:g.scale(p[C+1],p[C+2]),C+=2;break;case _.ROTATE:g.rotate(p[C+1]),C+=1}g.restore()}}},function(t,e){t.exports=function(t){var e=t.width/2,i=t.height/2,n=Math.pow(e-i,2)/Math.pow(e+i,2);return Math.PI*(e+i)*(1+3*n/(10+Math.sqrt(4-3*n)))}},function(t,e,i){var o=i(177),a=i(113),h=i(65),l=i(16);t.exports=function(t,e,i,n){void 0===n&&(n=[]),e||(e=o(t)/i);for(var s=0;s=n-this.manager.loopEndOffset?(this.audio.currentTime=i+Math.max(0,s-n),s=this.audio.currentTime):sr.START&&n.settings.status<=r.RUNNING&&void 0===this.scenesUpdatedKeys[n.settings.key]&&n.step(t,e)}if(0=r.LOADING&&i.settings.status=i.x&&h>=i.y&&a<=i.x+r&&h<=i.y+o))return n;i.getWorldPoint(a,h,s),t.worldX=s.x,t.worldY=s.y;for(var l={x:0,y:0},u=this.game.config.resolution,c=this._tempMatrix,d=0;de.length&&(r=e.length),i?(n=e[r-1][i],(s=e[r][i])-t<=t-n?e[r]:e[r-1]):(n=e[r-1],(s=e[r])-t<=t-n?s:n)}},function(t,e,i){var n=i(23),s=i(0),r=i(209),g=i(208),v=i(4),o=new s({initialize:function(t,e,i){this.manager=t,this.key=e,this.type="frame",this.frames=this.getFrames(t.textureManager,v(i,"frames",[]),v(i,"defaultTextureKey",null)),this.frameRate=v(i,"frameRate",null),this.duration=v(i,"duration",null),null===this.duration&&null===this.frameRate?(this.frameRate=24,this.duration=this.frameRate/this.frames.length*1e3):this.duration&&null===this.frameRate?this.frameRate=this.frames.length/(this.duration/1e3):this.duration=this.frames.length/this.frameRate*1e3,this.msPerFrame=1e3/this.frameRate,this.skipMissedFrames=v(i,"skipMissedFrames",!0),this.delay=v(i,"delay",0),this.repeat=v(i,"repeat",0),this.repeatDelay=v(i,"repeatDelay",0),this.yoyo=v(i,"yoyo",!1),this.showOnStart=v(i,"showOnStart",!1),this.hideOnComplete=v(i,"hideOnComplete",!1),this.paused=!1,this.manager.on("pauseall",this.pause,this),this.manager.on("resumeall",this.resume,this)},addFrame:function(t){return this.addFrameAt(this.frames.length,t)},addFrameAt:function(t,e){var i=this.getFrames(this.manager.textureManager,e);if(0=this.frames.length&&(e=0),t.currentAnim!==this&&(t.currentAnim=this,t.frameRate=this.frameRate,t.duration=this.duration,t.msPerFrame=this.msPerFrame,t.skipMissedFrames=this.skipMissedFrames,t._timeScale=1,t._delay=this.delay,t._repeat=this.repeat,t._repeatDelay=this.repeatDelay,t._yoyo=this.yoyo),t.updateFrame(this.frames[e])},getFrameByProgress:function(t){return t=n(t,0,1),r(t,this.frames,"progress")},nextFrame:function(t){var e=t.currentFrame;e.isLast?t._yoyo?(t.forward=!1,t.updateFrame(e.prevFrame),this.getNextTick(t)):0=t.minX&&e.maxY>=t.minY}function g(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function v(t,e,i,n,s){for(var r,o=[e,i];o.length;)(i=o.pop())-(e=o.pop())<=n||(r=e+Math.ceil((i-e)/n/2)*n,a(t,r,e,i,s),o.push(e,r,r,i))}n.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,i=[],n=this.toBBox;if(!l(t,e))return i;for(var s,r,o,a,h=[];e;){for(s=0,r=e.children.length;sthis._maxEntries;)this._split(r,e),e--;this._adjustParentBBoxes(s,r,e)},_split:function(t,e){var i=t[e],n=i.children.length,s=this._minEntries;this._chooseSplitAxis(i,s,n);var r=this._chooseSplitIndex(i,s,n),o=g(i.children.splice(r,i.children.length-r));o.height=i.height,o.leaf=i.leaf,f(i,this.toBBox),f(o,this.toBBox),e?t[e-1].children.push(o):this._splitRoot(i,o)},_splitRoot:function(t,e){this.data=g([t,e]),this.data.height=t.height+1,this.data.leaf=!1,f(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,i){var n,s,r,o,a,h,l,u,c,d,f,p,g,v;for(h=l=1/0,n=e;n<=i-e;n++)s=y(t,0,n,this.toBBox),r=y(t,n,i,this.toBBox),c=s,d=r,void 0,f=Math.max(c.minX,d.minX),p=Math.max(c.minY,d.minY),g=Math.min(c.maxX,d.maxX),v=Math.min(c.maxY,d.maxY),o=Math.max(0,g-f)*Math.max(0,v-p),a=m(s)+m(r),o80*i){n=r=t[0],s=o=t[1];for(var p=i;pr.x?s.x>o.x?s.x:o.x:r.x>o.x?r.x:o.x,u=s.y>r.y?s.y>o.y?s.y:o.y:r.y>o.y?r.y:o.y,c=p(a,h,e,i,n),d=p(l,u,e,i,n),f=t.nextZ;f&&f.z<=d;){if(f!==t.prev&&f!==t.next&&b(s.x,s.y,r.x,r.y,o.x,o.y,f.x,f.y)&&0<=T(f.prev,f,f.next))return!1;f=f.nextZ}for(f=t.prevZ;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&b(s.x,s.y,r.x,r.y,o.x,o.y,f.x,f.y)&&0<=T(f.prev,f,f.next))return!1;f=f.prevZ}return!0}function d(t,e,i){var n=t;do{var s=n.prev,r=n.next.next;!a(s,r)&&S(s,n,n.next,r)&&A(s,r)&&A(r,s)&&(e.push(s.i/i),e.push(n.i/i),e.push(r.i/i),M(n),M(n.next),n=t=r),n=n.next}while(n!==t);return n}function f(t,e,i,n,s,r){var o,a,h=t;do{for(var l=h.next.next;l!==h.prev;){if(h.i!==l.i&&(a=l,(o=h).next.i!==a.i&&o.prev.i!==a.i&&!function(t,e){var i=t;do{if(i.i!==t.i&&i.next.i!==t.i&&i.i!==e.i&&i.next.i!==e.i&&S(i,i.next,t,e))return!0;i=i.next}while(i!==t);return!1}(o,a)&&A(o,a)&&A(a,o)&&function(t,e){var i=t,n=!1,s=(t.x+e.x)/2,r=(t.y+e.y)/2;for(;i.y>r!=i.next.y>r&&i.next.y!==i.y&&s<(i.next.x-i.x)*(r-i.y)/(i.next.y-i.y)+i.x&&(n=!n),i=i.next,i!==t;);return n}(o,a))){var u=C(h,l);return h=v(h,h.next),u=v(u,u.next),y(h,e,i,n,s,r),void y(u,e,i,n,s,r)}l=l.next}h=h.next}while(h!==t)}function m(t,e){return t.x-e.x}function x(t,e){if(e=function(t,e){var i,n=e,s=t.x,r=t.y,o=-1/0;do{if(r<=n.y&&r>=n.next.y&&n.next.y!==n.y){var a=n.x+(r-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(a<=s&&o=n.x&&n.x>=u&&s!==n.x&&b(ri.x)&&A(n,t)&&(i=n,d=h),n=n.next;return i}(t,e)){var i=C(e,t);v(i,i.next)}}function p(t,e,i,n,s){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-i)/s)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)/s)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function w(t){for(var e=t,i=t;e.xthis.vertexCapacity&&this.flush();var m=this.vertexViewF32,x=this.vertexViewU32,w=this.vertexCount*this.vertexComponentCount,b=r+a,T=o+h,S=y[0],A=y[1],C=y[2],M=y[3],_=c*S+d*C,E=c*A+d*M,P=f*S+p*C,k=f*A+p*M,L=g*S+v*C+y[4],F=g*A+v*M+y[5],R=r*_+o*P+L,O=r*E+o*k+F,B=r*_+T*P+L,D=r*E+T*k+F,I=b*_+T*P+L,z=b*E+T*k+F,Y=b*_+o*P+L,X=b*E+o*k+F,N=ot.getTintAppendFloatAlphaAndSwap(l,u);m[w+0]=R,m[w+1]=O,x[w+2]=N,m[w+3]=B,m[w+4]=D,x[w+5]=N,m[w+6]=I,m[w+7]=z,x[w+8]=N,m[w+9]=R,m[w+10]=O,x[w+11]=N,m[w+12]=I,m[w+13]=z,x[w+14]=N,m[w+15]=Y,m[w+16]=X,x[w+17]=N,this.vertexCount+=6},batchFillTriangle:function(t,e,i,n,s,r,o,a,h,l,u,c,d,f,p,g,v,y,m,x){this.renderer.setPipeline(this),this.vertexCount+3>this.vertexCapacity&&this.flush();var w=this.vertexViewF32,b=this.vertexViewU32,T=this.vertexCount*this.vertexComponentCount,S=x[0],A=x[1],C=x[2],M=x[3],_=f*S+p*C,E=f*A+p*M,P=g*S+v*C,k=g*A+v*M,L=y*S+m*C+x[4],F=y*A+m*M+x[5],R=r*_+o*P+L,O=r*E+o*k+F,B=a*_+h*P+L,D=a*E+h*k+F,I=l*_+u*P+L,z=l*E+u*k+F,Y=ot.getTintAppendFloatAlphaAndSwap(c,d);w[T+0]=R,w[T+1]=O,b[T+2]=Y,w[T+3]=B,w[T+4]=D,b[T+5]=Y,w[T+6]=I,w[T+7]=z,b[T+8]=Y,this.vertexCount+=3},batchStrokeTriangle:function(t,e,i,n,s,r,o,a,h,l,u,c,d,f,p,g,v,y,m,x,w){var b=this.tempTriangle;b[0].x=r,b[0].y=o,b[0].width=c,b[0].rgb=d,b[0].alpha=f,b[1].x=a,b[1].y=h,b[1].width=c,b[1].rgb=d,b[1].alpha=f,b[2].x=l,b[2].y=u,b[2].width=c,b[2].rgb=d,b[2].alpha=f,b[3].x=r,b[3].y=o,b[3].width=c,b[3].rgb=d,b[3].alpha=f,this.batchStrokePath(t,e,i,n,s,b,c,d,f,p,g,v,y,m,x,!1,w)},batchFillPath:function(t,e,i,n,s,r,o,a,h,l,u,c,d,f,p){this.renderer.setPipeline(this);for(var g,v,y,m,x,w,b,T,S,A,C,M,_,E,P,k,L,F=r.length,R=this.polygonCache,O=this.vertexViewF32,B=this.vertexViewU32,D=0,I=p[0],z=p[1],Y=p[2],X=p[3],N=h*I+l*Y,V=h*z+l*X,U=u*I+c*Y,G=u*z+c*X,W=d*I+f*Y+p[4],H=d*z+f*X+p[5],j=ot.getTintAppendFloatAlphaAndSwap(o,a),q=0;qthis.vertexCapacity&&this.flush(),D=this.vertexCount*this.vertexComponentCount,M=(w=R[y+0])*N+(b=R[y+1])*U+W,_=w*V+b*G+H,E=(T=R[m+0])*N+(S=R[m+1])*U+W,P=T*V+S*G+H,k=(A=R[x+0])*N+(C=R[x+1])*U+W,L=A*V+C*G+H,O[D+0]=M,O[D+1]=_,B[D+2]=j,O[D+3]=E,O[D+4]=P,B[D+5]=j,O[D+6]=k,O[D+7]=L,B[D+8]=j,this.vertexCount+=3;R.length=0},batchStrokePath:function(t,e,i,n,s,r,o,a,h,l,u,c,d,f,p,g,v){var y,m;this.renderer.setPipeline(this);for(var x,w,b,T,S=r.length,A=this.polygonCache,C=this.vertexViewF32,M=this.vertexViewU32,_=ot.getTintAppendFloatAlphaAndSwap,E=0;E+1this.vertexCapacity&&this.flush(),x=A[P-1]||A[k-1],w=A[P],C[(b=this.vertexCount*this.vertexComponentCount)+0]=x[6],C[b+1]=x[7],M[b+2]=_(x[8],h),C[b+3]=x[0],C[b+4]=x[1],M[b+5]=_(x[2],h),C[b+6]=w[9],C[b+7]=w[10],M[b+8]=_(w[11],h),C[b+9]=x[0],C[b+10]=x[1],M[b+11]=_(x[2],h),C[b+12]=x[6],C[b+13]=x[7],M[b+14]=_(x[8],h),C[b+15]=w[3],C[b+16]=w[4],M[b+17]=_(w[5],h),this.vertexCount+=6;A.length=0},batchLine:function(t,e,i,n,s,r,o,a,h,l,u,c,d,f,p,g,v,y,m,x,w){this.renderer.setPipeline(this),this.vertexCount+6>this.vertexCapacity&&this.flush();var b=w[0],T=w[1],S=w[2],A=w[3],C=p*b+g*S,M=p*T+g*A,_=v*b+y*S,E=v*T+y*A,P=m*b+x*S+w[4],k=m*T+x*A+w[5],L=this.vertexViewF32,F=this.vertexViewU32,R=a-r,O=h-o,B=Math.sqrt(R*R+O*O),D=l*(h-o)/B,I=l*(r-a)/B,z=u*(h-o)/B,Y=u*(r-a)/B,X=a-z,N=h-Y,V=r-D,U=o-I,G=a+z,W=h+Y,H=r+D,j=o+I,q=X*C+N*_+P,K=X*M+N*E+k,J=V*C+U*_+P,Z=V*M+U*E+k,Q=G*C+W*_+P,$=G*M+W*E+k,tt=H*C+j*_+P,et=H*M+j*E+k,it=ot.getTintAppendFloatAlphaAndSwap,nt=it(c,f),st=it(d,f),rt=this.vertexCount*this.vertexComponentCount;return L[rt+0]=q,L[rt+1]=K,F[rt+2]=st,L[rt+3]=J,L[rt+4]=Z,F[rt+5]=nt,L[rt+6]=Q,L[rt+7]=$,F[rt+8]=st,L[rt+9]=J,L[rt+10]=Z,F[rt+11]=nt,L[rt+12]=tt,L[rt+13]=et,F[rt+14]=nt,L[rt+15]=Q,L[rt+16]=$,F[rt+17]=st,this.vertexCount+=6,[q,K,d,J,Z,c,Q,$,d,tt,et,c]},batchGraphics:function(t,e,i){if(!(t.commandBuffer.length<=0)){var n=null;i&&(n=i.matrix),this.renderer.setPipeline(this);var s,r,o,a,h,l,u,c,d=e.scrollX*t.scrollFactorX,f=e.scrollY*t.scrollFactorY,p=t.x,g=t.y,v=t.scaleX,y=t.scaleY,m=t.rotation,x=t.commandBuffer,w=t.alpha,b=1,T=1,S=0,A=0,C=1,M=e.matrix.matrix,_=null,E=0,P=0,k=0,L=0,F=0,R=0,O=0,B=0,D=0,I=0,z=null,Y=Math.sin,X=Math.cos,N=2*Math.PI,V=Y(m),U=X(m),G=U*v,W=V*v,H=-V*y,j=U*y,q=p,K=g,J=M[0],Z=M[1],Q=M[2],$=M[3],tt=M[4],et=M[5];if(n){var it=n[0],nt=n[1],st=n[2],rt=n[3],ot=n[4],at=n[5],ht=-d,lt=-f,ut=it*J+nt*Q,ct=it*Z+nt*$,dt=st*J+rt*Q,ft=st*Z+rt*$;s=G*ut+W*dt,r=G*ct+W*ft,o=H*ut+j*dt,a=H*ct+j*ft,h=q*ut+K*dt+(ot*J+at*Q+(ht*J+lt*Q+tt)),l=q*ct+K*ft+(ot*Z+at*$+(ht*Z+lt*$+et))}else s=G*J+W*Q,r=G*Z+W*$,o=H*J+j*Q,a=H*Z+j*$,h=(q-=d)*J+(K-=f)*Q+tt,l=q*Z+K*$+et;for(var pt=Tt.length=0,gt=x.length;pt>>24,r:t>>16&255,g:t>>8&255,b:255&t}:{a:255,r:t>>16&255,g:t>>8&255,b:255&t}}},function(t,e,i){var n=i(30),s=i(282);t.exports=function(t){var e=s(t);return new n(e.r,e.g,e.b,e.a)}},function(t,e){t.exports=function(t,e,i,n){return n<<24|t<<16|e<<8|i}},function(t,e,i){var o=i(30);t.exports=function(t){var e=new o;t=t.replace(/^(?:#|0x)?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,i,n){return e+e+i+i+n+n});var i=/^(?:#|0x)?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);if(i){var n=parseInt(i[1],16),s=parseInt(i[2],16),r=parseInt(i[3],16);e.setTo(n,s,r)}return e}},function(t,e){t.exports=function(t,e,i){return t<=e?0:i<=t?1:(t=(t-e)/(i-e))*t*(3-2*t)}},function(t,e){t.exports=function(t,e,i){return(t=Math.max(0,Math.min(1,(t-e)/(i-e))))*t*t*(t*(6*t-15)+10)}},function(t,e){t.exports=function(t,e,i,n,s){var r=n+Math.atan2(t.y-i,t.x-e);return t.x=e+s*Math.cos(r),t.y=i+s*Math.sin(r),t}},function(t,e){t.exports=function(t,e){void 0===e&&(e=1);for(var i=null,n=0;n>>0,i=(e*=i)>>>0,i+=4294967296*(e-=i);return 2.3283064365386963e-10*((this.n=i)>>>0)},init:function(t){"string"==typeof t?this.state(t):this.sow(t)},sow:function(t){if(this.n=4022871197,this.s0=this.hash(" "),this.s1=this.hash(" "),this.s2=this.hash(" "),this.c=1,t)for(var e=0;e=this.nextTick&&this.currentAnim.setFrame(this)}},setCurrentFrame:function(t){var e=this.parent;return this.currentFrame=t,e.texture=t.frame.texture,e.frame=t.frame,e.setSizeToFrame(),t.frame.customPivot?e.setOrigin(t.frame.pivotX,t.frame.pivotY):e.updateDisplayOrigin(),e},updateFrame:function(t){var e=this.setCurrentFrame(t);if(this.isPlaying){t.setAlpha&&(e.alpha=t.alpha);var i=this.currentAnim;e.emit("animationupdate",i,t),3===this._pendingStop&&this._pendingStopValue===t&&this.currentAnim.completeAnimation(this)}},setYoyo:function(t){return void 0===t&&(t=!1),this._yoyo=t,this.parent},getYoyo:function(){return this._yoyo},destroy:function(){this.animationManager.off("remove",this.remove,this),this.animationManager=null,this.parent=null,this.currentAnim=null,this.currentFrame=null}});t.exports=n},function(t,e,i){var n=i(0),s=i(161),r=i(12),o=i(160),a=i(61),h=i(72),l=new n({initialize:function(t){this.scene=t,this.systems=t.sys,this.timeScale=1,this._add=[],this._pending=[],this._active=[],this._destroy=[],this._toProcess=0,t.sys.events.once("boot",this.boot,this),t.sys.events.on("start",this.start,this)},boot:function(){this.systems.events.once("destroy",this.destroy,this)},start:function(){var t=this.systems.events;t.on("preupdate",this.preUpdate,this),t.on("update",this.update,this),t.once("shutdown",this.shutdown,this),this.timeScale=1},createTimeline:function(t){return o(this,t)},timeline:function(t){var e=o(this,t);return e.paused||(this._add.push(e),this._toProcess++),e},create:function(t){return h(this,t)},add:function(t){var e=h(this,t);return this._add.push(e),this._toProcess++,e},existing:function(t){return this._add.push(t),this._toProcess++,this},addCounter:function(t){var e=s(this,t);return this._add.push(e),this._toProcess++,e},preUpdate:function(){if(0!==this._toProcess){var t,e,i=this._destroy,n=this._active;for(t=0;t=n.delay)){var s=n.elapsed-n.delay;n.elapsed=n.delay,!n.hasDispatched&&n.callback&&(n.hasDispatched=!0,n.callback.apply(n.callbackScope,n.args)),0n&&(n=e.layer[r].width),e.layer[r].height>s&&(s=e.layer[r].height);var o=new h({width:n,height:s,name:t,tileWidth:e.layer[0].tilesize,tileHeight:e.layer[0].tilesize,format:a.WELTMEISTER});return o.layers=l(e,i),o.tilesets=u(e),o}},function(t,e,i){var n=i(0),s=i(1),r=new n({initialize:function(t){void 0===t&&(t={}),this.name=s(t,"name","object layer"),this.opacity=s(t,"opacity",1),this.properties=s(t,"properties",{}),this.propertyTypes=s(t,"propertytypes",{}),this.type=s(t,"type","objectgroup"),this.visible=s(t,"visible",!0),this.objects=s(t,"objects",[])}});t.exports=r},function(t,e,i){var r=i(633),o=i(316),a=function(t){return{x:t.x,y:t.y}},h=["id","name","type","rotation","properties","visible","x","y","width","height"];t.exports=function(t,e,i){void 0===e&&(e=0),void 0===i&&(i=0);var n=r(t,h);if(n.x+=e,n.y+=i,t.gid){var s=o(t.gid);n.gid=s.gid,n.flippedHorizontal=s.flippedHorizontal,n.flippedVertical=s.flippedVertical,n.flippedAntiDiagonal=s.flippedAntiDiagonal}else t.polyline?n.polyline=t.polyline.map(a):t.polygon?n.polygon=t.polygon.map(a):t.ellipse?(n.ellipse=t.ellipse,n.width=t.width,n.height=t.height):t.text?(n.width=t.width,n.height=t.height,n.text=t.text):(n.rectangle=!0,n.width=t.width,n.height=t.height);return n}},function(t,e,i){var n=new(i(0))({initialize:function(t,e,i,n,s,r,o){(void 0===i||i<=0)&&(i=32),(void 0===n||n<=0)&&(n=32),void 0===s&&(s=0),void 0===r&&(r=0),this.name=t,this.firstgid=0|e,this.imageWidth=0|i,this.imageHeight=0|n,this.imageMargin=0|s,this.imageSpacing=0|r,this.properties=o||{},this.images=[],this.total=0},containsImageIndex:function(t){return t>=this.firstgid&&t=this._duration&&this.transitionComplete()},transitionComplete:function(){var t=this._target.sys,e=this._target.sys.settings;this.systems.events.off("update",this.step,this),t.events.emit("transitioncomplete",this.scene),e.isTransition=!1,e.transitionFrom=null,this._duration=0,this._target=null,this._onUpdate=null,this._onUpdateScope=null,this._willRemove?this.manager.remove(this.key):this._willSleep?this.systems.sleep():this.manager.stop(this.key)},add:function(t,e,i){return this.manager.add(t,e,i),this},launch:function(t,e){return t&&t!==this.key&&(this.settings.status!==r.RUNNING?this.manager.queueOp("start",t,e):this.manager.start(t,e)),this},run:function(t,e){return this.settings.status!==r.RUNNING?this.manager.queueOp("run",t,e):this.manager.run(t,e),this},pause:function(t){return void 0===t&&(t=this.key),this.manager.pause(t),this},resume:function(t){return void 0===t&&(t=this.key),this.manager.resume(t),this},sleep:function(t){return void 0===t&&(t=this.key),this.manager.sleep(t),this},wake:function(t){return void 0===t&&(t=this.key),this.manager.wake(t),this},switch:function(t){return t!==this.key&&(this.settings.status!==r.RUNNING?this.manager.queueOp("switch",this.key,t):this.manager.switch(this.key,t)),this},stop:function(t){return void 0===t&&(t=this.key),this.manager.stop(t),this},setActive:function(t,e){void 0===e&&(e=this.key);var i=this.manager.getScene(e);return i&&i.sys.setActive(t),this},setVisible:function(t,e){void 0===e&&(e=this.key);var i=this.manager.getScene(e);return i&&i.sys.setVisible(t),this},isSleeping:function(t){return void 0===t&&(t=this.key),this.manager.isSleeping(t)},isActive:function(t){return void 0===t&&(t=this.key),this.manager.isActive(t)},isVisible:function(t){return void 0===t&&(t=this.key),this.manager.isVisible(t)},swapPosition:function(t,e){return void 0===e&&(e=this.key),t!==e&&this.manager.swapPosition(t,e),this},moveAbove:function(t,e){return void 0===e&&(e=this.key),t!==e&&this.manager.moveAbove(t,e),this},moveBelow:function(t,e){return void 0===e&&(e=this.key),t!==e&&this.manager.moveBelow(t,e),this},remove:function(t){return void 0===t&&(t=this.key),this.manager.remove(t),this},moveUp:function(t){return void 0===t&&(t=this.key),this.manager.moveUp(t),this},moveDown:function(t){return void 0===t&&(t=this.key),this.manager.moveDown(t),this},bringToTop:function(t){return void 0===t&&(t=this.key),this.manager.bringToTop(t),this},sendToBack:function(t){return void 0===t&&(t=this.key),this.manager.sendToBack(t),this},get:function(t){return this.manager.getScene(t)},getIndex:function(t){return void 0===t&&(t=this.key),this.manager.getIndex(t)},shutdown:function(){var t=this.systems.events;t.off("shutdown",this.shutdown,this),t.off("postupdate",this.step,this),t.off("transitionout")},destroy:function(){this.shutdown(),this.scene.sys.events.off("start",this.start,this),this.scene=null,this.systems=null,this.settings=null,this.manager=null}});o.register("ScenePlugin",h,"scenePlugin"),t.exports=h},function(t,e,i){var n=i(55),s=i(17),r={SceneManager:i(194),ScenePlugin:i(327),Settings:i(192),Systems:i(118)};r=s(!1,r,n),t.exports=r},function(t,e,i){var n=i(165),s=new(i(0))({Extends:n,initialize:function(t,e){n.call(this,e),this.scene=t,this.systems=t.sys,t.sys.events.once("boot",this.boot,this)},boot:function(){}});t.exports=s},function(t,e,i){t.exports={BasePlugin:i(165),DefaultPlugins:i(121),PluginCache:i(12),PluginManager:i(196),ScenePlugin:i(329)}},function(t,e,i){var u={};t.exports=u;var n=i(301);u._motionWakeThreshold=.18,u._motionSleepThreshold=.08,u._minBias=.9,u.update=function(t,e){for(var i=e*e*e,n=0;n=s.sleepThreshold&&u.set(s,!0)):0u._motionWakeThreshold*i&&u.set(h,!1)}}}},u.set=function(t,e){var i=t.isSleeping;e?(t.isSleeping=!0,t.sleepCounter=t.sleepThreshold,t.positionImpulse.x=0,t.positionImpulse.y=0,t.positionPrev.x=t.position.x,t.positionPrev.y=t.position.y,t.anglePrev=t.angle,t.speed=0,t.angularSpeed=0,t.motion=0,i||n.trigger(t,"sleepStart")):(t.isSleeping=!1,t.sleepCounter=0,i&&n.trigger(t,"sleepEnd"))}},function(t,e){t.exports={NONE:0,A:1,B:2,BOTH:3}},function(t,e){t.exports={NEVER:0,LITE:1,PASSIVE:2,ACTIVE:4,FIXED:8}},function(t,e,i){var n=i(32),s=i(0),r=i(42),o=i(31),a=i(6),h=new s({initialize:function(t,e){var i=e.width?e.width:64,n=e.height?e.height:64;this.world=t,this.gameObject=e,this.debugShowBody=t.defaults.debugShowStaticBody,this.debugBodyColor=t.defaults.staticBodyDebugColor,this.enable=!0,this.isCircle=!1,this.radius=0,this.offset=new a,this.position=new a(e.x-e.displayOriginX,e.y-e.displayOriginY),this.width=i,this.height=n,this.halfWidth=Math.abs(this.width/2),this.halfHeight=Math.abs(this.height/2),this.center=new a(e.x+this.halfWidth,e.y+this.halfHeight),this.velocity=a.ZERO,this.allowGravity=!1,this.gravity=a.ZERO,this.bounce=a.ZERO,this.onWorldBounds=!1,this.onCollide=!1,this.onOverlap=!1,this.mass=1,this.immovable=!0,this.customSeparateX=!1,this.customSeparateY=!1,this.overlapX=0,this.overlapY=0,this.overlapR=0,this.embedded=!1,this.collideWorldBounds=!1,this.checkCollision={none:!1,up:!0,down:!0,left:!0,right:!0},this.touching={none:!0,up:!1,down:!1,left:!1,right:!1},this.wasTouching={none:!0,up:!1,down:!1,left:!1,right:!1},this.blocked={none:!0,up:!1,down:!1,left:!1,right:!1},this.physicsType=r.STATIC_BODY,this._dx=0,this._dy=0},setGameObject:function(t,e){return t&&t!==this.gameObject&&(this.gameObject.body=null,(t.body=this).gameObject=t),e&&this.updateFromGameObject(),this},updateFromGameObject:function(){this.world.staticTree.remove(this);var t=this.gameObject;return t.getTopLeft(this.position),this.width=t.displayWidth,this.height=t.displayHeight,this.halfWidth=Math.abs(this.width/2),this.halfHeight=Math.abs(this.height/2),this.center.set(this.position.x+this.halfWidth,this.position.y+this.halfHeight),this.world.staticTree.insert(this),this},setOffset:function(t,e){return void 0===e&&(e=t),this.world.staticTree.remove(this),this.position.x-=this.offset.x,this.position.y-=this.offset.y,this.offset.set(t,e),this.position.x+=this.offset.x,this.position.y+=this.offset.y,this.updateCenter(),this.world.staticTree.insert(this),this},setSize:function(t,e,i,n){return void 0===i&&(i=this.offset.x),void 0===n&&(n=this.offset.y),this.world.staticTree.remove(this),this.width=t,this.height=e,this.halfWidth=Math.floor(t/2),this.halfHeight=Math.floor(e/2),this.offset.set(i,n),this.updateCenter(),this.isCircle=!1,this.radius=0,this.world.staticTree.insert(this),this},setCircle:function(t,e,i){return void 0===e&&(e=this.offset.x),void 0===i&&(i=this.offset.y),0=t.right||e.position.y>=t.bottom)}},function(t,e,i){var o=i(42);t.exports=function(t,e,i,n){var s=0,r=t.deltaAbsY()+e.deltaAbsY()+n;return 0===t._dy&&0===e._dy?(t.embedded=!0,e.embedded=!0):t._dy>e._dy?r<(s=t.bottom-e.y)&&!i||!1===t.checkCollision.down||!1===e.checkCollision.up?s=0:(t.touching.none=!1,t.touching.down=!0,e.touching.none=!1,e.touching.up=!0,e.physicsType===o.STATIC_BODY&&(t.blocked.down=!0),t.physicsType===o.STATIC_BODY&&(e.blocked.up=!0)):t._dye._dx?r<(s=t.right-e.x)&&!i||!1===t.checkCollision.right||!1===e.checkCollision.left?s=0:(t.touching.none=!1,t.touching.right=!0,e.touching.none=!1,e.touching.left=!0,e.physicsType===o.STATIC_BODY&&(t.blocked.right=!0),t.physicsType===o.STATIC_BODY&&(e.blocked.left=!0)):t._dxthis.deltaMax.x&&(this._dx=this.deltaMax.x)),0!==this.deltaMax.y&&0!==this._dy&&(this._dy<0&&this._dy<-this.deltaMax.y?this._dy=-this.deltaMax.y:0this.deltaMax.y&&(this._dy=this.deltaMax.y)),this.gameObject.x+=this._dx,this.gameObject.y+=this._dy,this._reset=!0),this._dx<0?this.facing=r.FACING_LEFT:0e.right&&i.right&&(t.x=e.right-this.width,this.velocity.x*=n,this.blocked.right=!0,this.blocked.none=!1),t.ye.bottom&&i.down&&(t.y=e.bottom-this.height,this.velocity.y*=s,this.blocked.down=!0,this.blocked.none=!1),!this.blocked.none},setOffset:function(t,e){return void 0===e&&(e=t),this.offset.set(t,e),this},setSize:function(t,e,i){void 0===i&&(i=!0);var n=this.gameObject;if(this.sourceWidth=t,this.sourceHeight=e,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.updateCenter(),i&&n.getCenter){var s=n.displayWidth/2,r=n.displayHeight/2;this.offset.set(s-this.halfWidth,r-this.halfHeight)}return this.isCircle=!1,this.radius=0,this},setCircle:function(t,e,i){return void 0===e&&(e=this.offset.x),void 0===i&&(i=this.offset.y),0=s;)this._elapsed-=s,i++,this.step(n);this.stepsLastFrame=i}},step:function(t){var e,i,n=this.bodies.entries,s=n.length;for(e=0;eu)&&(c.xl))return this.separateCircle(t,e,s)}var d=!1,f=!1;this.forceX||Math.abs(this.gravity.y+t.gravity.y)Math.PI/2&&(u<0&&!t.immovable&&f=e.right||t.position.y>=e.bottom))},circleBodyIntersects:function(t,e){var i=f(t.center.x,e.left,e.right),n=f(t.center.y,e.top,e.bottom);return(t.center.x-i)*(t.center.x-i)+(t.center.y-n)*(t.center.y-n)<=t.halfWidth*t.halfWidth},overlap:function(t,e,i,n,s){return void 0===i&&(i=null),void 0===n&&(n=null),void 0===s&&(s=i),this.collideObjects(t,e,i,n,s,!0)},collide:function(t,e,i,n,s){return void 0===i&&(i=null),void 0===n&&(n=null),void 0===s&&(s=i),this.collideObjects(t,e,i,n,s,!1)},collideObjects:function(t,e,i,n,s,r){var o;t.isParent&&void 0===t.physicsType&&(t=t.children.entries),e&&e.isParent&&void 0===e.physicsType&&(e=e.children.entries);var a=Array.isArray(t),h=Array.isArray(e);if(this._total=0,a||h)if(!a&&h)for(o=0;oc.baseTileWidth){var d=(c.tileWidth-c.baseTileWidth)*e.scaleX;a-=d,l+=d}c.tileHeight>c.baseTileHeight&&(u+=(c.tileHeight-c.baseTileHeight)*e.scaleY);var f,p=e.getTilesWithinWorldXY(a,h,l,u);if(0===p.length)return!1;for(var g={left:0,right:0,top:0,bottom:0},v=0;v=this.dragDistanceThreshold&&(t.dragState=3),0=t.downTime+this.dragTimeThreshold&&(t.dragState=3)),3===t.dragState){for(s=this._drag[t.id],i=0;it.width*t.height)&&e.x>t.x&&e.xt.x&&e.rightt.y&&e.yt.y&&e.bottome.right||t.y>e.bottom)}},function(t,e,i){t.exports={CircleToCircle:i(844),CircleToRectangle:i(843),GetRectangleIntersection:i(842),LineToCircle:i(397),LineToLine:i(144),LineToRectangle:i(841),PointToLine:i(396),PointToLineSegment:i(840),RectangleToRectangle:i(398),RectangleToTriangle:i(839),RectangleToValues:i(838),TriangleToCircle:i(837),TriangleToLine:i(836),TriangleToTriangle:i(835)}},function(t,e,i){t.exports={Circle:i(854),Ellipse:i(249),Intersects:i(399),Line:i(834),Point:i(816),Polygon:i(802),Rectangle:i(389),Triangle:i(774)}},function(t,e,i){var n=i(0),a=i(402),p=i(148),h=i(27),s=new n({initialize:function(){this.lightPool=[],this.lights=[],this.culledLights=[],this.ambientColor={r:.1,g:.1,b:.1},this.active=!1},enable:function(){return this.active=!0,this},disable:function(){return this.active=!1,this},cull:function(t){for(var e=this.lights,i=this.culledLights,n=e.length,s=t.x+t.width/2,r=t.y+t.height/2,o=(t.width+t.height)/2,a={x:0,y:0},h=t.matrix,l=this.systems.game.config.height,u=i.length=0;uc&&(f=-c),0!==f&&(d+=0this._length&&(this.counter=this._length-1),this},changeSource:function(t){return this.source=t,this.updateSource()},getPoint:function(t){0===this._direction?(this.counter++,this.counter>=this._length&&(this.yoyo?(this._direction=1,this.counter=this._length-1):this.counter=0)):(this.counter--,-1===this.counter&&(this.yoyo?(this._direction=0,this.counter=0):this.counter=this._length-1));var e=this.points[this.counter];e&&(t.x=e.x,t.y=e.y)}});t.exports=n},function(t,e,i){var n=new(i(0))({initialize:function(t,e){this.source=t,this.killOnEnter=e},willKill:function(t){var e=this.source.contains(t.x,t.y);return e&&this.killOnEnter||!e&&!this.killOnEnter}});t.exports=n},function(t,e,i){var n=i(51),s=i(0),r=i(15),o=i(455),a=i(454),h=i(899),l=i(1),u=i(146),c=i(420),d=i(111),f=i(457),p=i(419),g=i(14),v=i(83),y=i(6),m=i(39),x=new s({Mixins:[r.BlendMode,r.Mask,r.ScrollFactor,r.Visible],initialize:function(t,e){this.manager=t,this.texture=t.texture,this.frames=[t.defaultFrame],this.defaultFrame=t.defaultFrame,this.configFastMap=["active","blendMode","collideBottom","collideLeft","collideRight","collideTop","deathCallback","deathCallbackScope","emitCallback","emitCallbackScope","follow","frequency","gravityX","gravityY","maxParticles","name","on","particleBringToTop","particleClass","radial","timeScale","trackVisible","visible"],this.configOpMap=["accelerationX","accelerationY","angle","alpha","bounce","delay","lifespan","maxVelocityX","maxVelocityY","moveToX","moveToY","quantity","rotate","scaleX","scaleY","speedX","speedY","tint","x","y"],this.name="",this.particleClass=f,this.x=new h(e,"x",0),this.y=new h(e,"y",0),this.radial=!0,this.gravityX=0,this.gravityY=0,this.acceleration=!1,this.accelerationX=new h(e,"accelerationX",0,!0),this.accelerationY=new h(e,"accelerationY",0,!0),this.maxVelocityX=new h(e,"maxVelocityX",1e4,!0),this.maxVelocityY=new h(e,"maxVelocityY",1e4,!0),this.speedX=new h(e,"speedX",0,!0),this.speedY=new h(e,"speedY",0,!0),this.moveTo=!1,this.moveToX=new h(e,"moveToX",0,!0),this.moveToY=new h(e,"moveToY",0,!0),this.bounce=new h(e,"bounce",0,!0),this.scaleX=new h(e,"scaleX",1),this.scaleY=new h(e,"scaleY",1),this.tint=new h(e,"tint",4294967295),this.alpha=new h(e,"alpha",1),this.lifespan=new h(e,"lifespan",1e3),this.angle=new h(e,"angle",{min:0,max:360}),this.rotate=new h(e,"rotate",0),this.emitCallback=null,this.emitCallbackScope=null,this.deathCallback=null,this.deathCallbackScope=null,this.maxParticles=0,this.quantity=new h(e,"quantity",1,!0),this.delay=new h(e,"delay",0,!0),this.frequency=0,this.on=!0,this.particleBringToTop=!0,this.timeScale=1,this.emitZone=null,this.deathZone=null,this.bounds=null,this.collideLeft=!0,this.collideRight=!0,this.collideTop=!0,this.collideBottom=!0,this.active=!0,this.visible=!0,this.blendMode=n.NORMAL,this.follow=null,this.followOffset=new y,this.trackVisible=!1,this.currentFrame=0,this.randomFrame=!0,this.frameQuantity=1,this.dead=[],this.alive=[],this._counter=0,this._frameCounter=0,e&&this.fromJSON(e)},fromJSON:function(t){if(!t)return this;var e=0,i="";for(e=0;e>16)+(65280&t)+((255&t)<<16)},s=new n({initialize:function(t){this.emitter=t,this.frame=null,this.index=0,this.x=0,this.y=0,this.velocityX=0,this.velocityY=0,this.accelerationX=0,this.accelerationY=0,this.maxVelocityX=1e4,this.maxVelocityY=1e4,this.bounce=0,this.scaleX=1,this.scaleY=1,this.alpha=1,this.angle=0,this.rotation=0,this.tint=16777215,this.color=16777215,this.life=1e3,this.lifeCurrent=1e3,this.delayCurrent=0,this.lifeT=0,this.data={tint:{min:16777215,max:16777215,current:16777215},alpha:{min:1,max:1},rotate:{min:0,max:0},scaleX:{min:1,max:1},scaleY:{min:1,max:1}}},isAlive:function(){return 0>>0,this.index=i.alive.length},computeVelocity:function(t,e,i,n){var s=this.velocityX,r=this.velocityY,o=this.accelerationX,a=this.accelerationY,h=this.maxVelocityX,l=this.maxVelocityY;s+=t.gravityX*i,r+=t.gravityY*i,o&&(s+=o*i),a&&(r+=a*i),he.right&&t.collideRight&&(this.x=e.right,this.velocityX*=i),this.ye.bottom&&t.collideBottom&&(this.y=e.bottom,this.velocityY*=i)},update:function(t,e,i){if(0>>0,this.lifeCurrent-=t,this.lifeCurrent<=0}});t.exports=s},function(t,e,i){var n=i(0),o=i(1),s=new n({initialize:function(t,e,i,n,s){if("object"==typeof t){var r=t;t=o(r,"x",0),e=o(r,"y",0),i=o(r,"power",0),n=o(r,"epsilon",100),s=o(r,"gravity",50)}else void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=100),void 0===s&&(s=50);this.x=t,this.y=e,this.active=!0,this._gravity=s,this._power=0,this._epsilon=0,this.power=i,this.epsilon=n},update:function(t,e){var i=this.x-t.x,n=this.y-t.y,s=i*i+n*n;if(0!==s){var r=Math.sqrt(s);st.length-1)throw new Error("Index out of bounds");var s=r(t,e);return i&&i.call(n,s),s}},function(t,e,i){var o=i(255);t.exports=function(t,e,i){void 0===t&&(t=0),void 0===e&&(e=null),void 0===i&&(i=1),null===e&&(e=t,t=0);for(var n=[],s=Math.max(o((e-t)/(i||1)),0),r=0;r=t.length)throw new Error("Supplied index out of bounds");return n!==i&&(t.splice(n,1),t.splice(i,0,e)),e}},function(t,e){t.exports=function(t,e){var i=t.indexOf(e);if(0this._min&&(r=n[i],r=Math.min(r,this._min)),n[i]=r,this.deltaIndex++,this.deltaIndex>s&&(this.deltaIndex=0);for(var o=0,a=0;athis.nextFpsUpdate&&(this.actualFps=.25*this.framesThisSecond+.75*this.actualFps,this.nextFpsUpdate=t+1e3,this.framesThisSecond=0),this.framesThisSecond++;var h=o/this._target;this.callback(t,o,h),this.lastTime=t},tick:function(){this.step(window.performance.now())},sleep:function(){this.running&&(this.raf.stop(),this.running=!1)},wake:function(t){this.running?this.sleep():t&&(this.startTime+=-this.lastTime+(this.lastTime=window.performance.now())),this.raf.start(this.step.bind(this),this.useRAF),this.running=!0,this.step(window.performance.now())},stop:function(){return this.running=!1,this.started=!1,this.raf.stop(),this},destroy:function(){this.stop(),this.callback=r,this.raf=null,this.game=null}});t.exports=a},function(t,e){var p=0,g=function(t,e,i,n){var s=p-n.y-n.height;t.add(i,e,n.x,s,n.width,n.height)};t.exports=function(t,e,i){var n=t.source[e];t.add("__BASE",e,0,0,n.width,n.height),p=n.height;for(var s=i.split("\n"),r=/^[ ]*(- )*(\w+)+[: ]+(.*)/,o="",a="",h={x:0,y:0,width:0,height:0},l=0;li.length-2?i.length-1:s+1],l=i[s>i.length-3?i.length-1:s+2];return e.set(u(r,o.x,a.x,h.x,l.x),u(r,o.y,a.y,h.y,l.y))},toJSON:function(){for(var t=[],e=0;ei[0]&&(s=1),i[8]>i[3*s+s]&&(s=2);var r=a[s],o=a[r];e=Math.sqrt(i[3*s+s]-i[3*r+r]-i[3*o+o]+1),h[s]=.5*e,e=.5/e,h[r]=(i[3*r+s]+i[3*s+r])*e,h[o]=(i[3*o+s]+i[3*s+o])*e,this.x=h[0],this.y=h[1],this.z=h[2],this.w=(i[3*o+r]-i[3*r+o])*e}return this}});t.exports=d},function(t,e,i){var n=i(87),s=i(278),r=i(558),o=new s,a=new r,h=new n;t.exports=function(t,e,i){return a.setAxisAngle(e,i),o.fromRotationTranslation(a,h.set(0,0,0)),t.transformMat4(o)}},function(t,e){t.exports=function(t,e){return void 0===e&&(e=1),t.x=(2*Math.random()-1)*e,t.y=(2*Math.random()-1)*e,t.z=(2*Math.random()-1)*e,t.w=(2*Math.random()-1)*e,t}},function(t,e){t.exports=function(t,e){void 0===e&&(e=1);var i=2*Math.random()*Math.PI,n=2*Math.random()-1,s=Math.sqrt(1-n*n)*e;return t.x=Math.cos(i)*s,t.y=Math.sin(i)*s,t.z=n*e,t}},function(t,e,i){var a=i(123),n=i(0),v=i(1),s=i(12),h=i(31),r=new n({initialize:function(t){this.scene=t,this.systems=t.sys,this.currentCameraId=1,this.cameras=[],this.cameraPool=[],this.main,this.baseScale=1,t.sys.events.once("boot",this.boot,this),t.sys.events.on("start",this.start,this)},boot:function(){var t=this.systems;t.settings.cameras?this.fromJSON(t.settings.cameras):this.add(),this.main=this.cameras[0],this.systems.events.once("destroy",this.destroy,this)},start:function(){this.main||this.boot();var t=this.systems.events;t.on("update",this.update,this),t.once("shutdown",this.shutdown,this)},add:function(t,e,i,n,s,r){void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=this.scene.sys.game.config.width),void 0===n&&(n=this.scene.sys.game.config.height),void 0===s&&(s=!1),void 0===r&&(r="");var o=null;return 0=t.right&&(o=1,r+=s-t.right,s=t.right);break;case 1:(r+=e)>=t.bottom&&(o=2,s-=r-t.bottom,r=t.bottom);break;case 2:(s-=e)<=t.left&&(o=3,r-=t.left-s,s=t.left);break;case 3:(r-=e)<=t.top&&(o=0,r=t.top)}return n}},function(t,e){var i={_visible:!0,visible:{get:function(){return this._visible},set:function(t){t?(this._visible=!0,this.renderFlags|=1):(this._visible=!1,this.renderFlags&=-2)}},setVisible:function(t){return this.visible=t,this}};t.exports=i},function(t,e,i){var n=i(16),r=i(64),s=i(212),o=i(211),a={_scaleX:1,_scaleY:1,_rotation:0,x:0,y:0,z:0,w:0,scaleX:{get:function(){return this._scaleX},set:function(t){this._scaleX=t,0===this._scaleX?this.renderFlags&=-5:this.renderFlags|=4}},scaleY:{get:function(){return this._scaleY},set:function(t){this._scaleY=t,0===this._scaleY?this.renderFlags&=-5:this.renderFlags|=4}},angle:{get:function(){return o(this._rotation*n.RAD_TO_DEG)},set:function(t){this.rotation=o(t)*n.DEG_TO_RAD}},rotation:{get:function(){return this._rotation},set:function(t){this._rotation=s(t)}},setPosition:function(t,e,i,n){return void 0===t&&(t=0),void 0===e&&(e=t),void 0===i&&(i=0),void 0===n&&(n=0),this.x=t,this.y=e,this.z=i,this.w=n,this},setRandomPosition:function(t,e,i,n){return void 0===t&&(t=0),void 0===e&&(e=0),void 0===i&&(i=this.scene.sys.game.config.width),void 0===n&&(n=this.scene.sys.game.config.height),this.x=t+Math.random()*i,this.y=e+Math.random()*n,this},setRotation:function(t){return void 0===t&&(t=0),this.rotation=t,this},setAngle:function(t){return void 0===t&&(t=0),this.angle=t,this},setScale:function(t,e){return void 0===t&&(t=1),void 0===e&&(e=t),this.scaleX=t,this.scaleY=e,this},setX:function(t){return void 0===t&&(t=0),this.x=t,this},setY:function(t){return void 0===t&&(t=0),this.y=t,this},setZ:function(t){return void 0===t&&(t=0),this.z=t,this},setW:function(t){return void 0===t&&(t=0),this.w=t,this},getLocalTransformMatrix:function(t){return void 0===t&&(t=new r),t.applyITRS(this.x,this.y,this._rotation,this._scaleX,this._scaleY)},getWorldTransformMatrix:function(t){void 0===t&&(t=new r);var e=this.parentContainer;if(!e)return this.getLocalTransformMatrix(t);for(var i=[];e;)i.unshift(e),e=e.parentContainer;t.loadIdentity();for(var n=i.length,s=0;s>16)+(65280&t)+((255&t)<<16)},i={_tintTL:16777215,_tintTR:16777215,_tintBL:16777215,_tintBR:16777215,clearTint:function(){return this.setTint(16777215),this},setTint:function(t,e,i,n){return void 0===t&&(t=16777215),void 0===e&&(n=i=e=t),this._tintTL=s(t),this._tintTR=s(e),this._tintBL=s(i),this._tintBR=s(n),this},tintTopLeft:{get:function(){return this._tintTL},set:function(t){this._tintTL=s(t)}},tintTopRight:{get:function(){return this._tintTR},set:function(t){this._tintTR=s(t)}},tintBottomLeft:{get:function(){return this._tintBL},set:function(t){this._tintBL=s(t)}},tintBottomRight:{get:function(){return this._tintBR},set:function(t){this._tintBR=s(t)}},tint:{set:function(t){this.setTint(t,t,t,t)}}};t.exports=i},function(t,e){var i={texture:null,frame:null,setTexture:function(t,e){return this.texture=this.scene.sys.textures.get(t),this.setFrame(e)},setFrame:function(t,e,i){return void 0===e&&(e=!0),void 0===i&&(i=!0),this.frame=this.texture.get(t),this.frame.cutWidth&&this.frame.cutHeight?this.renderFlags|=8:this.renderFlags&=-9,this._sizeComponent&&e&&this.setSizeToFrame(),this._originComponent&&i&&(this.frame.customPivot?this.setOrigin(this.frame.pivotX,this.frame.pivotY):this.updateDisplayOrigin()),this}};t.exports=i},function(t,e){var i={_sizeComponent:!0,width:0,height:0,displayWidth:{get:function(){return this.scaleX*this.frame.realWidth},set:function(t){this.scaleX=t/this.frame.realWidth}},displayHeight:{get:function(){return this.scaleY*this.frame.realHeight},set:function(t){this.scaleY=t/this.frame.realHeight}},setSizeToFrame:function(t){return void 0===t&&(t=this.frame),this.width=t.realWidth,this.height=t.realHeight,this},setSize:function(t,e){return this.width=t,this.height=e,this},setDisplaySize:function(t,e){return this.displayWidth=t,this.displayHeight=e,this}};t.exports=i},function(t,e){var i={scrollFactorX:1,scrollFactorY:1,setScrollFactor:function(t,e){return void 0===e&&(e=t),this.scrollFactorX=t,this.scrollFactorY=e,this}};t.exports=i},function(t,e,i){var n=i(59),s={_scaleMode:n.DEFAULT,scaleMode:{get:function(){return this._scaleMode},set:function(t){t!==n.LINEAR&&t!==n.NEAREST||(this._scaleMode=t)}},setScaleMode:function(t){return this.scaleMode=t,this}};t.exports=s},function(t,e){var i={_originComponent:!0,originX:.5,originY:.5,_displayOriginX:0,_displayOriginY:0,displayOriginX:{get:function(){return this._displayOriginX},set:function(t){this._displayOriginX=t,this.originX=t/this.width}},displayOriginY:{get:function(){return this._displayOriginY},set:function(t){this._displayOriginY=t,this.originY=t/this.height}},setOrigin:function(t,e){return void 0===t&&(t=.5),void 0===e&&(e=t),this.originX=t,this.originY=e,this.updateDisplayOrigin()},setOriginFromFrame:function(){return this.frame&&this.frame.customPivot?(this.originX=this.frame.pivotX,this.originY=this.frame.pivotY,this.updateDisplayOrigin()):this.setOrigin()},setDisplayOrigin:function(t,e){return void 0===t&&(t=0),void 0===e&&(e=t),this.displayOriginX=t,this.displayOriginY=e,this},updateDisplayOrigin:function(){return this._displayOriginX=Math.round(this.originX*this.width),this._displayOriginY=Math.round(this.originY*this.height),this}};t.exports=i},function(t,e){var i={matrixStack:null,currentMatrix:null,currentMatrixIndex:0,initMatrixStack:function(){return this.matrixStack=new Float32Array(6e3),this.currentMatrix=new Float32Array([1,0,0,1,0,0]),this.currentMatrixIndex=0,this},save:function(){if(this.currentMatrixIndex>=this.matrixStack.length)return this;var t=this.matrixStack,e=this.currentMatrix,i=this.currentMatrixIndex;return this.currentMatrixIndex+=6,t[i+0]=e[0],t[i+1]=e[1],t[i+2]=e[2],t[i+3]=e[3],t[i+4]=e[4],t[i+5]=e[5],this},restore:function(){if(this.currentMatrixIndex<=0)return this;this.currentMatrixIndex-=6;var t=this.matrixStack,e=this.currentMatrix,i=this.currentMatrixIndex;return e[0]=t[i+0],e[1]=t[i+1],e[2]=t[i+2],e[3]=t[i+3],e[4]=t[i+4],e[5]=t[i+5],this},loadIdentity:function(){return this.setTransform(1,0,0,1,0,0),this},transform:function(t,e,i,n,s,r){var o=this.currentMatrix,a=o[0],h=o[1],l=o[2],u=o[3],c=o[4],d=o[5];return o[0]=a*t+l*e,o[1]=h*t+u*e,o[2]=a*i+l*n,o[3]=h*i+u*n,o[4]=a*s+l*r+c,o[5]=h*s+u*r+d,this},setTransform:function(t,e,i,n,s,r){var o=this.currentMatrix;return o[0]=t,o[1]=e,o[2]=i,o[3]=n,o[4]=s,o[5]=r,this},translate:function(t,e){var i=this.currentMatrix,n=i[0],s=i[1],r=i[2],o=i[3],a=i[4],h=i[5];return i[4]=n*t+r*e+a,i[5]=s*t+o*e+h,this},scale:function(t,e){var i=this.currentMatrix,n=i[0],s=i[1],r=i[2],o=i[3];return i[0]=n*t,i[1]=s*t,i[2]=r*e,i[3]=o*e,this},rotate:function(t){var e=this.currentMatrix,i=e[0],n=e[1],s=e[2],r=e[3],o=Math.sin(t),a=Math.cos(t);return e[0]=i*a+s*o,e[1]=n*a+r*o,e[2]=i*-o+s*a,e[3]=n*-o+r*a,this}};t.exports=i},function(t,e,i){var n=i(214),s=i(213),r={mask:null,setMask:function(t){return this.mask=t,this},clearMask:function(t){return void 0===t&&(t=!1),t&&this.mask.destroy(),this.mask=null,this},createBitmapMask:function(t){return void 0===t&&this.texture&&(t=this),new n(this.scene,t)},createGeometryMask:function(t){return void 0===t&&"Graphics"===this.type&&(t=this),new s(this.scene,t)}};t.exports=r},function(t,e,i){var u=i(14),n=i(292),s=i(6),r={getCenter:function(t){return void 0===t&&(t=new s),t.x=this.x-this.displayWidth*this.originX+this.displayWidth/2,t.y=this.y-this.displayHeight*this.originY+this.displayHeight/2,t},getTopLeft:function(t,e){(t||(t=new s),void 0===e&&(e=!1),t.x=this.x-this.displayWidth*this.originX,t.y=this.y-this.displayHeight*this.originY,0!==this.rotation&&n(t,this.x,this.y,this.rotation),e&&this.parentContainer)&&this.parentContainer.getBoundsTransformMatrix().transformPoint(t.x,t.y,t);return t},getTopRight:function(t,e){(t||(t=new s),void 0===e&&(e=!1),t.x=this.x-this.displayWidth*this.originX+this.displayWidth,t.y=this.y-this.displayHeight*this.originY,0!==this.rotation&&n(t,this.x,this.y,this.rotation),e&&this.parentContainer)&&this.parentContainer.getBoundsTransformMatrix().transformPoint(t.x,t.y,t);return t},getBottomLeft:function(t,e){(t||(t=new s),void 0===e&&(e=!1),t.x=this.x-this.displayWidth*this.originX,t.y=this.y-this.displayHeight*this.originY+this.displayHeight,0!==this.rotation&&n(t,this.x,this.y,this.rotation),e&&this.parentContainer)&&this.parentContainer.getBoundsTransformMatrix().transformPoint(t.x,t.y,t);return t},getBottomRight:function(t,e){(t||(t=new s),void 0===e&&(e=!1),t.x=this.x-this.displayWidth*this.originX+this.displayWidth,t.y=this.y-this.displayHeight*this.originY+this.displayHeight,0!==this.rotation&&n(t,this.x,this.y,this.rotation),e&&this.parentContainer)&&this.parentContainer.getBoundsTransformMatrix().transformPoint(t.x,t.y,t);return t},getBounds:function(t){var e,i,n,s,r,o,a,h;if(void 0===t&&(t=new u),this.parentContainer){var l=this.parentContainer.getBoundsTransformMatrix();this.getTopLeft(t),l.transformPoint(t.x,t.y,t),e=t.x,i=t.y,this.getTopRight(t),l.transformPoint(t.x,t.y,t),n=t.x,s=t.y,this.getBottomLeft(t),l.transformPoint(t.x,t.y,t),r=t.x,o=t.y,this.getBottomRight(t),l.transformPoint(t.x,t.y,t),a=t.x,h=t.y}else this.getTopLeft(t),e=t.x,i=t.y,this.getTopRight(t),n=t.x,s=t.y,this.getBottomLeft(t),r=t.x,o=t.y,this.getBottomRight(t),a=t.x,h=t.y;return t.x=Math.min(e,n,r,a),t.y=Math.min(i,s,o,h),t.width=Math.max(e,n,r,a)-t.x,t.height=Math.max(i,s,o,h)-t.y,t}};t.exports=r},function(t,e){t.exports={flipX:!1,flipY:!1,toggleFlipX:function(){return this.flipX=!this.flipX,this},toggleFlipY:function(){return this.flipY=!this.flipY,this},setFlipX:function(t){return this.flipX=t,this},setFlipY:function(t){return this.flipY=t,this},setFlip:function(t,e){return this.flipX=t,this.flipY=e,this},resetFlip:function(){return this.flipX=!1,this.flipY=!1,this}}},function(t,e){var i={_depth:0,depth:{get:function(){return this._depth},set:function(t){this.scene.sys.queueDepthSort(),this._depth=t}},setDepth:function(t){return void 0===t&&(t=0),this.depth=t,this}};t.exports=i},function(t,e){t.exports={width:0,height:0,displayWidth:{get:function(){return this.scaleX*this.width},set:function(t){this.scaleX=t/this.width}},displayHeight:{get:function(){return this.scaleY*this.height},set:function(t){this.scaleY=t/this.height}},setSize:function(t,e){return this.width=t,this.height=e,this},setDisplaySize:function(t,e){return this.displayWidth=t,this.displayHeight=e,this}}},function(t,e,i){var n=i(51),s={_blendMode:n.NORMAL,blendMode:{get:function(){return this._blendMode},set:function(t){"string"==typeof t&&(t=n[t]),0<=(t|=0)&&(this._blendMode=t)}},setBlendMode:function(t){return this.blendMode=t,this}};t.exports=s},function(t,e,i){var s=i(23),n={_alpha:1,_alphaTL:1,_alphaTR:1,_alphaBL:1,_alphaBR:1,clearAlpha:function(){return this.setAlpha(1)},setAlpha:function(t,e,i,n){return void 0===t&&(t=1),void 0===e?this.alpha=t:(this._alphaTL=s(t,0,1),this._alphaTR=s(e,0,1),this._alphaBL=s(i,0,1),this._alphaBR=s(n,0,1)),this},alpha:{get:function(){return this._alpha},set:function(t){var e=s(t,0,1);this._alpha=e,this._alphaTL=e,this._alphaTR=e,this._alphaBL=e,0===(this._alphaBR=e)?this.renderFlags&=-3:this.renderFlags|=2}},alphaTopLeft:{get:function(){return this._alphaTL},set:function(t){var e=s(t,0,1);0!==(this._alphaTL=e)&&(this.renderFlags|=2)}},alphaTopRight:{get:function(){return this._alphaTR},set:function(t){var e=s(t,0,1);0!==(this._alphaTR=e)&&(this.renderFlags|=2)}},alphaBottomLeft:{get:function(){return this._alphaBL},set:function(t){var e=s(t,0,1);0!==(this._alphaBL=e)&&(this.renderFlags|=2)}},alphaBottomRight:{get:function(){return this._alphaBR},set:function(t){var e=s(t,0,1);0!==(this._alphaBR=e)&&(this.renderFlags|=2)}}};t.exports=n},function(t,e,i){var s=i(46),r=i(44),o=i(45),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,s(e)+i),a(t,r(e)-n),t}},function(t,e,i){var s=i(48),r=i(44),o=i(47),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,s(e)-i),a(t,r(e)-n),t}},function(t,e,i){var s=i(92),r=i(44),o=i(91),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,s(e)+i),a(t,r(e)-n),t}},function(t,e,i){var s=i(89),r=i(46),o=i(90),a=i(45);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)+i),o(t,s(e)+n),t}},function(t,e,i){var s=i(89),r=i(48),o=i(90),a=i(47);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)-i),o(t,s(e)+n),t}},function(t,e,i){var n=i(91),s=i(90);t.exports=function(t,e,i){return n(t,e),s(t,i)}},function(t,e,i){var s=i(593),r=i(92),o=i(89);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),s(t,r(e)+i,o(e)+n),t}},function(t,e,i){var s=i(50),r=i(46),o=i(49),a=i(45);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)+i),o(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(48),o=i(49),a=i(47);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)-i),o(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(92),o=i(49),a=i(91);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)+i),o(t,s(e)+n),t}},function(t,e,i){var n=i(299),r=[];r[n.BOTTOM_CENTER]=i(597),r[n.BOTTOM_LEFT]=i(596),r[n.BOTTOM_RIGHT]=i(595),r[n.CENTER]=i(594),r[n.LEFT_CENTER]=i(592),r[n.RIGHT_CENTER]=i(591),r[n.TOP_CENTER]=i(590),r[n.TOP_LEFT]=i(589),r[n.TOP_RIGHT]=i(588);t.exports=function(t,e,i,n,s){return r[i](t,e,n,s)}},function(t,e,i){t.exports={Angle:i(1007),Call:i(1006),GetFirst:i(1005),GetLast:i(1004),GridAlign:i(1003),IncAlpha:i(1002),IncX:i(1001),IncXY:i(1e3),IncY:i(999),PlaceOnCircle:i(998),PlaceOnEllipse:i(997),PlaceOnLine:i(996),PlaceOnRectangle:i(995),PlaceOnTriangle:i(994),PlayAnimation:i(993),PropertyValueInc:i(35),PropertyValueSet:i(25),RandomCircle:i(992),RandomEllipse:i(991),RandomLine:i(990),RandomRectangle:i(989),RandomTriangle:i(988),Rotate:i(987),RotateAround:i(986),RotateAroundDistance:i(985),ScaleX:i(984),ScaleXY:i(983),ScaleY:i(982),SetAlpha:i(981),SetBlendMode:i(980),SetDepth:i(979),SetHitArea:i(978),SetOrigin:i(977),SetRotation:i(976),SetScale:i(975),SetScaleX:i(974),SetScaleY:i(973),SetTint:i(972),SetVisible:i(971),SetX:i(970),SetXY:i(969),SetY:i(968),ShiftPosition:i(967),Shuffle:i(966),SmootherStep:i(965),SmoothStep:i(964),Spread:i(963),ToggleVisible:i(962),WrapInRectangle:i(961)}},function(t,e){if("function"!=typeof window.Uint32Array&&"object"!=typeof window.Uint32Array){var i=function(t){var e=new Array;window[t]=function(t){if("number"==typeof t){Array.call(this,t),this.length=t;for(var e=0;e>>0;if("function"!=typeof t)throw new TypeError;for(var n=2<=arguments.length?arguments[1]:void 0,s=0;s>>0;return n}},function(t,e,i){var p=i(636),g=i(1),v=i(104),y=i(316),m=i(66);t.exports=function(t,e){for(var i=[],n=0;n=t&&h.index<=e&&l(h,i)}n&&u(0,0,s.width,s.height,s)}}},function(t,e,i){var h=i(67),l=i(40),u=i(218);t.exports=function(t,e,i,n){void 0===e&&(e=!0),void 0===i&&(i=!0),Array.isArray(t)||(t=[t]);for(var s=0;s=n[2];if("^"===i.operator)return 0=i.number:0=n[2]:r[2]===n[2]}return t===e||"*"===t}},function(t,e,i){var n=i(1013);n.Body=i(74),n.Composite=i(221),n.World=i(674),n.Detector=i(678),n.Grid=i(1012),n.Pairs=i(1011),n.Pair=i(610),n.Query=i(1033),n.Resolver=i(1010),n.SAT=i(677),n.Constraint=i(300),n.Common=i(41),n.Engine=i(1009),n.Events=i(301),n.Sleeping=i(331),n.Plugin=i(675),n.Bodies=i(166),n.Composites=i(1016),n.Axes=i(680),n.Bounds=i(125),n.Svg=i(1031),n.Vector=i(106),n.Vertices=i(126),n.World.add=n.Composite.add,n.World.remove=n.Composite.remove,n.World.addComposite=n.Composite.addComposite,n.World.addBody=n.Composite.addBody,n.World.addConstraint=n.Composite.addConstraint,n.World.clear=n.Composite.clear,t.exports=n},function(t,e,i){var n={};t.exports=n;var x=i(126),w=i(106);!function(){n.collides=function(t,e,i){var n,s,r,o,a=!1;if(i){var h=t.parent,l=e.parent,u=h.speed*h.speed+h.angularSpeed*h.angularSpeed+l.speed*l.speed+l.angularSpeed*l.angularSpeed;a=i&&i.collided&&u<.2,o=i}else o={collided:!1,bodyA:t,bodyB:e};if(i&&a){var c=o.axisBody,d=c===t?e:t,f=[c.axes[i.axisNumber]];if(r=y(c.vertices,d.vertices,f),o.reused=!0,r.overlap<=0)return o.collided=!1,o}else{if((n=y(t.vertices,e.vertices,t.axes)).overlap<=0)return o.collided=!1,o;if((s=y(e.vertices,t.vertices,e.axes)).overlap<=0)return o.collided=!1,o;n.overlapi&&s<(r=t.bottom-i)&&(r=0),0!==r&&(t.customSeparateY?t.overlapY=r:o(t,r)),r}},function(t,e){t.exports=function(t,e){e<0?t.blocked.left=!0:0i&&s<(r=t.right-i)&&(r=0),0!==r&&(t.customSeparateX?t.overlapX=r:o(t,r)),r}},function(t,e,i){var v=i(687),y=i(685),m=i(335);t.exports=function(t,e,i,n,s,r){var o=n.left,a=n.top,h=n.right,l=n.bottom,u=i.faceLeft||i.faceRight,c=i.faceTop||i.faceBottom;if(!u&&!c)return!1;var d=0,f=0,p=0,g=1;if(e.deltaAbsX()>e.deltaAbsY()?p=-1:e.deltaAbsX()=n.PI2-i?t=e:(Math.abs(e-t)>Math.PI&&(e'),i.push(''),i.push(''),i.push(this.xhrLoader.responseText),i.push(""),i.push(""),i.push("");var n=[i.join("\n")],s=this;try{var r=new window.Blob(n,{type:"image/svg+xml;charset=utf-8"})}catch(t){return s.state=o.FILE_ERRORED,void s.onProcessComplete()}this.data=new Image,this.data.crossOrigin=this.crossOrigin,this.data.onload=function(){l.revokeObjectURL(s.data),s.onProcessComplete()},this.data.onerror=function(){l.revokeObjectURL(s.data),s.onProcessError()},l.createObjectURL(this.data,r,"image/svg+xml")},addToCache:function(){var t=this.cache.addImage(this.key,this.data);this.pendingDestroy(t)}});s.register("html",function(t,e,i,n,s){if(Array.isArray(t))for(var r=0;re.x&&t.ye.y}},function(t,e){t.exports=function(t,e){return t.x+=e.x,t.y+=e.y,t}},function(t,e){t.exports=function(t,e,i){return t.x+=e,t.y+=i,t}},function(t,e){t.exports=function(t,e,i){var n=Math.min(t.x,e),s=Math.max(t.right,e);t.x=n,t.width=s-n;var r=Math.min(t.y,i),o=Math.max(t.bottom,i);return t.y=r,t.height=o-r,t}},function(t,e){t.exports=function(t,e){var i=Math.min(t.x,e.x),n=Math.max(t.right,e.right);t.x=i,t.width=n-i;var s=Math.min(t.y,e.y),r=Math.max(t.bottom,e.bottom);return t.y=s,t.height=r-s,t}},function(t,e){t.exports=function(t,e){for(var i=t.x,n=t.right,s=t.y,r=t.bottom,o=0;on(e)?t.setSize(e.height*i,e.height):t.setSize(e.width,e.width/i),t.setPosition(e.centerX-t.width/2,e.centerY-t.height/2)}},function(t,e,i){var n=i(228);t.exports=function(t,e){var i=n(t);return ii&&(i=a.x),a.xs&&(s=a.y),a.ye.right||t.righte.bottom||t.bottome.right||t.righte.bottom||t.bottomt.right+r||it.bottom+r||st.right||e.rightt.bottom||e.bottom=i&&t.x<=n&&t.y>=s&&t.y<=r}},function(t,e){t.exports=function(t,e){var i=t.x1,n=t.y1,s=t.x2,r=t.y2,o=e.x,a=e.y,h=e.right,l=e.bottom,u=0;if(o<=i&&i<=h&&a<=n&&n<=l||o<=s&&s<=h&&a<=r&&r<=l)return!0;if(io.length&&(d=o.length);for(var f=h,p=l,g={retroFont:!0,font:a,size:i,lineHeight:n,chars:{}},v=0,y=0;y?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",TEXT_SET2:" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ",TEXT_SET3:"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",TEXT_SET4:"ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",TEXT_SET5:"ABCDEFGHIJKLMNOPQRSTUVWXYZ.,/() '!?-*:0123456789",TEXT_SET6:"ABCDEFGHIJKLMNOPQRSTUVWXYZ!?:;0123456789\"(),-.' ",TEXT_SET7:"AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW\")28FLRX-'39",TEXT_SET8:"0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ",TEXT_SET9:"ABCDEFGHIJKLMNOPQRSTUVWXYZ()-0123456789.:,'\"?!",TEXT_SET10:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",TEXT_SET11:"ABCDEFGHIJKLMNOPQRSTUVWXYZ.,\"-+!?()':;0123456789"}},function(t,e,i){var n=i(888),s=i(17),r={Parse:i(887)};r=s(!1,r,n),t.exports=r},function(t,e){t.exports={fill:function(t){var e=255&(t>>16|0),i=255&(t>>8|0),n=255&(0|t);this.renderer.setFramebuffer(this.framebuffer);var s=this.gl;return s.clearColor(e/255,i/255,n/255,1),s.clear(s.COLOR_BUFFER_BIT),this.renderer.setFramebuffer(null),this},clear:function(){this.renderer.setFramebuffer(this.framebuffer);var t=this.gl;return t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),this.renderer.setFramebuffer(null),this},draw:function(t,e,i,n){var s=t.source[e.sourceIndex].glTexture,r=(this.globalTint>>16)+(65280&this.globalTint)+((255&this.globalTint)<<16);return this.renderer.setFramebuffer(this.framebuffer),this.renderer.pipelines.TextureTintPipeline.projOrtho(0,this.renderer.pipelines.TextureTintPipeline.width,0,this.renderer.pipelines.TextureTintPipeline.height,-1e3,1e3),this.renderer.pipelines.TextureTintPipeline.drawTexture(s,i,n,r,this.globalAlpha,e.cutX,e.cutY,e.cutWidth,e.cutHeight,this.currentMatrix,null,this),this.renderer.setFramebuffer(null),this.renderer.pipelines.TextureTintPipeline.projOrtho(0,this.renderer.pipelines.TextureTintPipeline.width,this.renderer.pipelines.TextureTintPipeline.height,0,-1e3,1e3),this}}},function(t,e){t.exports={fill:function(t){var e=255&(t>>16|0),i=255&(t>>8|0),n=255&(0|t);return this.context.fillStyle="rgb("+e+","+i+","+n+")",this.context.fillRect(0,0,this.canvas.width,this.canvas.height),this},clear:function(){return this.context.save(),this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.canvas.width,this.canvas.height),this.context.restore(),this},draw:function(t,e,i,n){var s=e.canvasData,r=e.source.image,o=this.currentMatrix;return this.context.globalAlpha=this.globalAlpha,this.context.setTransform(o[0],o[1],o[2],o[3],o[4],o[5]),this.context.drawImage(r,s.sx,s.sy,s.sWidth,s.sHeight,i,n,s.dWidth,s.dHeight),this}}},function(t,e,i){var c=i(2);t.exports=function(t,e,i,n,s){if(!(c.RENDER_MASK!==e.renderFlags||0>24&255)/255;if(!(m<=0)){var x=y.frame,w=.5*x.width,b=.5*x.height,T=x.canvasData,S=-w,A=-b,C=y.x-f,M=y.y-p;g&&(C|=0,M|=0),o.globalAlpha=m,o.save(),o.translate(C,M),o.rotate(y.rotation),o.scale(y.scaleX,y.scaleY),o.drawImage(x.source.image,T.sx,T.sy,T.sWidth,T.sHeight,S,A,T.dWidth,T.dHeight),o.restore()}}o.globalAlpha=d}}o.restore()}}},function(t,e,i){var r=i(2);t.exports=function(t,e,i,n,s){0===e.emitters.length||r.RENDER_MASK!==e.renderFlags||0>16&255,g:t>>8&255,b:255&t,a:255};return 16777215>>24),e}},function(t,e){t.exports=function(e,i){void 0===i&&(i="none");return["-webkit-","-khtml-","-moz-","-ms-",""].forEach(function(t){e.style[t+"user-select"]=i}),e.style["-webkit-touch-callout"]=i,e.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",e}},function(t,e){t.exports=function(t,e){return void 0===e&&(e="none"),t.style.msTouchAction=e,t.style["ms-touch-action"]=e,t.style["touch-action"]=e,t}},function(t,e,i){t.exports={Interpolation:i(272),Pool:i(22),Smoothing:i(131),TouchAction:i(925),UserSelect:i(924)}},function(t,e){t.exports=function(t){return t.height*t.originY}},function(t,e){t.exports=function(t){return t.width*t.originX}},function(t,e,i){t.exports={CenterOn:i(593),GetBottom:i(50),GetCenterX:i(92),GetCenterY:i(89),GetLeft:i(48),GetOffsetX:i(928),GetOffsetY:i(927),GetRight:i(46),GetTop:i(44),SetBottom:i(49),SetCenterX:i(91),SetCenterY:i(90),SetLeft:i(47),SetRight:i(45),SetTop:i(43)}},function(t,e,i){var s=i(46),r=i(44),o=i(49),a=i(45);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,s(e)+i),o(t,r(e)-n),t}},function(t,e,i){var s=i(48),r=i(44),o=i(49),a=i(47);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,s(e)-i),o(t,r(e)-n),t}},function(t,e,i){var s=i(92),r=i(44),o=i(49),a=i(91);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,s(e)+i),o(t,r(e)-n),t}},function(t,e,i){var s=i(46),r=i(44),o=i(47),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,s(e)+i),a(t,r(e)-n),t}},function(t,e,i){var s=i(89),r=i(46),o=i(90),a=i(47);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)+i),o(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(46),o=i(49),a=i(47);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)+i),o(t,s(e)+n),t}},function(t,e,i){var s=i(48),r=i(44),o=i(45),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,s(e)-i),a(t,r(e)-n),t}},function(t,e,i){var s=i(89),r=i(48),o=i(90),a=i(45);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)-i),o(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(48),o=i(49),a=i(45);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),a(t,r(e)-i),o(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(46),o=i(45),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,r(e)+i),a(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(48),o=i(47),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,r(e)-i),a(t,s(e)+n),t}},function(t,e,i){var s=i(50),r=i(92),o=i(91),a=i(43);t.exports=function(t,e,i,n){return void 0===i&&(i=0),void 0===n&&(n=0),o(t,r(e)+i),a(t,s(e)+n),t}},function(t,e,i){t.exports={BottomCenter:i(941),BottomLeft:i(940),BottomRight:i(939),LeftBottom:i(938),LeftCenter:i(937),LeftTop:i(936),RightBottom:i(935),RightCenter:i(934),RightTop:i(933),TopCenter:i(932),TopLeft:i(931),TopRight:i(930)}},function(t,e,i){t.exports={BottomCenter:i(597),BottomLeft:i(596),BottomRight:i(595),Center:i(594),LeftCenter:i(592),QuickSet:i(598),RightCenter:i(591),TopCenter:i(590),TopLeft:i(589),TopRight:i(588)}},function(t,e,i){var n=i(299),s=i(17),r={In:i(943),To:i(942)};r=s(!1,r,n),t.exports=r},function(t,e,i){t.exports={Align:i(944),Bounds:i(929),Canvas:i(926),Color:i(542),Masks:i(538)}},function(t,e,i){var n=i(0),s=i(6),r=new n({initialize:function(t,e){this.active=!1,this.p0=new s(t,e)},getPoint:function(t,e){return void 0===e&&(e=new s),e.copy(this.p0)},getPointAt:function(t,e){return this.getPoint(t,e)},getResolution:function(){return 1},getLength:function(){return 0},toJSON:function(){return{type:"MoveTo",points:[this.p0.x,this.p0.y]}}});t.exports=r},function(t,e,i){var n=i(0),u=i(551),l=i(549),s=i(11),r=i(548),o=i(946),a=i(547),h=i(14),c=i(545),d=i(6),f=new n({initialize:function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.name="",this.curves=[],this.cacheLengths=[],this.autoClose=!1,this.startPoint=new d,this._tmpVec2A=new d,this._tmpVec2B=new d,"object"==typeof t?this.fromJSON(t):this.startPoint.set(t,e)},add:function(t){return this.curves.push(t),this},circleTo:function(t,e,i){return void 0===e&&(e=!1),this.ellipseTo(t,t,0,360,e,i)},closePath:function(){var t=this.curves[0].getPoint(0),e=this.curves[this.curves.length-1].getPoint(1);return t.equals(e)||this.curves.push(new r(e,t)),this},cubicBezierTo:function(t,e,i,n,s,r){var o,a,h,l=this.getEndPoint();return t instanceof d?(o=t,a=e,h=i):(o=new d(i,n),a=new d(s,r),h=new d(t,e)),this.add(new u(l,o,a,h))},quadraticBezierTo:function(t,e,i,n){var s,r,o=this.getEndPoint();return t instanceof d?(s=t,r=e):(s=new d(i,n),r=new d(t,e)),this.add(new a(o,s,r))},draw:function(t,e){for(var i=0;i=i){var r=n[s]-i,o=this.curves[s],a=o.getLength(),h=0===a?0:1-r/a;return o.getPointAt(h,e)}s++}return null},getPoints:function(t){void 0===t&&(t=12);for(var e,i=[],n=0;nthis.maxSpeedY&&(this._speedY=this.maxSpeedY)):this.down&&this.down.isDown&&(this._speedY-=this.accelY,this._speedY<-this.maxSpeedY&&(this._speedY=-this.maxSpeedY)),this.left&&this.left.isDown?(this._speedX+=this.accelX,this._speedX>this.maxSpeedX&&(this._speedX=this.maxSpeedX)):this.right&&this.right.isDown&&(this._speedX-=this.accelX,this._speedX<-this.maxSpeedX&&(this._speedX=-this.maxSpeedX)),this.zoomIn&&this.zoomIn.isDown?this._zoom=-this.zoomSpeed:this.zoomOut&&this.zoomOut.isDown?this._zoom=this.zoomSpeed:this._zoom=0,0!==this._speedX&&(e.scrollX-=this._speedX*t|0),0!==this._speedY&&(e.scrollY-=this._speedY*t|0),0!==this._zoom&&(e.zoom+=this._zoom,e.zoom<.1&&(e.zoom=.1))}},destroy:function(){this.camera=null,this.left=null,this.right=null,this.up=null,this.down=null,this.zoomIn=null,this.zoomOut=null}});t.exports=r},function(t,e,i){var n=i(0),s=i(4),r=new n({initialize:function(t){this.camera=s(t,"camera",null),this.left=s(t,"left",null),this.right=s(t,"right",null),this.up=s(t,"up",null),this.down=s(t,"down",null),this.zoomIn=s(t,"zoomIn",null),this.zoomOut=s(t,"zoomOut",null),this.zoomSpeed=s(t,"zoomSpeed",.01),this.speedX=0,this.speedY=0;var e=s(t,"speed",null);"number"==typeof e?(this.speedX=e,this.speedY=e):(this.speedX=s(t,"speed.x",0),this.speedY=s(t,"speed.y",0)),this._zoom=0,this.active=null!==this.camera},start:function(){return this.active=null!==this.camera,this},stop:function(){return this.active=!1,this},setCamera:function(t){return this.camera=t,this},update:function(t){if(this.active){void 0===t&&(t=1);var e=this.camera;this.up&&this.up.isDown?e.scrollY-=this.speedY*t|0:this.down&&this.down.isDown&&(e.scrollY+=this.speedY*t|0),this.left&&this.left.isDown?e.scrollX-=this.speedX*t|0:this.right&&this.right.isDown&&(e.scrollX+=this.speedX*t|0),this.zoomIn&&this.zoomIn.isDown?(e.zoom-=this.zoomSpeed,e.zoom<.1&&(e.zoom=.1)):this.zoomOut&&this.zoomOut.isDown&&(e.zoom+=this.zoomSpeed)}},destroy:function(){this.camera=null,this.left=null,this.right=null,this.up=null,this.down=null,this.zoomIn=null,this.zoomOut=null}});t.exports=r},function(t,e,i){t.exports={FixedKeyControl:i(958),SmoothedKeyControl:i(957)}},function(t,e,i){t.exports={Controls:i(959),Scene2D:i(566),Sprite3D:i(956)}},function(t,e,i){var r=i(39);t.exports=function(t,e,i){void 0===i&&(i=0);for(var n=0;nu.friction*u.frictionStatic*L*i&&(R=E,F=N.clamp(u.friction*P*i,-R,R));var O=X.cross(b,p),B=X.cross(T,p),D=y/(d.inverseMass+f.inverseMass+d.inverseInertia*O*O+f.inverseInertia*B*B);if(k*=D,F*=D,M<0&&M*M>Y._restingThresh*i)x.normalImpulse=0;else{var I=x.normalImpulse;x.normalImpulse=Math.min(x.normalImpulse+k,0),k=x.normalImpulse-I}if(_*_>Y._restingThreshTangent*i)x.tangentImpulse=0;else{var z=x.tangentImpulse;x.tangentImpulse=N.clamp(x.tangentImpulse+F,-R,R),F=x.tangentImpulse-z}n.x=p.x*k+g.x*F,n.y=p.y*k+g.y*F,d.isStatic||d.isSleeping||(d.positionPrev.x+=n.x*d.inverseMass,d.positionPrev.y+=n.y*d.inverseMass,d.anglePrev+=X.cross(b,n)*d.inverseInertia),f.isStatic||f.isSleeping||(f.positionPrev.x-=n.x*f.inverseMass,f.positionPrev.y-=n.y*f.inverseMass,f.anglePrev-=X.cross(T,n)*f.inverseInertia)}}}}},function(t,e,i){var n={};t.exports=n;var d=i(610),s=i(41);n.create=function(t){return s.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},t)},n.update=function(t,e,i){var n,s,r,o,a=t.list,h=t.table,l=t.collisionStart,u=t.collisionEnd,c=t.collisionActive;for(l.length=0,u.length=0,o=c.length=0;ol.bounds.max.x||f.bounds.max.yl.bounds.max.y)){var p=x(t,f);if(!f.region||p.id!==f.region.id||n){d.broadphaseTests+=1,f.region&&!n||(f.region=p);var g=m(p,f.region);for(r=g.startCol;r<=g.endCol;r++)for(o=g.startRow;o<=g.endRow;o++){a=u[h=w(r,o)];var v=r>=p.startCol&&r<=p.endCol&&o>=p.startRow&&o<=p.endRow,y=r>=f.region.startCol&&r<=f.region.endCol&&o>=f.region.startRow&&o<=f.region.endRow;!v&&y&&y&&a&&S(t,a,f),(f.region===p||v&&!y||n)&&(a||(a=b(u,h)),T(t,a,f))}f.region=p,c=!0}}}c&&(t.pairsList=A(t))},n.clear=function(t){t.buckets={},t.pairs={},t.pairsList=[]};var m=function(t,e){var i=Math.min(t.startCol,e.startCol),n=Math.max(t.endCol,e.endCol),s=Math.min(t.startRow,e.startRow),r=Math.max(t.endRow,e.endRow);return a(i,n,s,r)},x=function(t,e){var i=e.bounds,n=Math.floor(i.min.x/t.bucketWidth),s=Math.floor(i.max.x/t.bucketWidth),r=Math.floor(i.min.y/t.bucketHeight),o=Math.floor(i.max.y/t.bucketHeight);return a(n,s,r,o)},a=function(t,e,i,n){return{id:t+","+e+","+i+","+n,startCol:t,endCol:e,startRow:i,endRow:n}},w=function(t,e){return"C"+t+"R"+e},b=function(t,e){return t[e]=[]},T=function(t,e,i){for(var n=0;ni[e][0])&&(e=n);A(P(t,e-1),P(t,e),P(t,e+1))||function(t){for(var e=[],i=t.length,n=0;n!==i;n++)e.push(t.pop());for(var n=0;n!==i;n++)t[n]=e[n]}(t)}};var u=[],c=[];function r(t,e,i,n){if(n){var s=u,r=c;s[0]=e[0]-t[0],s[1]=e[1]-t[1],r[0]=i[0]-e[0],r[1]=i[1]-e[1];var o=s[0]*r[0]+s[1]*r[1],a=Math.sqrt(s[0]*s[0]+s[1]*s[1]),h=Math.sqrt(r[0]*r[0]+r[1]*r[1]);return Math.acos(o/(a*h))a.ACTIVE&&s(this,t,e))},setCollidesNever:function(t){for(var e=0;ethis.lastSlope||1this.lastSlope||1=t.pos.x+t.size.x||this.pos.x+this.size.x<=t.pos.x||this.pos.y>=t.pos.y+t.size.y||this.pos.y+this.size.y<=t.pos.y)},resetSize:function(t,e,i,n){return this.pos.x=t,this.pos.y=e,this.size.x=i,this.size.y=n,this},toJSON:function(){return{name:this.name,size:{x:this.size.x,y:this.size.y},pos:{x:this.pos.x,y:this.pos.y},vel:{x:this.vel.x,y:this.vel.y},accel:{x:this.accel.x,y:this.accel.y},friction:{x:this.friction.x,y:this.friction.y},maxVel:{x:this.maxVel.x,y:this.maxVel.y},gravityFactor:this.gravityFactor,bounciness:this.bounciness,minBounceVelocity:this.minBounceVelocity,type:this.type,checkAgainst:this.checkAgainst,collides:this.collides}},fromJSON:function(){},check:function(){},collideWith:function(t,e){this.parent&&this.parent._collideCallback&&this.parent._collideCallback.call(this.parent._callbackScope,this,t,e)},handleMovementTrace:function(){return!0},destroy:function(){this.world.remove(this),this.enabled=!1,this.world=null,this.gameObject=null,this.parent=null}});t.exports=s},,,function(t,e,i){var a=i(676),h={name:"matter-wrap",version:"0.1.4",for:"matter-js@^0.13.1",silent:!0,install:function(t){t.after("Engine.update",function(){h.Engine.update(this)})},Engine:{update:function(t){for(var e=t.world,i=a.Composite.allBodies(e),n=a.Composite.allComposites(e),s=0;se.max.x?i=e.min.x-t.max.x:t.max.xe.max.y?n=e.min.y-t.max.y:t.max.ye.minBounceVelocity?e.vel.y*=-e.bounciness:(e.standing=!0,e.vel.y=0);else{var l=(e.vel.y-i.vel.y)/2;e.vel.y=-l,i.vel.y=l,s=i.vel.x*t.delta,r=t.collisionMap.trace(e.pos.x,e.pos.y,s,-o/2,e.size.x,e.size.y),e.pos.y=r.pos.y;var u=t.collisionMap.trace(i.pos.x,i.pos.y,0,o/2,i.size.x,i.size.y);i.pos.y=u.pos.y}}},function(t,e){t.exports=function(t,e,i,n){var s=e.pos.x+e.size.x-i.pos.x;if(n){var r=e===n?i:e;n.vel.x=-n.vel.x*n.bounciness+r.vel.x;var o=t.collisionMap.trace(n.pos.x,n.pos.y,n===e?-s:s,0,n.size.x,n.size.y);n.pos.x=o.pos.x}else{var a=(e.vel.x-i.vel.x)/2;e.vel.x=-a,i.vel.x=a;var h=t.collisionMap.trace(e.pos.x,e.pos.y,-s/2,0,e.size.x,e.size.y);e.pos.x=Math.floor(h.pos.x);var l=t.collisionMap.trace(i.pos.x,i.pos.y,s/2,0,i.size.x,i.size.y);i.pos.x=Math.ceil(l.pos.x)}}},function(t,e,i){var s=i(333),r=i(1051),o=i(1050);t.exports=function(t,e,i){var n=null;e.collides===s.LITE||i.collides===s.FIXED?n=e:i.collides!==s.LITE&&e.collides!==s.FIXED||(n=i),e.last.x+e.size.x>i.last.x&&e.last.xi.last.y&&e.last.yt.minBounceVelocity?t.vel.y*=-t.bounciness:(0t.minBounceVelocity?t.vel.x*=-t.bounciness:t.vel.x=0),e.collision.slope){var i=e.collision.slope;if(0t.slopeStanding.min&&o