| 1 |
draw_sprite_ext(spr_rotdial, 0, 169, 45, 1, 1, -stir * 6, c_white, 1); |
| 2 |
draw_set_color(c_white); |
| 3 |
ossafe_fill_rectangle(view_xview[view_current] + 16, view_yview[view_current] + 6, view_xview[view_current] + 304, view_yview[view_current] + 32); |
| 4 |
draw_set_color(c_black); |
| 5 |
ossafe_fill_rectangle(view_xview[view_current] + 19, view_yview[view_current] + 9, view_xview[view_current] + 301, view_yview[view_current] + 29); |
| 6 |
scr_setfontscr_setfontvar newfont = argument0;
if (global.language == "ja")
{
if (newfont == fnt_main)
newfont = fnt_ja_main;
if (newfont == fnt_maintext)
newfont = fnt_ja_maintext;
if (newfont == fnt_plain)
newfont = fnt_ja_plain;
}
draw_set_font(newfont); (fnt_maintext); |
| 7 |
draw_set_color(c_white); |
| 8 |
scr_drawtext_iconsscr_drawtext_iconsvar xx = argument[0];
var yy = argument[1];
var str = scr_replace_buttons_pc(argument[2]);
var icon_scale = 1;
if (argument_count >= 4)
icon_scale = argument[3];
var i = string_pos("\*", str);
while (i != 0)
{
if (i > 1)
{
var s = substr(str, 1, i - 1);
draw_text(xx, yy, s);
xx += round(string_width(s));
}
var ch = string_char_at(str, i + 2);
var sprite = scr_getbuttonsprite(ch, 0);
if (sprite != -4)
{
draw_sprite_ext(sprite, 0, xx, yy, icon_scale, icon_scale, 0, c_white, 1);
xx += ((sprite_get_width(sprite) + 1) * icon_scale);
}
str = substr(str, i + 3);
i = string_pos("\*", str);
}
if (string_length(str) > 0)
draw_text(xx, yy, str); (30, 11, * Hold \*D to turn up the heat!scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_73") ); |
| 9 |
if (obj_time.right) |
| 10 |
{ |
| 11 |
stir += 1; |
| 12 |
jingle += 1; |
| 13 |
if (jingle > 10) |
| 14 |
{ |
| 15 |
caster_play(rot, 0.5, 1); |
| 16 |
jingle = 0; |
| 17 |
} |
| 18 |
} |
| 19 |
if (obj_time.left) |
| 20 |
wrong = 1; |
| 21 |
stime += 1; |
| 22 |
if (wrong == 1 && wrongval == 0 && instance_exists(OBJ_WRITER) == 0) |
| 23 |
{ |
| 24 |
caster_set_pitch(fire, 0.8); |
| 25 |
caster_set_volume(fire, 0.55); |
| 26 |
wrongval = 1; |
| 27 |
global.msc = 0; |
| 28 |
global.facechoice = 5; |
| 29 |
global.typer = 37; |
| 30 |
global.faceemotion = 1; |
| 31 |
global.msg[0] = * Left?Delay 11 You fool!Delay 22Close Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_108") ; |
| 32 |
global.msg[1] = \E6* THIS BURNER ONLY GOES ONE WAY!!!Delay 22Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_109") ; |
| 33 |
gg = instance_create(0, 0, obj_dialoguer); |
| 34 |
gg.side = 1; |
| 35 |
} |
| 36 |
if (stir > 50 && sval == 0) |
| 37 |
{ |
| 38 |
caster_set_pitch(fire, 0.9); |
| 39 |
caster_set_volume(fire, 0.6); |
| 40 |
with (pot) |
| 41 |
event_user(0); |
| 42 |
sval += 1; |
| 43 |
} |
| 44 |
if (stir > 100 && sval == 1 && instance_exists(OBJ_WRITER) == 0) |
| 45 |
{ |
| 46 |
caster_set_pitch(fire, 1); |
| 47 |
caster_set_volume(fire, 0.66); |
| 48 |
with (pot) |
| 49 |
event_user(0); |
| 50 |
sval = 2; |
| 51 |
global.msc = 0; |
| 52 |
global.facechoice = 5; |
| 53 |
global.typer = 37; |
| 54 |
global.faceemotion = 1; |
| 55 |
global.msg[0] = * Hotter!Delay 22Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_132") ; |
| 56 |
gg = instance_create(0, 0, obj_dialoguer); |
| 57 |
gg.side = 1; |
| 58 |
} |
| 59 |
if (stir > 150 && sval == 2) |
| 60 |
{ |
| 61 |
caster_set_pitch(fire, 1.1); |
| 62 |
caster_set_volume(fire, 0.72); |
| 63 |
with (pot) |
| 64 |
event_user(0); |
| 65 |
sval += 1; |
| 66 |
} |
| 67 |
if (stir > 200 && sval == 3 && instance_exists(OBJ_WRITER) == 0) |
| 68 |
{ |
| 69 |
caster_set_pitch(fire, 1.2); |
| 70 |
caster_set_volume(fire, 0.78); |
| 71 |
with (pot) |
| 72 |
event_user(0); |
| 73 |
sval = 4; |
| 74 |
global.msc = 0; |
| 75 |
global.facechoice = 5; |
| 76 |
global.typer = 37; |
| 77 |
global.faceemotion = 1; |
| 78 |
global.msg[0] = * HOTTER,Delay 11 DARNIT!Delay 22Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_155") ; |
| 79 |
gg = instance_create(0, 0, obj_dialoguer); |
| 80 |
gg.side = 1; |
| 81 |
} |
| 82 |
if (stir > 250 && sval == 4) |
| 83 |
{ |
| 84 |
caster_set_pitch(fire, 1.3); |
| 85 |
caster_set_volume(fire, 0.83); |
| 86 |
with (pot) |
| 87 |
event_user(0); |
| 88 |
sval += 1; |
| 89 |
} |
| 90 |
if (stir > 300 && sval == 5 && instance_exists(OBJ_WRITER) == 0) |
| 91 |
{ |
| 92 |
caster_set_pitch(fire, 1.4); |
| 93 |
caster_set_volume(fire, 0.87); |
| 94 |
with (pot) |
| 95 |
event_user(0); |
| 96 |
sval = 6; |
| 97 |
global.msc = 0; |
| 98 |
global.facechoice = 5; |
| 99 |
global.typer = 37; |
| 100 |
global.faceemotion = 1; |
| 101 |
global.msg[0] = * HOTTER!!!!!!!Delay 22Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_179") ; |
| 102 |
gg = instance_create(0, 0, obj_dialoguer); |
| 103 |
gg.side = 1; |
| 104 |
} |
| 105 |
if (stir > 360 && sval < 99 && instance_exists(OBJ_WRITER) == 0) |
| 106 |
{ |
| 107 |
stir = 360; |
| 108 |
caster_stop(global.currentsong); |
| 109 |
caster_set_pitch(fire, 1.7); |
| 110 |
caster_set_volume(fire, 0.95); |
| 111 |
with (pot) |
| 112 |
event_user(0); |
| 113 |
sval = 99; |
| 114 |
global.msc = 0; |
| 115 |
global.facechoice = 5; |
| 116 |
global.typer = 37; |
| 117 |
global.faceemotion = 1; |
| 118 |
global.msg[0] = * Wait,Delay 11 that's too -Delay 11 Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_196") ; |
| 119 |
gg = instance_create(0, 0, obj_dialoguer); |
| 120 |
gg.side = 1; |
| 121 |
obj_undynedate_inside.con = 250; |
| 122 |
instance_destroy(); |
| 123 |
} |
| 124 |
if (stime > 500 && sval < 99 && instance_exists(OBJ_WRITER) == 0) |
| 125 |
{ |
| 126 |
sval = 101; |
| 127 |
global.msc = 0; |
| 128 |
global.facechoice = 5; |
| 129 |
global.typer = 37; |
| 130 |
global.faceemotion = 1; |
| 131 |
global.msg[0] = * Ugh,Delay 11 let me do it!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_211") ; |
| 132 |
gg = instance_create(0, 0, obj_dialoguer); |
| 133 |
gg.side = 1; |
| 134 |
} |
| 135 |
if (sval == 101 && instance_exists(OBJ_WRITER) == 0) |
| 136 |
{ |
| 137 |
caster_stop(global.currentsong); |
| 138 |
caster_set_pitch(fire, 1.7); |
| 139 |
caster_set_volume(fire, 0.95); |
| 140 |
sval = 102; |
| 141 |
while (pot.level < 8) |
| 142 |
{ |
| 143 |
with (pot) |
| 144 |
event_user(0); |
| 145 |
} |
| 146 |
global.msc = 0; |
| 147 |
global.facechoice = 5; |
| 148 |
global.typer = 37; |
| 149 |
global.faceemotion = 1; |
| 150 |
global.msg[0] = * See!?Delay 11 * This is how you -Delay 11Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_potheat_232") ; |
| 151 |
gg = instance_create(0, 0, obj_dialoguer); |
| 152 |
gg.side = 1; |
| 153 |
obj_undynedate_inside.con = 250; |
| 154 |
instance_destroy(); |
| 155 |
} |