1 |
var buy_shop_screen_number = global.buy_shop_screen_number |
2 |
if (buy_shop_screen_number < 5) |
3 |
shop_item = global.shop_item[buy_shop_screen_number] |
4 |
draw_set_font(fnt_battle) |
5 |
draw_set_color(c_white) |
6 |
draw_set_halign(fa_left) |
7 |
draw_set_valign(fa_top) |
8 |
if (buy_shop_screen_number < 5) |
9 |
{ |
10 |
var game_mode = global.game_mode |
11 |
if (game_mode == "yellow") |
12 |
{ |
13 |
if (shop_item == "Hndw Coffee") |
14 |
{ |
15 |
if (global.route == 3) |
16 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 14HP")) |
17 |
else |
18 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 14HP#It'll warm you#right up!")) |
19 |
} |
20 |
else if (shop_item == "Hndw Pancake") |
21 |
{ |
22 |
if (global.route == 3) |
23 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 16HP")) |
24 |
else |
25 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 16HP#Comes with#honey-syrup!")) |
26 |
} |
27 |
else if (shop_item == "G.B. Bear") |
28 |
{ |
29 |
if (global.route == 3) |
30 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 20HP")) |
31 |
else |
32 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 20HP#It's shaped#like my face!")) |
33 |
} |
34 |
else if (shop_item == "Honeydew Pin") |
35 |
{ |
36 |
var item_value = 6 |
37 |
var equip_value = script_execute(gml_Script_scr_determine_armor_modifier_defense) |
38 |
var draw_value = item_value - equip_value |
39 |
if (draw_value >= 0) |
40 |
var draw_string = "+" + string(draw_value) |
41 |
else |
42 |
draw_string = string(draw_value) |
43 |
if (global.route == 3) |
44 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 4DF")) |
45 |
else |
46 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 4DF#That would go#g-great on#your hat!")) |
47 |
} |
48 |
else if (shop_item == "Icewater") |
49 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 15HP")) |
50 |
else if (shop_item == "Oasis Latte") |
51 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 25HP")) |
52 |
else if (shop_item == "Cnm. Cookie") |
53 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 35HP")) |
54 |
else if (shop_item == "Gunpowder") |
55 |
{ |
56 |
if (global.route == 3) |
57 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals ???")) |
58 |
else |
59 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals ???#It may be#edible.")) |
60 |
} |
61 |
else if (shop_item == "Silver Ammo") |
62 |
{ |
63 |
if (global.route == 3) |
64 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Ammo: 3AT")) |
65 |
else |
66 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Ammo: 3AT#Finely#crafted!")) |
67 |
} |
68 |
else if (shop_item == "Fancy Holster") |
69 |
{ |
70 |
if (global.route == 3) |
71 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 8DF")) |
72 |
else |
73 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 8DF#Made from#leather!")) |
74 |
} |
75 |
else if (shop_item == "Wild Revolver") |
76 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("You're too#young.")) |
77 |
else if (shop_item == "Icewater") |
78 |
{ |
79 |
if (global.route == 3) |
80 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 15HP#")) |
81 |
else |
82 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 15HP#Straight from#the tap!")) |
83 |
} |
84 |
else if (shop_item == "Adult Soda") |
85 |
{ |
86 |
if (global.route == 3) |
87 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals ???#")) |
88 |
else |
89 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals ???#No way.")) |
90 |
} |
91 |
else if (shop_item == "Root Beer") |
92 |
{ |
93 |
if (global.route == 3) |
94 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 18HP")) |
95 |
else |
96 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 18HP#It's family#friendly!")) |
97 |
} |
98 |
else if (shop_item == "Feisty Slider") |
99 |
{ |
100 |
if (global.route == 3) |
101 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP")) |
102 |
else |
103 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP#A lil'#baby burger!")) |
104 |
} |
105 |
else if (shop_item == "Gravity Granola") |
106 |
{ |
107 |
if (global.route == 3) |
108 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP#_")) |
109 |
else if (global.sworks_flag[26] < 2) |
110 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP#This will#kill you.")) |
111 |
else |
112 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP#Crunchy#sustenance!")) |
113 |
} |
114 |
else if (shop_item == "Dihydrogen Monoxide") |
115 |
{ |
116 |
if (global.route == 3) |
117 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 20HP#_")) |
118 |
else if (global.sworks_flag[26] < 2) |
119 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 20HP#Unfiltered.#Dirt. Bad.")) |
120 |
else |
121 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 20HP#Also called#\"water.\"")) |
122 |
} |
123 |
else if (shop_item == "Popato Chisps") |
124 |
{ |
125 |
if (global.route == 3) |
126 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 13HP#_")) |
127 |
else if (global.sworks_flag[26] < 2) |
128 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 13HP#Tastes like#plastic.")) |
129 |
else |
130 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 13HP#Perfectly#salted!")) |
131 |
} |
132 |
else if (shop_item == "Safety Goggles") |
133 |
{ |
134 |
if (global.route == 3) |
135 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 9DF#Stop...")) |
136 |
else if (global.sworks_flag[26] < 2) |
137 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 9DF#Will blind#you.")) |
138 |
else |
139 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 9DF#Important!!!")) |
140 |
} |
141 |
else if (shop_item == "Monster Candy+") |
142 |
{ |
143 |
if (global.route == 3) |
144 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 15HP")) |
145 |
else |
146 |
{ |
147 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 15HP")) |
148 |
draw_set_color(c_fuchsia) |
149 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline(" #< Highly#addictive! >")) |
150 |
draw_set_color(c_white) |
151 |
} |
152 |
} |
153 |
else if (shop_item == "C-B Strudel") |
154 |
{ |
155 |
if (global.route == 3) |
156 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP")) |
157 |
else |
158 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 30HP#A taste fit#for a king!")) |
159 |
} |
160 |
else if (shop_item == "Floral Cupcake") |
161 |
{ |
162 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Heals 50HP")) |
163 |
if (global.route != 3) |
164 |
{ |
165 |
draw_set_color(c_fuchsia) |
166 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline(" #< Made with#extra flour ;) >")) |
167 |
draw_set_color(c_white) |
168 |
} |
169 |
} |
170 |
else if (shop_item == "Delta Rune Patch") |
171 |
{ |
172 |
if (global.route == 3) |
173 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 10DF")) |
174 |
else |
175 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("Acce: 10DF#Represent the#Underground!.")) |
176 |
} |
177 |
} |
178 |
} |
179 |
else |
180 |
draw_text((obj_item_description_screen_shop.x + item_draw_disjoint_x), (obj_item_description_screen_shop.y + item_draw_disjoint_y), string_hash_to_newline("")) |