1 |
var _xx = (puzzle_id == 2 ? 136 : 196) |
2 |
var _yy = (puzzle_id == 2 ? 50 : 70) |
3 |
if (puzzle_id == 2 && use_ja) |
4 |
_xx -= 22 |
5 |
if (room == room_dw_cyber_keyboard_puzzle_2) |
6 |
_xx += 40 |
7 |
draw_set_font(fnt_mainbig) |
8 |
draw_set_color(c_white) |
9 |
draw_text(_xx, _yy, idealString) |
10 |
draw_set_color(c_lime) |
11 |
if lost |
12 |
draw_set_color(c_red) |
13 |
if won |
14 |
draw_set_color(c_yellow) |
15 |
draw_text(_xx, (_yy + 28), currentString) |
16 |
if won |
17 |
{ |
18 |
if hacked |
19 |
imageTimer = 1 - imageTimer |
20 |
else if (imageTimer < (sprite_get_number(victorySprite) - 0.25)) |
21 |
imageTimer += 0.25 |
22 |
wincolor = c_lime |
23 |
if (victorySprite == spr_keyboard_puzzle_bluecheck) |
24 |
wincolor = c_white |
25 |
if (victorySprite != IMAGE_LOGO) |
26 |
draw_sprite_ext(victorySprite, imageTimer, monitorx, monitory, 2, 2, 0, wincolor, 1) |
27 |
if (room == room_dw_cyber_keyboard_puzzle_1) |
28 |
{ |
29 |
if instance_exists(obj_forcefield) |
30 |
{ |
31 |
with (obj_forcefield) |
32 |
instance_destroy() |
33 |
} |
34 |
global.flag[390 solved_apple_puzzle] = 1 |
35 |
} |
36 |
if (room == room_dw_cyber_keyboard_puzzle_2) |
37 |
global.flag[333 solved_agree2all] = 1 |
38 |
} |