1 |
global.down_key = 0 |
2 |
global.left_key = 0 |
3 |
global.right_key = 0 |
4 |
global.up_key = 0 |
5 |
global.down_keyp = 0 |
6 |
global.left_keyp = 0 |
7 |
global.right_keyp = 0 |
8 |
global.up_keyp = 0 |
9 |
global.down_pressed = 0 |
10 |
global.left_pressed = 0 |
11 |
global.up_pressed = 0 |
12 |
global.right_pressed = 0 |
13 |
global.button1 = gp_face1 |
14 |
global.button2 = gp_face2 |
15 |
global.button3 = 32772 |
16 |
global.using_gamepad = false |
17 |
ini_open("Controls.sav") |
18 |
global.button1 = ini_read_real("Controls", "Z", 32769) |
19 |
global.button2 = ini_read_real("Controls", "X", 32770) |
20 |
global.button3 = ini_read_real("Controls", "C", 32772) |
21 |
global.gamepad_deadzone = ini_read_real("Controls", "deadzone", 0.15) |
22 |
global.option_autorun = ini_read_real("Controls", "autorun", false) |
23 |
global.option_autoshoot = ini_read_real("Controls", "autoshoot", false) |
24 |
global.option_autorhythm = ini_read_real("Controls", "autorhythm", false) |
25 |
global.option_screenshake_toggle = ini_read_real("Controls", "screenshake", true) |
26 |
global.option_retry_toggle = ini_read_real("Controls", "retry", false) |
27 |
global.option_easymode = ini_read_real("Controls", "easymode", false) |
28 |
ini_close() |
29 |
display_set_gui_size(320, 240) |
30 |
surface_resize(application_surface, 1920, 1440) |
31 |
global.lvUpTreshold = 10 |
32 |
global.randomEnemy = 0 |
33 |
global.scriptedEnemy = false |
34 |
lastdir = 270 |
35 |
global.encounter = 0 |
36 |
global.cutscene = false |
37 |
global.saveroom = "Dark Ruins - Entrance" |
38 |
global.debug = false |
39 |
global.debugmove = false |
40 |
global.er = 350 |
41 |
global.tinypuzzle = 5 |
42 |
deathText = 0 |
43 |
global.pear = 0 |
44 |
global.battlecheck = 0 |
45 |
display_scale = 0 |
46 |
display_x_pos = 0 |
47 |
display_y_pos = 0 |
48 |
display_game_width = 0 |
49 |
display_game_height = 0 |
50 |
if (os_type == os_android) |
51 |
instance_create_depth(0, 0, 0, obj_phone_controls) |