| 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(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 |
var 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 |
{ |
| 50 |
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")); |
| 51 |
} |
| 52 |
else if (shop_item == "Oasis Latte") |
| 53 |
{ |
| 54 |
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")); |
| 55 |
} |
| 56 |
else if (shop_item == "Cnm. Cookie") |
| 57 |
{ |
| 58 |
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")); |
| 59 |
} |
| 60 |
else if (shop_item == "Gunpowder") |
| 61 |
{ |
| 62 |
if (global.route == 3) |
| 63 |
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 ???")); |
| 64 |
else |
| 65 |
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.")); |
| 66 |
} |
| 67 |
else if (shop_item == "Silver Ammo") |
| 68 |
{ |
| 69 |
if (global.route == 3) |
| 70 |
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")); |
| 71 |
else |
| 72 |
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!")); |
| 73 |
} |
| 74 |
else if (shop_item == "Fancy Holster") |
| 75 |
{ |
| 76 |
if (global.route == 3) |
| 77 |
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")); |
| 78 |
else |
| 79 |
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!")); |
| 80 |
} |
| 81 |
else if (shop_item == "Wild Revolver") |
| 82 |
{ |
| 83 |
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.")); |
| 84 |
} |
| 85 |
else if (shop_item == "Icewater") |
| 86 |
{ |
| 87 |
if (global.route == 3) |
| 88 |
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#")); |
| 89 |
else |
| 90 |
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!")); |
| 91 |
} |
| 92 |
else if (shop_item == "Adult Soda") |
| 93 |
{ |
| 94 |
if (global.route == 3) |
| 95 |
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 ???#")); |
| 96 |
else |
| 97 |
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.")); |
| 98 |
} |
| 99 |
else if (shop_item == "Root Beer") |
| 100 |
{ |
| 101 |
if (global.route == 3) |
| 102 |
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")); |
| 103 |
else |
| 104 |
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!")); |
| 105 |
} |
| 106 |
else if (shop_item == "Feisty Slider") |
| 107 |
{ |
| 108 |
if (global.route == 3) |
| 109 |
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")); |
| 110 |
else |
| 111 |
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!")); |
| 112 |
} |
| 113 |
else if (shop_item == "Gravity Granola") |
| 114 |
{ |
| 115 |
if (global.route == 3) |
| 116 |
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#_")); |
| 117 |
else if (global.sworks_flag[26] < 2) |
| 118 |
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.")); |
| 119 |
else |
| 120 |
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!")); |
| 121 |
} |
| 122 |
else if (shop_item == "Dihydrogen Monoxide") |
| 123 |
{ |
| 124 |
if (global.route == 3) |
| 125 |
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#_")); |
| 126 |
else if (global.sworks_flag[26] < 2) |
| 127 |
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.")); |
| 128 |
else |
| 129 |
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.\"")); |
| 130 |
} |
| 131 |
else if (shop_item == "Popato Chisps") |
| 132 |
{ |
| 133 |
if (global.route == 3) |
| 134 |
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#_")); |
| 135 |
else if (global.sworks_flag[26] < 2) |
| 136 |
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.")); |
| 137 |
else |
| 138 |
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!")); |
| 139 |
} |
| 140 |
else if (shop_item == "Safety Goggles") |
| 141 |
{ |
| 142 |
if (global.route == 3) |
| 143 |
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...")); |
| 144 |
else if (global.sworks_flag[26] < 2) |
| 145 |
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.")); |
| 146 |
else |
| 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("Acce: 9DF#Important!!!")); |
| 148 |
} |
| 149 |
else if (shop_item == "Monster Candy+") |
| 150 |
{ |
| 151 |
if (global.route == 3) |
| 152 |
{ |
| 153 |
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")); |
| 154 |
} |
| 155 |
else |
| 156 |
{ |
| 157 |
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")); |
| 158 |
draw_set_color(c_fuchsia); |
| 159 |
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! >")); |
| 160 |
draw_set_color(c_white); |
| 161 |
} |
| 162 |
} |
| 163 |
else if (shop_item == "C-B Strudel") |
| 164 |
{ |
| 165 |
if (global.route == 3) |
| 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("Heals 30HP")); |
| 167 |
else |
| 168 |
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!")); |
| 169 |
} |
| 170 |
else if (shop_item == "Floral Cupcake") |
| 171 |
{ |
| 172 |
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")); |
| 173 |
if (global.route != 3) |
| 174 |
{ |
| 175 |
draw_set_color(c_fuchsia); |
| 176 |
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 ;) >")); |
| 177 |
draw_set_color(c_white); |
| 178 |
} |
| 179 |
} |
| 180 |
else if (shop_item == "Delta Rune Patch") |
| 181 |
{ |
| 182 |
if (global.route == 3) |
| 183 |
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")); |
| 184 |
else |
| 185 |
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!.")); |
| 186 |
} |
| 187 |
} |
| 188 |
} |
| 189 |
else |
| 190 |
{ |
| 191 |
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("")); |
| 192 |
} |