1 |
if (live_call()) |
2 |
return global.live_result; |
3 |
draw_set_color(c_white); |
4 |
draw_set_font(fnt_mainb); |
5 |
draw_set_halign(fa_center); |
6 |
draw_text(__view_get(e__VW.XView, 0) + 200, __view_get(e__VW.YView, 0) + 13, string_hash_to_newline("GAME CONFIG")); |
7 |
draw_set_font(fnt_battle); |
8 |
draw_set_halign(fa_left); |
9 |
var xx = __view_get(e__VW.XView, 0) + 20; |
10 |
if (position == 0) |
11 |
draw_set_color(c_yellow); |
12 |
draw_text(xx, __view_get(e__VW.YView, 0) + 44, string_hash_to_newline("Exit")); |
13 |
draw_set_color(c_white); |
14 |
draw_text(xx, __view_get(e__VW.YView, 0) + 110, string_hash_to_newline("ACCESSIBILITY")); |
15 |
if (position == 2) |
16 |
draw_set_color(c_yellow); |
17 |
draw_text(xx, __view_get(e__VW.YView, 0) + 130, string_hash_to_newline("Shake on hurt:")); |
18 |
draw_set_color(c_white); |
19 |
if (position == 3) |
20 |
draw_set_color(c_yellow); |
21 |
draw_text(xx, __view_get(e__VW.YView, 0) + 145, string_hash_to_newline("Always allow retry:")); |
22 |
draw_set_color(c_white); |
23 |
if (position == 4) |
24 |
draw_set_color(c_yellow); |
25 |
draw_text(xx, __view_get(e__VW.YView, 0) + 160, string_hash_to_newline("AUTO-SPRINT:")); |
26 |
draw_set_color(c_white); |
27 |
if (position == 5) |
28 |
draw_set_color(c_yellow); |
29 |
draw_text(xx, __view_get(e__VW.YView, 0) + 175, string_hash_to_newline(string("AUTO-FIRE toggle ({0}):", global.pause_key))); |
30 |
draw_set_color(c_white); |
31 |
if (position == 6) |
32 |
draw_set_color(c_yellow); |
33 |
draw_text(xx, __view_get(e__VW.YView, 0) + 190, string_hash_to_newline("AUTO-RHYTHM")); |
34 |
draw_set_color(c_white); |
35 |
if (position == 7) |
36 |
draw_set_color(c_yellow); |
37 |
draw_text(xx, __view_get(e__VW.YView, 0) + 205, string_hash_to_newline("EASY MODE")); |
38 |
draw_set_color(c_white); |
39 |
if (position == 1) |
40 |
draw_set_color(c_yellow); |
41 |
draw_text(xx, __view_get(e__VW.YView, 0) + 79, string_hash_to_newline("Joystick Config")); |
42 |
draw_set_color(c_white); |
43 |
draw_set_color(c_white); |
44 |
var option = ""; |
45 |
if (global.option_screenshake_toggle) |
46 |
option = "ON"; |
47 |
else |
48 |
option = "OFF"; |
49 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 130, string_hash_to_newline(option)); |
50 |
if (global.option_retry_toggle) |
51 |
option = "ON"; |
52 |
else |
53 |
option = "OFF"; |
54 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 145, string_hash_to_newline(option)); |
55 |
if (global.option_autorun) |
56 |
option = "ON"; |
57 |
else |
58 |
option = "OFF"; |
59 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 160, string_hash_to_newline(option)); |
60 |
if (global.option_autoshoot) |
61 |
option = "ON"; |
62 |
else |
63 |
option = "OFF"; |
64 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 175, string_hash_to_newline(option)); |
65 |
if (global.option_autorhythm) |
66 |
option = "ON"; |
67 |
else |
68 |
option = "OFF"; |
69 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 190, string_hash_to_newline(option)); |
70 |
if (global.option_easymode) |
71 |
option = "ON"; |
72 |
else |
73 |
option = "OFF"; |
74 |
draw_text(xx + 180, __view_get(e__VW.YView, 0) + 205, string_hash_to_newline(option)); |
75 |
|
76 |
enum e__VW |
77 |
{ |
78 |
XView, |
79 |
YView, |
80 |
WView, |
81 |
HView, |
82 |
Angle, |
83 |
HBorder, |
84 |
VBorder, |
85 |
HSpeed, |
86 |
VSpeed, |
87 |
Object, |
88 |
Visible, |
89 |
XPort, |
90 |
YPort, |
91 |
WPort, |
92 |
HPort, |
93 |
Camera, |
94 |
SurfaceID |
95 |
} |