| 1 |
depth = -room_height - 164; |
| 2 |
var game_mode = global.game_mode; |
| 3 |
var shop_name = global.shop_name; |
| 4 |
var main_shop_screen_number = global.main_shop_screen_number; |
| 5 |
if (game_mode == "customs") |
| 6 |
{ |
| 7 |
if (shop_name == "Mart-2-Go") |
| 8 |
{ |
| 9 |
message[0] = "* Hey, you gonna buy# an item or what?"; |
| 10 |
portrait_author_head[0] = spr_author_head_normal_new_shop; |
| 11 |
portrait_author_torso[0] = spr_author_torso_normal_new_shop; |
| 12 |
point[0] = 1; |
| 13 |
talk_script[0] = scr_talking_author; |
| 14 |
for (i = 0; i < array_length_1d(message); i += 1) |
| 15 |
action[i] = "Nothing"; |
| 16 |
} |
| 17 |
} |
| 18 |
else if (game_mode == "yellow") |
| 19 |
{ |
| 20 |
if (shop_name == "Honeydew Resort Geno" || shop_name == "Wild East Gunshop Geno" || shop_name == "Wild East Saloon Geno" || shop_name == "Cafe Dune Geno" || shop_name == "Hotel Shop Geno") |
| 21 |
{ |
| 22 |
message[0] = "* But nobody came."; |
| 23 |
point[0] = 1; |
| 24 |
action[0] = "Nothing"; |
| 25 |
talk_script[0] = scr_talking_normal; |
| 26 |
} |
| 27 |
else if (shop_name == "Steamworks Vendy Geno") |
| 28 |
{ |
| 29 |
message[0] = "* ..."; |
| 30 |
portrait[0] = 3325; |
| 31 |
point[0] = 1; |
| 32 |
talk_script[0] = scr_talking_vendy; |
| 33 |
for (i = 0; i < array_length_1d(message); i += 1) |
| 34 |
action[i] = "Nothing"; |
| 35 |
} |
| 36 |
} |
| 37 |
message_current = 0; |
| 38 |
message_end = 0; |
| 39 |
message_draw = ""; |
| 40 |
increase = global.text_speed; |
| 41 |
characters = 0; |
| 42 |
hold = 0; |
| 43 |
message_length = string_length(message[message_current]); |
| 44 |
script_execute(scr_generate_text_counters); |