idletimer = 0; idlefacer = 0; talkfacer = 0; talkbuffer = 0; menu = 0; submenu = 0; global.typer = 6; draw_set_color(c_white); scr_84_set_draw_font("mainbig"); talktimer = 0; cur_jewel = 0; shopcharx = 0; siner = 0; for (i = 0; i < 20; i += 1) { menuc[i] = 0; submenuc[i] = 0; } onebuffer = 0; twobuffer = 0; upbuffer = 0; downbuffer = 0; hold_up = 0; hold_down = 0; _up_pressed = 0; _down_pressed = 0; murder = 0; moff = 415; global.currentsong[0] = snd_init("cyber_shop.ogg"); global.currentsong[1] = mus_loop_ext(global.currentsong[0], 1, 1); menu = 0; menuc[0] = 0; menuc[1] = 0; menuc[2] = 0; menuc[3] = 0; menuc[4] = 0; item0pic = spr_heart; item1pic = spr_heart; item2pic = spr_heart; item3pic = spr_heart; itemtotal = 4; item[0] = 16; item[1] = 10; item[2] = 16; item[3] = 17; item[4] = 0; item[5] = 0; item[6] = 0; itemtype[0] = "item"; itemtype[1] = "armor"; itemtype[2] = "weapon"; itemtype[3] = "weapon"; itemtype[4] = "item"; itemtype[5] = "item"; itemtype[6] = "item"; shopdesc[0] = stringsetloc("Musical food#with a#crunch#Heals 80HP", "obj_shop_ch2_music_slash_Create_0_gml_79_0"); shopdesc[1] = stringsetloc("ARMOR#Made#of green wires", "obj_shop_ch2_music_slash_Create_0_gml_80_0"); shopdesc[2] = stringsetloc("WEAPON#Press hilt#to extend", "obj_shop_ch2_music_slash_Create_0_gml_81_0"); shopdesc[3] = stringsetloc("WEAPON#Make sure#to charge it", "obj_shop_ch2_music_slash_Create_0_gml_82_0"); for (i = 0; i < itemtotal; i += 1) { itematk[i] = 0; itemdef[i] = 0; itemmagic[i] = 0; canequip[i][1] = 0; canequip[i][2] = 0; canequip[i][3] = 0; if (itemtype[i] == "item") { scr_iteminfo(item[i]); shopitemname[i] = itemnameb; buyvalue[i] = value; } if (itemtype[i] == "armor") { scr_armorinfo(item[i]); shopitemname[i] = armornametemp; buyvalue[i] = value; itemdef[i] = armordftemp; canequip[i][1] = armorchar1temp; canequip[i][2] = armorchar2temp; canequip[i][3] = armorchar3temp; } if (itemtype[i] == "weapon") { scr_weaponinfo(item[i]); itematk[i] = weaponattemp; itemmagic[i] = weaponmagtemp; shopitemname[i] = weaponnametemp; canequip[i][1] = weaponchar1temp; canequip[i][2] = weaponchar2temp; canequip[i][3] = weaponchar3temp; buyvalue[i] = value; } } sell = 0; bought = 0; mainmessage = 0; minimenuy = 220; global.typer = 23; scr_84_set_draw_font("mainbig"); sidemessage = 0; selling = 0; global.msc = 0; glow = 0; shx = 130; soldo = 0; global.fe = 0; an = 0; for (i = 0; i < 3; i++) { shopcharx[i] = 0; shopchary[i] = 0; spritetalking[i] = 0; spritetalkingframe[i] = 0; spritetalkingbuffer[i] = 0; } siner = 0; startdancing = 0; everyonedance = 0; scr_miniface_init_sweet(); nothingcount = 0; selltype = "item"; selltotal = max(global.flag[64], 12); for (i = 0; i < selltotal; i++) { itemsellvalue[i] = 0; itemsellname[i] = ""; } canUseJukebox = 0; if (global.plot >= 200 || global.chapter > 2) canUseJukebox = 1; previous_song = "cyber_shop.ogg"; is_playing = true; audio_timer = 0;